Feat: Se añaden las capas de modelos y respositorios para el modulo de Suscripciones
This commit is contained in:
		
							
								
								
									
										18
									
								
								Backend/GestionIntegral.Api/Models/Suscripciones/Factura.cs
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										18
									
								
								Backend/GestionIntegral.Api/Models/Suscripciones/Factura.cs
									
									
									
									
									
										Normal file
									
								
							| @@ -0,0 +1,18 @@ | ||||
| namespace GestionIntegral.Api.Models.Suscripciones | ||||
| { | ||||
|     public class Factura | ||||
|     { | ||||
|         public int IdFactura { get; set; } | ||||
|         public int IdSuscripcion { get; set; } | ||||
|         public string Periodo { get; set; } = string.Empty; | ||||
|         public DateTime FechaEmision { get; set; } | ||||
|         public DateTime FechaVencimiento { get; set; } | ||||
|         public decimal ImporteBruto { get; set; } | ||||
|         public decimal DescuentoAplicado { get; set; } | ||||
|         public decimal ImporteFinal { get; set; } | ||||
|         public string Estado { get; set; } = string.Empty; | ||||
|         public string? NumeroFactura { get; set; } | ||||
|         public int? IdLoteDebito { get; set; } | ||||
|         public string? MotivoRechazo { get; set; } | ||||
|     } | ||||
| } | ||||
| @@ -0,0 +1,10 @@ | ||||
| namespace GestionIntegral.Api.Models.Suscripciones | ||||
| { | ||||
|     public class FormaPago | ||||
|     { | ||||
|         public int IdFormaPago { get; set; } | ||||
|         public string Nombre { get; set; } = string.Empty; | ||||
|         public bool RequiereCBU { get; set; } | ||||
|         public bool Activo { get; set; } | ||||
|     } | ||||
| } | ||||
| @@ -0,0 +1,13 @@ | ||||
| namespace GestionIntegral.Api.Models.Suscripciones | ||||
| { | ||||
|     public class LoteDebito | ||||
|     { | ||||
|         public int IdLoteDebito { get; set; } | ||||
|         public DateTime FechaGeneracion { get; set; } | ||||
|         public string Periodo { get; set; } = string.Empty; | ||||
|         public string NombreArchivo { get; set; } = string.Empty; | ||||
|         public decimal ImporteTotal { get; set; } | ||||
|         public int CantidadRegistros { get; set; } | ||||
|         public int IdUsuarioGeneracion { get; set; } | ||||
|     } | ||||
| } | ||||
							
								
								
									
										15
									
								
								Backend/GestionIntegral.Api/Models/Suscripciones/Pago.cs
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										15
									
								
								Backend/GestionIntegral.Api/Models/Suscripciones/Pago.cs
									
									
									
									
									
										Normal file
									
								
							| @@ -0,0 +1,15 @@ | ||||
| namespace GestionIntegral.Api.Models.Suscripciones | ||||
| { | ||||
|     public class Pago | ||||
|     { | ||||
|         public int IdPago { get; set; } | ||||
|         public int IdFactura { get; set; } | ||||
|         public DateTime FechaPago { get; set; } | ||||
|         public int IdFormaPago { get; set; } | ||||
|         public decimal Monto { get; set; } | ||||
|         public string Estado { get; set; } = string.Empty; | ||||
|         public string? Referencia { get; set; } | ||||
|         public string? Observaciones { get; set; } | ||||
|         public int IdUsuarioRegistro { get; set; } | ||||
|     } | ||||
| } | ||||
| @@ -0,0 +1,18 @@ | ||||
| namespace GestionIntegral.Api.Models.Suscripciones | ||||
| { | ||||
|     public class Suscripcion | ||||
|     { | ||||
|         public int IdSuscripcion { get; set; } | ||||
|         public int IdSuscriptor { get; set; } | ||||
|         public int IdPublicacion { get; set; } | ||||
|         public DateTime FechaInicio { get; set; } | ||||
|         public DateTime? FechaFin { get; set; } | ||||
|         public string Estado { get; set; } = string.Empty; | ||||
|         public string DiasEntrega { get; set; } = string.Empty; | ||||
|         public string? Observaciones { get; set; } | ||||
|         public int IdUsuarioAlta { get; set; } | ||||
|         public DateTime FechaAlta { get; set; } | ||||
|         public int? IdUsuarioMod { get; set; } | ||||
|         public DateTime? FechaMod { get; set; } | ||||
|     } | ||||
| } | ||||
| @@ -0,0 +1,21 @@ | ||||
| namespace GestionIntegral.Api.Models.Suscripciones | ||||
| { | ||||
|     public class Suscriptor | ||||
|     { | ||||
|         public int IdSuscriptor { get; set; } | ||||
|         public string NombreCompleto { get; set; } = string.Empty; | ||||
|         public string? Email { get; set; } | ||||
|         public string? Telefono { get; set; } | ||||
|         public string Direccion { get; set; } = string.Empty; | ||||
|         public string TipoDocumento { get; set; } = string.Empty; | ||||
|         public string NroDocumento { get; set; } = string.Empty; | ||||
|         public string? CBU { get; set; } | ||||
|         public int IdFormaPagoPreferida { get; set; } | ||||
|         public string? Observaciones { get; set; } | ||||
|         public bool Activo { get; set; } | ||||
|         public int IdUsuarioAlta { get; set; } | ||||
|         public DateTime FechaAlta { get; set; } | ||||
|         public int? IdUsuarioMod { get; set; } | ||||
|         public DateTime? FechaMod { get; set; } | ||||
|     } | ||||
| } | ||||
		Reference in New Issue
	
	Block a user