194 lines
7.2 KiB
C#
194 lines
7.2 KiB
C#
namespace ULA.Cathay.CreditoModel.Credito
|
|
{
|
|
using System;
|
|
using System.Collections.Generic;
|
|
using System.ComponentModel.DataAnnotations;
|
|
using System.ComponentModel.DataAnnotations.Schema;
|
|
using System.Data.Entity.Spatial;
|
|
|
|
[Table("Global.Cliente")]
|
|
public partial class Cliente
|
|
{
|
|
[System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Usage", "CA2214:DoNotCallOverridableMethodsInConstructors")]
|
|
public Cliente()
|
|
{
|
|
BitacoraDetValidarExcepciones = new HashSet<BitacoraDetValidarExcepciones>();
|
|
BitacoraDocumentosCliente = new HashSet<BitacoraDocumentosCliente>();
|
|
BitacoraDocumentosInformeAnalisis = new HashSet<BitacoraDocumentosInformeAnalisis>();
|
|
BitacoraDocumentosSeguimientoAnalisis = new HashSet<BitacoraDocumentosSeguimientoAnalisis>();
|
|
BitacoraEncValidarExcepciones = new HashSet<BitacoraEncValidarExcepciones>();
|
|
ClasificacionDocumentosAdjuntos = new HashSet<ClasificacionDocumentosAdjuntos>();
|
|
EmailCliente = new HashSet<EmailCliente>();
|
|
Solicitante = new HashSet<Solicitante>();
|
|
TelefonoCliente = new HashSet<TelefonoCliente>();
|
|
Observacion = new HashSet<Observacion>();
|
|
}
|
|
|
|
[Key]
|
|
[DatabaseGenerated(DatabaseGeneratedOption.None)]
|
|
public int IdCliente { get; set; }
|
|
|
|
public int? IdTipoTramite { get; set; }
|
|
|
|
public int? IdClasificacionCliente { get; set; }
|
|
|
|
public int? IdTipoCliente { get; set; }
|
|
|
|
public int? IdTipoIngreso { get; set; }
|
|
|
|
public int? IdTipoIdentificacion { get; set; }
|
|
|
|
[StringLength(60)]
|
|
public string NumeroIdentificacion { 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; }
|
|
|
|
public bool? ClienteesCorporativo { get; set; }
|
|
|
|
public bool? SolicitarRequisitosBasicos { get; set; }
|
|
|
|
[StringLength(150)]
|
|
public string RazonSocial { get; set; }
|
|
|
|
[StringLength(10)]
|
|
public string CodigoBP { get; set; }
|
|
|
|
[StringLength(100)]
|
|
public string Contacto { get; set; }
|
|
|
|
[StringLength(100)]
|
|
public string Puesto { get; set; }
|
|
|
|
public int? IdEjecutivo { get; set; }
|
|
|
|
public bool? ReferenciasCIC { get; set; }
|
|
|
|
public bool? ReferenciasCIBERISK { get; set; }
|
|
|
|
public bool? ReferenciasCCSS { get; set; }
|
|
|
|
[StringLength(100)]
|
|
public string ComentariosCIC { get; set; }
|
|
|
|
[StringLength(100)]
|
|
public string ComentariosCIBERISK { get; set; }
|
|
|
|
[StringLength(100)]
|
|
public string ComentariosCCSS { get; set; }
|
|
|
|
public bool? PatronoGobierno { get; set; }
|
|
|
|
[StringLength(35)]
|
|
public string CodigoCiiu { get; set; }
|
|
|
|
[StringLength(255)]
|
|
public string DesCiiu { get; set; }
|
|
|
|
[StringLength(4)]
|
|
public string CodNivelCapacidadPago { get; set; }
|
|
|
|
[StringLength(50)]
|
|
public string DescNivelCapacidadPago { get; set; }
|
|
|
|
[StringLength(5)]
|
|
public string CodigoCategoriaRiesgo { get; set; }
|
|
|
|
[StringLength(50)]
|
|
public string CategoriaRiesgo { get; set; }
|
|
|
|
public int? CodRiesgoCambiario { get; set; }
|
|
|
|
[StringLength(50)]
|
|
public string DescRiesgoCambiario { get; set; }
|
|
|
|
[StringLength(4)]
|
|
public string CodGeneraMonedaExtrangera { get; set; }
|
|
|
|
[StringLength(50)]
|
|
public string DescGeneraMonedaExtrangera { get; set; }
|
|
|
|
public int? CodClasificacionMetodologia { get; set; }
|
|
|
|
[StringLength(50)]
|
|
public string DescClasificacionMetodologia { get; set; }
|
|
|
|
[StringLength(100)]
|
|
public string UsuarioCreador { get; set; }
|
|
|
|
public DateTime? FechaCreacion { get; set; }
|
|
|
|
[StringLength(100)]
|
|
public string UsuarioModificado { get; set; }
|
|
|
|
public DateTime? FechaModificacion { get; set; }
|
|
|
|
public bool ConsultadoBD { get; set; }
|
|
|
|
public int? IdMorosidad { get; set; }
|
|
|
|
public int? IdComportamientoPagoHistorico { get; set; }
|
|
|
|
public int? DiasAtrasoMaximoMorosidad { get; set; }
|
|
|
|
public decimal? CoberturaServicioDeuda { get; set; }
|
|
|
|
[StringLength(1000)]
|
|
public string Direccion { get; set; }
|
|
|
|
public virtual ClasificacionCliente ClasificacionCliente { get; set; }
|
|
|
|
public virtual ComportamientoPagoHistorico ComportamientoPagoHistorico { get; set; }
|
|
|
|
public virtual Ejecutivo Ejecutivo { get; set; }
|
|
|
|
public virtual Morosidad Morosidad { get; set; }
|
|
|
|
public virtual TipoCliente TipoCliente { get; set; }
|
|
|
|
public virtual TipoFuenteIngreso TipoFuenteIngreso { get; set; }
|
|
|
|
public virtual TipoIdentificacion TipoIdentificacion { get; set; }
|
|
|
|
public virtual TipoTramite TipoTramite { get; set; }
|
|
|
|
[System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Usage", "CA2227:CollectionPropertiesShouldBeReadOnly")]
|
|
public virtual ICollection<BitacoraDetValidarExcepciones> BitacoraDetValidarExcepciones { get; set; }
|
|
|
|
[System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Usage", "CA2227:CollectionPropertiesShouldBeReadOnly")]
|
|
public virtual ICollection<BitacoraDocumentosCliente> BitacoraDocumentosCliente { get; set; }
|
|
|
|
[System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Usage", "CA2227:CollectionPropertiesShouldBeReadOnly")]
|
|
public virtual ICollection<BitacoraDocumentosInformeAnalisis> BitacoraDocumentosInformeAnalisis { get; set; }
|
|
|
|
[System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Usage", "CA2227:CollectionPropertiesShouldBeReadOnly")]
|
|
public virtual ICollection<BitacoraDocumentosSeguimientoAnalisis> BitacoraDocumentosSeguimientoAnalisis { get; set; }
|
|
|
|
[System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Usage", "CA2227:CollectionPropertiesShouldBeReadOnly")]
|
|
public virtual ICollection<BitacoraEncValidarExcepciones> BitacoraEncValidarExcepciones { get; set; }
|
|
|
|
[System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Usage", "CA2227:CollectionPropertiesShouldBeReadOnly")]
|
|
public virtual ICollection<ClasificacionDocumentosAdjuntos> ClasificacionDocumentosAdjuntos { get; set; }
|
|
|
|
[System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Usage", "CA2227:CollectionPropertiesShouldBeReadOnly")]
|
|
public virtual ICollection<EmailCliente> EmailCliente { get; set; }
|
|
|
|
[System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Usage", "CA2227:CollectionPropertiesShouldBeReadOnly")]
|
|
public virtual ICollection<Solicitante> Solicitante { get; set; }
|
|
|
|
[System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Usage", "CA2227:CollectionPropertiesShouldBeReadOnly")]
|
|
public virtual ICollection<TelefonoCliente> TelefonoCliente { get; set; }
|
|
|
|
[System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Usage", "CA2227:CollectionPropertiesShouldBeReadOnly")]
|
|
public virtual ICollection<Observacion> Observacion { get; set; }
|
|
}
|
|
}
|