using UniVerse.Application.DTOs.Tags;

namespace UniVerse.Application.DTOs.Courses;

public record CourseDto(
    int Id,
    string Name,
    string? Description,
    bool IsSynced,
    List<TagDto> Tags,
    DateTime CreatedAt
);

public record CreateCourseRequest(string Name, string? Description);

public record UpdateCourseRequest(string Name, string? Description);

public record CourseFilterRequest(
    int? TagId,
    string? Search,
    bool? IsSynced,
    int Page = 1,
    int PageSize = 20
);
