namespace Domain.Dtos.Sales
{
    public class SalesDocumentDraftValidationDto
    {
        public bool HasDetails { get; set; }
        public bool HasValidAmounts { get; set; }
        public bool HasCustomer { get; set; }
        public bool IsDraft { get; set; }
        public bool IsValid => HasDetails && HasValidAmounts && HasCustomer && IsDraft;
        public List<string> Errors { get; set; } = new();
    }
}
