using System.Collections.Generic; using System.ComponentModel.DataAnnotations; namespace vendorApproverBackend.Requests { public class AddApplicationCategoryRequest { [Required] [MaxLength(255)] public string Name { get; set; } [Required] [MaxLength(255)] public string NameAr { get; set; } public List Categories { get; set; } } public class UpdateApplicationCategoryRequest { [MaxLength(255)] public string Name { get; set; } [MaxLength(255)] public string NameAr { get; set; } } public class CategoryRequest { [MaxLength(255)] public string Label { get; set; } [MaxLength(255)] public string LabelAr { get; set; } } public class UpdateCategoryByIdRequest { [MaxLength(255)] public string Label { get; set; } [MaxLength(255)] public string LabelAr { get; set; } } }