429 lines
14 KiB
C#
429 lines
14 KiB
C#
using System;
|
|
using System.Collections.Generic;
|
|
using System.Linq;
|
|
using System.Reflection;
|
|
using System.Web;
|
|
using ULA.Cathay.CreditoModel.CorporativoDatosRecientes;
|
|
using ULA.Cathay.CreditoModel.Credito;
|
|
using ULA.Cathay.CreditoModel.Entidades;
|
|
using Ultimus.Interfaces;
|
|
|
|
namespace ULA.Cathay.Credito.Json
|
|
{
|
|
|
|
public class UltimusJson : BaseJson
|
|
{
|
|
public string UltimusTaskUser { get; set; }
|
|
public string UltimusAssignedToUser { get; set; }
|
|
|
|
public string UltimusTaskId { get; set; }
|
|
public string UltimusUserID { get; set; }
|
|
public string UltimusProcess { get; set; }
|
|
public string UltimusStep { get; set; }
|
|
public int UltimusIncident { get; set; }
|
|
public string UltimusIpAdress { get; set; }
|
|
public string UltimusMachineName { get; set; }
|
|
public string UltimusActivityType { get; set; }
|
|
public string UltimusJobFunction { get; set; }
|
|
public string UltimusUserFullName { get; set; }
|
|
public string UltimusUserEmail { get; set; }
|
|
public string UltimusSupervisor { get; set; }
|
|
public string UltimusSupervisorFullName { get; set; }
|
|
public int Version { get; set; }
|
|
public int UltimusTaskStatus { get; set; }
|
|
public string HostResponse { get; set; }
|
|
public bool FinalizarTarea { get; set; }
|
|
public int IdSolicitud { get; set; }
|
|
public int IdSolicitudCredito { get; set; }
|
|
|
|
}
|
|
|
|
public class JsonIngresoCliete : BaseJsonMetadata
|
|
{
|
|
|
|
public string DescripcionTramite { get; set; }
|
|
public string DescripcionClasificacionCliente { get; set; }
|
|
public string DescripcionTipoCliente { get; set; }
|
|
public string DescripcionTipoIngreso { get; set; }
|
|
public string DescripcionTipoIdentificacion { get; set; }
|
|
public string DescripcionEjecutivo { get; set; }
|
|
|
|
public Solicitud Solicitud { get; set; }
|
|
public Cliente Cliente { get; set; }
|
|
public Solicitante Solicitante { get; set; }
|
|
public EmailCliente EmailCliente { get; set; }
|
|
public TelefonoCliente TelefonoCliente { get; set; }
|
|
}
|
|
|
|
public class JsonGestionesVarias
|
|
{
|
|
public int IdGestion { get; set; }
|
|
public int? IdSolicitud { get; set; }
|
|
public int? IdTipoGestion { get; set; }
|
|
public string DescripcionTipoGestion { get; set; }
|
|
public int? IdEjecutivo { get; set; }
|
|
public string NombreTipoEjecutivo { get; set; }
|
|
public string Descripcion { get; set; }
|
|
public string Etapa { get; set; }
|
|
public DateTime? Fecha { get; set; }
|
|
public string Hora { get; set; }
|
|
public string UserId { get; set; }
|
|
public DateTime FechaActual { get; set; }
|
|
public GestionesVarias GestionesVarias { get; set; }
|
|
}
|
|
|
|
public class JsonDocumentosCategoria
|
|
{
|
|
public int IdDocumentoCategoria { get; set; }
|
|
public int? IdTipoDocumento { get; set; }
|
|
public int? IdTipoCategoria { get; set; }
|
|
public int? IdTipoCliente { get; set; }
|
|
public int? IdClasificacionCliente { get; set; }
|
|
public int? IdTipoIngreso { get; set; }
|
|
public string NombreMachote { get; set; }
|
|
|
|
}
|
|
|
|
public class JsonSolicitud : UltimusJson
|
|
{
|
|
public Solicitud Solicitud { get; set; }
|
|
public TipoDocumento DetalleDocumento { get; set; }
|
|
public bool? IsRegistrarExcepHojaPendiente { get; set; }
|
|
public Solicitante Solicitante { get; set; }
|
|
public List<ListaNombreClientesJSON> ListaClientes;
|
|
public bool TieneCodeudor { get; set; }
|
|
public bool TieneFiador { get; set; }
|
|
public bool TieneAccionistas { get; set; }
|
|
public bool VBGerenciaAnalisis { get; set; }
|
|
public bool VBOficialCumplimiento { get; set; }
|
|
public Solicitante SolicitanteDocumento { get; set; }
|
|
public int? FormatoDocumento { get; set; }
|
|
public ParametrosRequestJSON ParametrosDocumentosPendientes;
|
|
public ClasificacionDocumentosAdjuntos ClasicacionEspecificaDocumentos { get; set; }
|
|
public BitacoraDocumentosIngresoCliente DocumentosIngresoCliente { get; set; }
|
|
public int? IdDecisionn { get; set; }
|
|
public string Analista { get; set; }
|
|
public bool? EliminarPeriodo { get; set; }
|
|
public int IdEmailSolicitud { get; set; }
|
|
|
|
}
|
|
|
|
public class DocumentosAdjuntosCategoriaJSON : UltimusJson
|
|
{
|
|
public List<ClasificacionDocumentosAdjuntos> ListaDocumentos { get; set; }
|
|
}
|
|
|
|
public class GestionRenovacionLineasJSON : UltimusJson
|
|
{
|
|
public GestionRenovacionLineas Gestion { get; set; }
|
|
public List<ServicioSAP.Operaciones> ListaOperaciones { get; set; }
|
|
}
|
|
|
|
public class JsonEmailSolicitud : BaseJsonMetadata
|
|
{
|
|
public List<BitacoraDocumentosCliente> ListaDocumentos { get; set; }
|
|
public List<BitacoraDocumentosFormalizacion> ListaDocumentosFormalizacion { get; set; }
|
|
public EmailSolicitud EmailSolicitudList { get; set; }
|
|
public string Password { get; set; }
|
|
public string FromEmail { get; set; }
|
|
public string NombrePlantilla { get; set; }
|
|
public string DocumentosAdjuntos { get; set; }
|
|
public int EnviarCorreo { get; set; }
|
|
|
|
}
|
|
|
|
public class ControlAprobacionJSON : UltimusJson
|
|
{
|
|
|
|
public Ejecutivo Analista { get; set; }
|
|
public BitacoraControlAprobacion Aprobacion { get; set; }
|
|
public List<Decision> ListaDeciciones { get; set; }
|
|
public List<Decision> ListaDecicionesAccionRechazo { get; set; }
|
|
public DatosGeneralesAnalisis DatosGeneralesAnalisis { get; set; }
|
|
public List<BitacoraDocumentosInformeAnalisis> ListaDocumentosInforme { get; set; }
|
|
public List<BitacoraDocumentosSeguimientoAnalisis> ListaDocumentosSeguimiento { get; set; }
|
|
|
|
}
|
|
|
|
public class ControlCumplimientoJSON : UltimusJson
|
|
{
|
|
public BitacoraValidaCumplimiento Cumplimiento { get; set; }
|
|
}
|
|
|
|
public class EjecutivoCatalogoJSON : Ejecutivo
|
|
{
|
|
public string codigo { get; set; }
|
|
public string descripcion { get; set; }
|
|
}
|
|
|
|
public class AnalisisJSON : UltimusJson
|
|
{
|
|
public DatosGeneralesAnalisis DatosGeneralesAnalisis { get; set; }
|
|
public List<BitacoraDocumentosInformeAnalisis> ListaDocumentosInforme { get; set; }
|
|
public List<BitacoraDocumentosSeguimientoAnalisis> ListaDocumentosSeguimiento { get; set; }
|
|
public bool GuardarAceptacion { get; set; }
|
|
}
|
|
|
|
public class FormalizacionJSON : UltimusJson
|
|
{
|
|
public DatosGeneralesFormalizacion DatosGeneralesFormalizacion { get; set; }
|
|
public List<CorredoraSeguros> Corredora { get; set; }
|
|
public ControlCartera ControlCartera { get; set; }
|
|
public Oferta Oferta { get; set; }
|
|
public List<OfertaFacilidades> ListaOfertaFacilidades { get; set; }
|
|
public Solicitud Solicitud { get; set; }
|
|
public bool? IsRegistrarExcepHojaPendiente { get; set; }
|
|
public List<AprobacionesComite> ListaAprobacionesComite { get; set; }
|
|
public BitacoraValidaCumplimiento BitacoraValidaCumplimiento { get; set; }
|
|
public List<ParticipantesJSON> Participantes { get; set; }
|
|
|
|
public BitacoraDocumentosCliente DetalleDocumento { get; set; }
|
|
|
|
public List <BitacoraDocumentosFormalizacion> BitacoraDocumentosFormalizacion { get; set; }
|
|
|
|
public DesembolsoDatosGenerales DesembolsoDatosGenerales { get; set; }
|
|
|
|
public string CorreoCliente { get; set; }
|
|
|
|
public Cliente Cliente { get; set; }
|
|
|
|
public List<BitacoraControl> BitacoraControl { get; set; }
|
|
|
|
}
|
|
|
|
public class SeguimientoJSON : UltimusJson
|
|
{
|
|
public DatosGeneralesSeguimiento DatosGeneralesSeguimiento { get; set; }
|
|
|
|
public ICollection<CaratulaCreditoCondicionesEspeciales> CaratulaCreditoCondicionesEspeciales { get; set; }
|
|
|
|
public ICollection<CaratulaCreditoExcepcionesPolitica> CaratulaCreditoExcepcionesPolitica { get; set; }
|
|
}
|
|
|
|
public class ParticipantesJSON
|
|
{
|
|
public int ID { get; set; }
|
|
public string NombreParticipante { get; set; }
|
|
public string Correo { get; set; }
|
|
public string Grupo { get; set; }
|
|
public string Notificacion { get; set; }
|
|
}
|
|
|
|
public class OfertaFacilidadesJSON : BaseJson
|
|
{
|
|
public int IdSolicitud { get; set; }
|
|
public List<Facilidad> Facilidades { get; set; }
|
|
|
|
public struct Facilidad
|
|
{
|
|
|
|
public int IdTipoFacilidad { get; set; }
|
|
public string Descripcion { get; set; }
|
|
public int Secuencia { get; set; }
|
|
public bool? EsEspecifico { get; set; }
|
|
}
|
|
}
|
|
|
|
public class DiasJSON
|
|
{
|
|
public DayOfWeek Dia { get; set; }
|
|
public string Nombre { get { return Dia.ToString(); } }
|
|
public int Total { get; set; }
|
|
}
|
|
|
|
public class EncabezadoCathayJson
|
|
{
|
|
public string NombreProceso { get; set; }
|
|
public int IdCliente { get; set; }
|
|
public int IdSolicitud { get; set; }
|
|
public int NumIncidente { get; set; }
|
|
public int IdProceso { get; set; }
|
|
public int? IdSolicitudProceso { get; set; }
|
|
|
|
public string IdSolicitudSAP { get; set; }
|
|
public string LineaSAP { get; set; }
|
|
public bool? EsEspecifico { get; set; }
|
|
|
|
public string NombreCliente { get; set; }
|
|
public string NumIdentificacion { get; set; }
|
|
public string DescTipoCliente { get; set; }
|
|
public string DescTipoTramite { get; set; }
|
|
|
|
public int? IdCategoria { get; set; }
|
|
public int? IdTipoTramite { get; set; }
|
|
|
|
public int? IdClasificacionCliente { get; set; }
|
|
|
|
public int? IdTipoCliente { get; set; }
|
|
|
|
public int? IdSolicitudCredito { get; set; }
|
|
|
|
public bool? AplicaCaratulaAprobacionUnica { get; set; }
|
|
|
|
public int? IdCorrigeCaratula { get; set; }
|
|
|
|
public string IdTipoFacilidad { get; set; }
|
|
|
|
public DateTime FechaSolicitud { get; set; }
|
|
|
|
public bool? EsgarantiaReal { get; set; }
|
|
|
|
|
|
|
|
}
|
|
|
|
public class GestionRenovacionJSON : BaseJson
|
|
{
|
|
public string IdLinea { get; set; }
|
|
|
|
}
|
|
|
|
public class LineaJson : BaseJson
|
|
{
|
|
public string NumeroLinea { get; set; }
|
|
}
|
|
|
|
public class VerificarCondicionesJSon : BaseJsonMetadata
|
|
{
|
|
|
|
public VerificacionFacturasContratosOrdenes VerificacionFacturasContratosOrdenes { get; set; }
|
|
public VerificacionCondiciones VerificacionCondiciones { get; set; }
|
|
|
|
}
|
|
|
|
public class EmailSolicitudJSON : EmailSolicitud
|
|
{
|
|
public string UltimusProcess { get; set; }
|
|
|
|
}
|
|
|
|
public class DecisionPorEtapaJSON : DecisionPorEtapa
|
|
{
|
|
public string codigo { get; set; }
|
|
public string descripcion { get; set; }
|
|
}
|
|
|
|
public class RazonesJSON : UltimusJson
|
|
{
|
|
public int IdDecision { get; set; }
|
|
}
|
|
|
|
public class DesembolsoJSON : UltimusJson
|
|
{
|
|
public Solicitud Solicitud { get; set; }
|
|
public ULA.Cathay.Credito.ServicioSAP.Lineas LineaCliente;
|
|
public List<ULA.Cathay.Credito.ServicioSAP.Operaciones> OperacionesCliente;
|
|
public List<Garantia> ListGaranti { get; set; }
|
|
public List<BitacoraDocumentosCliente> BitacoraDocumentosRecientesCliente { get; set; }
|
|
}
|
|
|
|
public class TipoFacilidadJSON : TipoFacilidad
|
|
{
|
|
public string codigo { get; set; }
|
|
public string descripcion { get; set; }
|
|
}
|
|
|
|
public class DocumentoJSON : UltimusJson
|
|
{
|
|
public int IdTipoDocumento { get; set; }
|
|
|
|
public int ConsecutivoPeriodo { get; set; }
|
|
|
|
public long? CodDocumentoAdjunto { get; set; }
|
|
|
|
public string RutaFisica { get; set; }
|
|
|
|
public string RutaDescarga { get; set; }
|
|
|
|
public bool RegistradoEpower { get; set; }
|
|
|
|
public string RutaEPower { get; set; }
|
|
|
|
public bool EstaPendiente { get; set; }
|
|
|
|
public TipoDocumento TipoDocumento { get; set; }
|
|
|
|
public DateTime? FechaEmision { get; set; }
|
|
|
|
public DateTime? FechaVencimiento { get; set; }
|
|
|
|
public string TipoAvaluoEpower { get; set; }
|
|
public string IdentificadorEpower { get; set; }
|
|
public string SeccionEpower { get; set; }
|
|
|
|
}
|
|
|
|
public class DocumentosEpowerJSON : UltimusJson
|
|
{
|
|
public List<DocumentoJSON> ListaDocumentos { get; set; }
|
|
|
|
public int IdSolicitud { get; set; }
|
|
|
|
public int Incident { get; set; }
|
|
|
|
public int IdProceso { get; set; }
|
|
|
|
public string CodigoCaratula { get; set; }
|
|
|
|
public DateTime? FechaAprobacionTramite { get; set; }
|
|
|
|
public Solicitante SolicitantePrincipal { get; set; }
|
|
|
|
public DocumentosAdjuntosCategoriaJSON DocumentosAdjuntosCategoriaJSON { get; set; }
|
|
|
|
}
|
|
|
|
public class UltimusValoresEsquema : UltimusJson
|
|
{
|
|
|
|
public List<ULA.Cathay.CreditoModel.Entidades.UltimusVariable> ListaVariables { get; set; }
|
|
|
|
}
|
|
|
|
public class ParamCategoriaRiesgoJSON : BaseJson
|
|
{
|
|
public ParamCategoriaRiesgo CategoriaRiesgo { get; set; }
|
|
}
|
|
|
|
public class JsonControlVisitas
|
|
{
|
|
public ControlVisitas ControlVisitas { get; set; }
|
|
public string Password { get; set; }
|
|
public string FromEmail { get; set; }
|
|
}
|
|
|
|
public class JsonCliente : UltimusJson
|
|
{
|
|
public ServicioSAP.BpResponse BpResponse { get; set; }
|
|
|
|
}
|
|
|
|
public class JsonEnviarAprobacion
|
|
{
|
|
public CaratulaCredito CaratulaCredito { get; set; }
|
|
public AprobacionesComite AprobacionesComite { get; set; }
|
|
}
|
|
|
|
public class JsonDocumentosFormalizacion
|
|
{
|
|
public int? IdTipoCategoria { get; set; }
|
|
public int? IdTipoFacilidad { get; set; }
|
|
public bool? ConGarantiaReal { get; set; }
|
|
public bool? EsLinea { get; set; }
|
|
public bool? EsEspecifico { get; set; }
|
|
public int IdProceso { get; set; }
|
|
public string Etapa { get; set; }
|
|
}
|
|
|
|
public class AsistentesJSON : UltimusJson
|
|
{
|
|
public List<Ejecutivo> DatosAsistentes { get; set; }
|
|
}
|
|
|
|
public class JsonControlvisitas
|
|
{
|
|
public Cliente Cliente { get; set; }
|
|
public List<ControlVisitas> ControlVisitas { get; set; }
|
|
}
|
|
|
|
}
|