using System.ComponentModel.DataAnnotations; namespace line_gestao_api.Models { public class MobileLine : ITenantEntity { public Guid Id { get; set; } = Guid.NewGuid(); public Guid TenantId { get; set; } public int Item { get; set; } [MaxLength(80)] public string? Conta { get; set; } [MaxLength(30)] public string? Linha { get; set; } [MaxLength(40)] public string? Chip { get; set; } [MaxLength(200)] public string? Cliente { get; set; } [MaxLength(200)] public string? Usuario { get; set; } [MaxLength(200)] public string? PlanoContrato { get; set; } public decimal? FranquiaVivo { get; set; } public decimal? ValorPlanoVivo { get; set; } public decimal? GestaoVozDados { get; set; } public decimal? Skeelo { get; set; } public decimal? VivoNewsPlus { get; set; } public decimal? VivoTravelMundo { get; set; } public decimal? VivoSync { get; set; } public decimal? VivoGestaoDispositivo { get; set; } public decimal? ValorContratoVivo { get; set; } public decimal? FranquiaLine { get; set; } public decimal? FranquiaGestao { get; set; } public decimal? LocacaoAp { get; set; } public decimal? ValorContratoLine { get; set; } public decimal? Desconto { get; set; } public decimal? Lucro { get; set; } [MaxLength(80)] public string? Status { get; set; } public DateTime? DataBloqueio { get; set; } [MaxLength(80)] public string? Skil { get; set; } [MaxLength(80)] public string? Modalidade { get; set; } [MaxLength(150)] public string? Cedente { get; set; } [MaxLength(150)] public string? Solicitante { get; set; } public DateTime? DataEntregaOpera { get; set; } public DateTime? DataEntregaCliente { get; set; } [MaxLength(50)] public string? VencConta { get; set; } [MaxLength(80)] public string? TipoDeChip { get; set; } public DateTime CreatedAt { get; set; } = DateTime.UtcNow; public DateTime UpdatedAt { get; set; } = DateTime.UtcNow; // ✅ Navegação (1 MobileLine -> N Muregs) public ICollection Muregs { get; set; } = new List(); } }