Initial commit - MetaCourse API

This commit is contained in:
2026-05-28 13:45:03 +00:00
commit 0f97b7d85c
79 changed files with 3334 additions and 0 deletions
+15
View File
@@ -0,0 +1,15 @@
namespace MetaCourse.Api.Entities;
public class User
{
public Guid Id { get; set; } = Guid.NewGuid();
public string Name { get; set; } = string.Empty;
public string Email { get; set; } = string.Empty;
public string PasswordHash { get; set; } = string.Empty;
public DateTime CreatedAt { get; set; } = DateTime.UtcNow;
public ICollection<Course> CreatedCourses { get; set; } = new List<Course>();
public ICollection<UserCourse> UserCourses { get; set; } = new List<UserCourse>();
public ICollection<UserTopicProgress> TopicProgresses { get; set; } = new List<UserTopicProgress>();
public ICollection<UserResourceProgress> ResourceProgresses { get; set; } = new List<UserResourceProgress>();
}