Добавил домен
This commit is contained in:
@@ -0,0 +1,16 @@
|
||||
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>();
|
||||
}
|
||||
Reference in New Issue
Block a user