16 lines
536 B
C#
16 lines
536 B
C#
namespace MetaCourse.Api.Entities;
|
|
|
|
public class Topic
|
|
{
|
|
public Guid Id { get; set; } = Guid.NewGuid();
|
|
public string Title { get; set; } = string.Empty;
|
|
public string? Description { get; set; }
|
|
public int Position { get; set; }
|
|
|
|
public Guid CourseId { get; set; }
|
|
public Course Course { get; set; } = null!;
|
|
|
|
public ICollection<TopicResource> TopicResources { get; set; } = new List<TopicResource>();
|
|
public ICollection<UserTopicProgress> UserProgresses { get; set; } = new List<UserTopicProgress>();
|
|
}
|