ProyectoGrupal/dolibarr-bff/DoliMiddlewareApi/Dtos/command/UpdateInvoiceLineDto.cs

19 lines
442 B
C#
Raw Normal View History

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; }
}