17 lines
592 B
C#
17 lines
592 B
C#
namespace UniVerse.Domain.Entities;
|
|
|
|
public class Course
|
|
{
|
|
public int Id { get; set; }
|
|
public string Name { get; set; } = string.Empty;
|
|
public string? Description { get; set; }
|
|
public string? ExternalId { get; set; }
|
|
public bool IsSynced { get; set; }
|
|
public DateTime CreatedAt { get; set; } = DateTime.UtcNow;
|
|
public DateTime UpdatedAt { get; set; } = DateTime.UtcNow;
|
|
|
|
// Navigation properties
|
|
public ICollection<Lecture> Lectures { get; set; } = new List<Lecture>();
|
|
public ICollection<CourseTag> CourseTags { get; set; } = new List<CourseTag>();
|
|
}
|