namespace Application.Features.Admin.Faq.Item.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 int CategoryID { get; set; }
            public required string CategoryCode { get; set; }
            public required string CategorySubject { get; set; }
            public required string Question { get; set; }
            public string? Answer { get; set; }
            public required short Order { get; set; }
            public required bool IsActive { get; set; }
            public DateTime? UpdatedAt { get; set; }
            public required DateTime CreatedAt { get; set; }
        }
    }
}