using System.ComponentModel.DataAnnotations; namespace line_gestao_api.Models { public class ParcelamentoLine { [Key] public Guid Id { get; set; } = Guid.NewGuid(); public int? AnoRef { get; set; } // coluna "2025" (primeira coluna numérica) public int? Item { get; set; } // coluna do item (1,2,3...) [MaxLength(32)] public string? Linha { get; set; } [MaxLength(120)] public string? Cliente { get; set; } [MaxLength(32)] public string? QtParcelas { get; set; } // exemplo "06/24" public decimal? ValorCheio { get; set; } public decimal? Desconto { get; set; } public decimal? ValorComDesconto { get; set; } public DateTime CreatedAt { get; set; } = DateTime.UtcNow; public List Meses { get; set; } = new(); } }