Initial commit
This commit is contained in:
@@ -0,0 +1,7 @@
|
||||
namespace MetaCourse.Api.DTOs.UserCourses;
|
||||
|
||||
public class EnrollDto
|
||||
{
|
||||
public Guid UserId { get; set; }
|
||||
public Guid CourseId { get; set; }
|
||||
}
|
||||
@@ -0,0 +1,10 @@
|
||||
namespace MetaCourse.Api.DTOs.UserCourses;
|
||||
|
||||
public class GetEnrollmentDto
|
||||
{
|
||||
public Guid UserId { get; set; }
|
||||
public Guid CourseId { get; set; }
|
||||
public string CourseTitle { get; set; } = string.Empty;
|
||||
public DateTime EnrolledAt { get; set; }
|
||||
public DateTime? CompletedAt { get; set; }
|
||||
}
|
||||
Reference in New Issue
Block a user