22 lines
1017 B
C#
22 lines
1017 B
C#
|
|
namespace GestionIntegral.Api.Dtos.Suscripciones
|
||
|
|
{
|
||
|
|
/// <summary>
|
||
|
|
/// DTO para enviar la información de una factura generada al frontend.
|
||
|
|
/// Incluye datos enriquecidos como nombres para facilitar su visualización en la UI.
|
||
|
|
/// </summary>
|
||
|
|
public class FacturaDto
|
||
|
|
{
|
||
|
|
public int IdFactura { get; set; }
|
||
|
|
public int IdSuscripcion { get; set; }
|
||
|
|
public string Periodo { get; set; } = string.Empty; // Formato "YYYY-MM"
|
||
|
|
public string FechaEmision { get; set; } = string.Empty; // Formato "yyyy-MM-dd"
|
||
|
|
public string FechaVencimiento { get; set; } = string.Empty; // Formato "yyyy-MM-dd"
|
||
|
|
public decimal ImporteFinal { get; set; }
|
||
|
|
public string Estado { get; set; } = string.Empty;
|
||
|
|
public string? NumeroFactura { get; set; }
|
||
|
|
|
||
|
|
// Datos enriquecidos para la UI, poblados por el servicio
|
||
|
|
public string NombreSuscriptor { get; set; } = string.Empty;
|
||
|
|
public string NombrePublicacion { get; set; } = string.Empty;
|
||
|
|
}
|
||
|
|
}
|