namespace Application.Features.Api.Faq.Item.GetByCode
{
    public sealed class Response
    {
        public int Total { get; set; }
        public List<Item> List { get; set; } = [];

        public class Item
        {
            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; }
        }
    }
}