TFS_ANTIGUO/PrendarioDavivienda/SlnDavivienda/ULA.Davivienda.PrendarioModel/Prendario/Cotizacion.cs

180 lines
5.7 KiB
C#

namespace ULA.Davivienda.PrendarioModel.Prendario
{
using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;
using System.Data.Entity.Spatial;
[Table("Cotizacion.Cotizacion")]
public partial class Cotizacion
{
[System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Usage", "CA2214:DoNotCallOverridableMethodsInConstructors")]
public Cotizacion()
{
CondicionesTasaCotizacion = new HashSet<CondicionesTasaCotizacion>();
SegurosCotizacion = new HashSet<SegurosCotizacion>();
SegurosCotizacionDesglose = new HashSet<SegurosCotizacionDesglose>();
Solicitud = new HashSet<Solicitud>();
}
[Key]
[DatabaseGenerated(DatabaseGeneratedOption.None)]
public int IdCotizacion { get; set; }
public int? IdCampanna { get; set; }
public int? IdProgramaCrediticio { get; set; }
public int? IdAgenciaVehiculo { get; set; }
public int? IdSubAgenciaVehiculo { get; set; }
public int? IdMarcaVehiculo { get; set; }
public int? IdEstiloVehiculo { get; set; }
public int? IdUsoVehiculo { get; set; }
public int? IdMoneda { get; set; }
public int? IdTipoVehiculo { get; set; }
public bool? EsColaborador { get; set; }
public decimal? PorcComision { get; set; }
public decimal? PorcPrimaMinima { get; set; }
public int? PeriodoMesesCredito { get; set; }
public int? PeriodoMesesGracia { get; set; }
public int? IdAnnoVehiculo { get; set; }
public decimal? ValorVehiculo { get; set; }
public decimal? TipoCambio { get; set; }
public decimal? PorcPrima { get; set; }
public decimal? MontoPrima { get; set; }
public decimal? MontoComision { get; set; }
public decimal? PorcIngresoMinReq { get; set; }
public decimal? IngresoMinReqCol { get; set; }
public decimal? IngresoMInReqDol { get; set; }
public decimal? MontoPrestamo { get; set; }
public decimal? MontoPrestamoSinSeguros { get; set; }
public decimal? MontoDesembolso { get; set; }
public DateTime FeCotiza { get; set; }
public int? IdTipoIdentificacion { get; set; }
[StringLength(50)]
public string Identificacion { get; set; }
[StringLength(50)]
public string PrimerNombre { get; set; }
[StringLength(50)]
public string SegundoNombre { get; set; }
[StringLength(50)]
public string PrimerApellido { get; set; }
[StringLength(50)]
public string SegundoApellido { get; set; }
[StringLength(5)]
public string IdFuenteIngreso { get; set; }
[StringLength(50)]
public string Email { get; set; }
public int EstadoCotiza { get; set; }
public decimal? CuotaPrestamo { get; set; }
public decimal? CuotaSinSeguroPeriodo1 { get; set; }
public decimal? CuotaSinSeguroPeriodo2 { get; set; }
public decimal? CuotaSinSeguroPeriodo3 { get; set; }
public decimal? MontoTraspaso { get; set; }
public decimal? MontoConstitucionPrenda { get; set; }
public decimal? IngresoRequeridoColones { get; set; }
public decimal? IngresoRequeridoDolares { get; set; }
public bool? EsSeguroAutoManual { get; set; }
public bool? EsSeguroVidaManual { get; set; }
public bool? EsSeguroDesempleoManual { get; set; }
public bool? AplicaCompraTasa { get; set; }
public decimal? PorcCompraTasa { get; set; }
public int? IdTipoGracia { get; set; }
public bool? AplicaPolizaVehiculoGratis { get; set; }
[StringLength(500)]
public string Promocion { get; set; }
public virtual AgenciaVehiculo AgenciaVehiculo { get; set; }
public virtual SubAgenciaVehiculo SubAgenciaVehiculo { get; set; }
public virtual AnnoVehiculo AnnoVehiculo { get; set; }
public virtual Campanna Campanna { get; set; }
public virtual EstiloVehiculo EstiloVehiculo { get; set; }
public virtual MarcaVehiculo MarcaVehiculo { get; set; }
public virtual Moneda Moneda { get; set; }
public virtual TipoFuenteIngreso TipoFuenteIngreso { get; set; }
public virtual TipoGracia TipoGracia { get; set; }
public virtual TipoIdentificacion TipoIdentificacion { get; set; }
public virtual TipoVehiculo TipoVehiculo { get; set; }
public virtual UsoVehiculo UsoVehiculo { get; set; }
[System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Usage", "CA2227:CollectionPropertiesShouldBeReadOnly")]
public virtual ICollection<CondicionesTasaCotizacion> CondicionesTasaCotizacion { get; set; }
public virtual ProgramaCrediticio ProgramaCrediticio { get; set; }
public virtual EjecutivoCotizacion EjecutivoCotizacion { get; set; }
public virtual EscenarioCuotaCotizacion EscenarioCuotaCotizacion { get; set; }
[System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Usage", "CA2227:CollectionPropertiesShouldBeReadOnly")]
public virtual ICollection<SegurosCotizacion> SegurosCotizacion { get; set; }
[System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Usage", "CA2227:CollectionPropertiesShouldBeReadOnly")]
public virtual ICollection<SegurosCotizacionDesglose> SegurosCotizacionDesglose { get; set; }
[System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Usage", "CA2227:CollectionPropertiesShouldBeReadOnly")]
public virtual ICollection<Solicitud> Solicitud { get; set; }
}
}