using System.Collections.Generic; using System.ComponentModel.DataAnnotations; using eprintServer.DTOs; using eprintServer.Entities; namespace eprintServer.Requests.CustomizableProduct; public class CreateCustomizableProductRequest { [Required] public List Names { get; set; } = new List(); [Required] public List Descriptions { get; set; } = new List(); [Required] [Range(0.01, double.MaxValue)] public decimal BasePrice { get; set; } [Required] public bool IsCanvasEnabled { get; set; } [Required] [Range(1, int.MaxValue)] public int MinimumOrderQuantity { get; set; } [Required] [Range(1, int.MaxValue)] public int BaseDeliveryDays { get; set; } [Required] public long CategoryId { get; set; } public QuantityPricingConfig? QuantityPricingConfig { get; set; } public decimal? UnitWeight { get; set; } public List? AllowedQuantities { get; set; } }