TFS_ANTIGUO/PrendarioDavivienda/SlnDavivienda_Expomovil2017/ULA.Davivienda.PrestamoAutos/json/JsonCrearOperacion.cs

164 lines
No EOL
4.6 KiB
C#

using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using ULA.Davivienda.PrendarioModel.Prendario;
namespace ULA.Davivienda.PrestamoAutos.Json
{
public class JsonCrearOperacion : BaseJsonMetadata
{
public Solicitud Solicitud { get; set; }
public string DescripcionTipoCuenta { get; set; }
public string DescripcionTipoEnvioCuenta { get; set; }
public string DescripcionFormaPago { get; set; }
public List<JsonProgramaCrediticio> JsonProgramaCrediticio { get; set; }
public HistorialDecision HistorialDecision { get; set; }
public string LineaCredito { get; set; }
public string TipoOperacion { get; set; }
}
public class JsonFechaProcesoCobis : JsonResponseBase
{
public string FechaProceso { get; set; }
}
public class JsonCuentas
{
public string Codigo { get; set; }
public string Cuenta { get; set; }
public string Moneda { get; set; }
}
public class JsonIdentificacion
{
public string co_tipo_id { get; set; }
public string co_tipo_persona { get; set; }
public string de_cedula { get; set; }
public string de_pasaporte { get; set; }
public string cedula_sugef { get; set; }
}
public class JsonCrearCuenta : BaseJsonMetadata
{
public int IdSolicitud { get; set; }
public string envioEstadoCuenta { get; set; }
public string usuario { get; set; }
public string proceso { get; set; }
public string tipoCuenta { get; set; }
public string noOperacion { get; set; }
}
public class JsonActualizarOperacionRequest
{
public int IdSolicitud { get; set; }
public int TaskStatus { get; set; }
public string ProcessName { get; set; }
public string UserId { get; set; }
}
public class JsonActualizarOperacionResponse
{
public string CodigoRespuesta { get; set; }
public string DescripcionRespuesta { get; set; }
public string NoOperacion { get; set; }
public DateTime? FechaRevisionTasa { get; set; }
public DateTime? FechaInicioPrestamo { get; set; }
public DateTime? FechaFinPrestamo { get; set; }
public DateTime? FechaRegeneracion { get; set; }
public DateTime? FechaPrimerPagoCapital { get; set; }
public DateTime? FechaPrimerPagoInteres { get; set; }
public int? NumCuotas { get; set; }
public int? PlazoEnDias { get; set; }
public int? NumeroOperacionesVigentes { get; set; }
public decimal? MontoDesembolso { get; set; }
}
public class JsonRegistrarTasaEscalonadaRequest
{
public int IdSolicitud { get; set; }
public string ProcessName { get; set; }
public string UserId { get; set; }
public string NoOperacion { get; set; }
public DateTime? FechaPrimerPago { get; set; }
public DateTime? FechaInicioPrestamo { get; set; }
}
public class JsonCrearOperacionRequest
{
public int IdSolicitud { get; set; }
public string ProcessName { get; set; }
public string UserId { get; set; }
}
public class JsonCrearOperacionResponse
{
public JsonCrearOperacionResponse()
{
Alertas = new List<string>();
}
public string CodigoRespuesta { get; set; }
public string DescripcionRespuesta { get; set; }
public List<string> Alertas { get; set; }
public string NoOperacion { get; set; }
public DateTime? FechaRevisionTasa { get; set; }
public DateTime? FechaInicioPrestamo { get; set; }
public DateTime? FechaFinPrestamo { get; set; }
public DateTime? FechaPrimerPagoCapital { get; set; }
public DateTime? FechaPrimerPagoInteres { get; set; }
public int? NumCuotas { get; set; }
public int? PlazoEnDias { get; set; }
public int? NumeroOperacionesVigentes { get; set; }
public decimal? MontoDesembolso { get; set; }
}
public class JsonEnviarCreaOperacion : JsonEnviarCotizacion
{
public JsonEnviarEmailRequest DocumentoPrenda { get; set; }
}
public class JsonEnviarEmailRequest
{
public int IdCotizacion { get; set; }
public bool IsEmailInputList { get; set; }
public bool IsEmailAgenciaList { get; set; }
public List<string> EmailsInputList { get; set; }
}
}