namespace Application.Features.Admin.Document.Search
{
    public class Response
    {
        public int Total { get; set; } = 0;
        public List<Item> List { get; set; } = [];

        public class Item
        {
            public int Num { get; set; }
            public int ID { get; set; }
            public required string Link { get; set; }
            public required string Code { get; set; }
            public required string Subject { get; set; }
            public string? Content { get; set; }
            public required char IsActive { get; set; }
            public required string Views { get; set; }
            public string? UpdatedAt { get; set; }
            public required string CreatedAt { get; set; }
        }
    }
}