namespace Application.Features.Admin.Popup.Search;

public sealed class Response
{
    public int Total { get; init; }

    public required IReadOnlyList<Row> List { get; init; }

    public sealed class Row
    {
        public int Num { get; init; }
        public int ID { get; init; }
        public int PositionID { get; init; }
        public required string PositionCode { get; init; }
        public required string PositionSubject { get; init; }
        public required string Subject { get; init; }
        public string? Link { get; init; }
        public string? StartAt { get; init; }
        public string? EndAt { get; init; }
        public short Order { get; init; }
        public bool IsActive { get; init; }
        public string? UpdatedAt { get; init; }
        public required string CreatedAt { get; init; }
    }
}