using System.ComponentModel.DataAnnotations; namespace Wonky.Entity.DTO; public class ESalesHeadCreateDto { [MaxLength(20)] public string ReferenceNumber { get; set; } = ""; [MaxLength(255)] public string OrderNote { get; set; } = ""; [Required] public bool ConditionsAccepted { get; set; } [Required] public List Lines { get; set; } = new(); }