using System.ComponentModel.DataAnnotations;
namespace GestionIntegral.Api.Dtos.Suscripciones;
public class UpdateAjusteDto
{
[Required]
public int IdEmpresa { get; set; }
public DateTime FechaAjuste { get; set; }
[RegularExpression("^(Credito|Debito)$")]
public string TipoAjuste { get; set; } = string.Empty;
[Range(0.01, 999999.99)]
public decimal Monto { get; set; }
[StringLength(250)]
public string Motivo { get; set; } = string.Empty;
}