agregado procesos y bd clases
This commit is contained in:
74
bdAsegasa/Extensiones/amortizacionrecibos.cs
Normal file
74
bdAsegasa/Extensiones/amortizacionrecibos.cs
Normal file
@@ -0,0 +1,74 @@
|
||||
using System;
|
||||
using System.Linq;
|
||||
|
||||
namespace bdAsegasa.db
|
||||
{
|
||||
public partial class amortizacionrecibos
|
||||
{
|
||||
public string Tomador
|
||||
{
|
||||
get
|
||||
{
|
||||
if (this.idReciboNavigation != null && this.idReciboNavigation.idPolizaNavigation != null)
|
||||
{
|
||||
return this.idReciboNavigation.idPolizaNavigation.RazonSocialTomadorTmp;
|
||||
}
|
||||
else
|
||||
{
|
||||
return "";
|
||||
}
|
||||
}
|
||||
}
|
||||
public string Compania
|
||||
{
|
||||
get
|
||||
{
|
||||
if (this.idReciboNavigation != null && this.idReciboNavigation.idPolizaNavigation != null && this.idReciboNavigation.idPolizaNavigation.idCompaniaNavigation != null)
|
||||
{
|
||||
return this.idReciboNavigation.idPolizaNavigation.idCompaniaNavigation.Nombre;
|
||||
}
|
||||
else
|
||||
{
|
||||
return "";
|
||||
}
|
||||
}
|
||||
}
|
||||
public string Ramo
|
||||
{
|
||||
get
|
||||
{
|
||||
if (this.idReciboNavigation != null && this.idReciboNavigation.idPolizaNavigation != null && this.idReciboNavigation.idPolizaNavigation.idRamoNavigation != null)
|
||||
{
|
||||
return this.idReciboNavigation.idPolizaNavigation.idRamoNavigation.Descripcion;
|
||||
}
|
||||
else
|
||||
{
|
||||
return "";
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
public class ve_amortizacionrecibos
|
||||
{
|
||||
public int idAmortizacion { get; set; }
|
||||
public int? idRecibo { get; set; }
|
||||
public DateOnly FechaInicioAmortizacion { get; set; }
|
||||
public DateOnly FechaFinAmortizacion { get; set; }
|
||||
public double? PorcentajeAnual { get; set; }
|
||||
public DateOnly? FechaBaja { get; set; }
|
||||
public int? idMotivoBaja { get; set; }
|
||||
public int idEmpresa { get; set; }
|
||||
public string NumeroCuenta { get; set; }
|
||||
public string Observaciones { get; set; }
|
||||
public DateOnly? FechaAlta { get; set; }
|
||||
public string CodigoRecibo { get; set; }
|
||||
public double TotalRecibo { get; set; }
|
||||
public string Ramo { get; set; }
|
||||
public string Compañía { get; set; }
|
||||
public string Tomador { get; set; }
|
||||
public string CIFTomador { get; set; }
|
||||
public string CausaBaja { get; set; }
|
||||
public string Empresa { get; set; }
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user