Initial commit
This commit is contained in:
@@ -0,0 +1,15 @@
|
||||
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>();
|
||||
}
|
||||
Reference in New Issue
Block a user