using System.Collections.Generic; using System.ComponentModel.DataAnnotations; namespace eprintServer.DTOs; public class UpdateProductCategoryRequest { [Required] [MinLength(1, ErrorMessage = "Category name must contain at least one localized value.")] public List? Name { get; set; } = new List(); public bool? Archive { get; set; } = false; }