17 lines
561 B
C#
17 lines
561 B
C#
using MetaCourse.Api.DTOs.Topics;
|
|
|
|
namespace MetaCourse.Api.DTOs.Courses;
|
|
|
|
public class GetCourseDetailsDto
|
|
{
|
|
public Guid Id { get; set; }
|
|
public string Title { get; set; } = string.Empty;
|
|
public string Description { get; set; } = string.Empty;
|
|
public string Status { get; set; } = string.Empty;
|
|
public string CreatorName { get; set; } = string.Empty;
|
|
public Guid CreatorId { get; set; }
|
|
public DateTime CreatedAt { get; set; }
|
|
public DateTime UpdatedAt { get; set; }
|
|
public List<GetTopicDto> Topics { get; set; } = new();
|
|
}
|