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

11 lines
243 B
C#
Raw Permalink Normal View History

using System.ComponentModel.DataAnnotations;
namespace DoliMiddlewareApi.Dtos.command;
public class UpdateInvoiceStatusDto
{
[Required]
[RegularExpression("^(draft|unpaid|paid)$")]
public string Status { get; set; } = "draft";
}