using System.ComponentModel.DataAnnotations; using System.Globalization; namespace DoliMiddlewareApi.Dtos.command; public class UpdateInvoiceLineDto { [StringLength(500)] public string? Description { get; set; } [Range(0.01, double.MaxValue)] public decimal? Quantity { get; set; } [Range(0, double.MaxValue)] public decimal? UnitPrice { get; set; } [Range(0, 100)] public decimal? TaxRate { get; set; } }