agregado procesos y bd clases
This commit is contained in:
70
bdAsegasa/Extensiones/gestionesrecibos.cs
Normal file
70
bdAsegasa/Extensiones/gestionesrecibos.cs
Normal file
@@ -0,0 +1,70 @@
|
||||
using System;
|
||||
|
||||
namespace bdAsegasa.db
|
||||
{
|
||||
public partial class gestionesrecibos
|
||||
{
|
||||
public string DetalleCorreo
|
||||
{
|
||||
get
|
||||
{
|
||||
if (this.idCorreoNavigation != null)
|
||||
{
|
||||
var c = this.idCorreoNavigation;
|
||||
if (c.FechaAnulacion.HasValue)
|
||||
return $"Correo a {c.Destinatario} Anulado el {c.FechaAnulacion.Value:dd/MM/yyyy HH:mm}";
|
||||
if (c.FechaEnvio.HasValue)
|
||||
return $"Correo a {c.Destinatario} Enviado el {c.FechaEnvio.Value:dd/MM/yyyy HH:mm}";
|
||||
return $"Correo a {c.Destinatario} pendiente de envio";
|
||||
}
|
||||
return "Sin correo";
|
||||
}
|
||||
}
|
||||
|
||||
public string DetalleMensaje
|
||||
{
|
||||
get
|
||||
{
|
||||
if (this.idMensajeNavigation != null)
|
||||
{
|
||||
var m = this.idMensajeNavigation;
|
||||
if (m.FechaAnulacion.HasValue)
|
||||
return $"Mensaje a {m.Destinatario} Anulado el {m.FechaAnulacion.Value:dd/MM/yyyy HH:mm}";
|
||||
if (m.FechaEnvio.HasValue)
|
||||
return $"Mensaje a {m.Destinatario} Enviado el {m.FechaEnvio.Value:dd/MM/yyyy HH:mm}";
|
||||
return $"Mensaje a {m.Destinatario} pendiente de envio";
|
||||
}
|
||||
return "Sin Mensaje";
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
public enum TipoGestionEnum : int
|
||||
{
|
||||
AVISO_REMESA_O_COBRO_DIRECTO = 1,
|
||||
AVISO_POLIZA_DE_BAJA = 2,
|
||||
AVISO_RECIBO_DEVUELTO_BANCO = 3,
|
||||
AVISO_IMPERATIVO_LEGAL = 4,
|
||||
SOLICITUD_DATOS_DEL_ASEGURADO_AL_AGENTE = 5,
|
||||
COMUNICACIÓN_DEVOLUCIÓN_AL_AGENTE = 6,
|
||||
COMUNICACIÓN_BAJA_AL_AGENTE = 7,
|
||||
CAMBIO_CARTERA_AGENTE = 8,
|
||||
AVISO_DEFENSA_CARTERA = 9,
|
||||
DESCARGA_RECIBO_DE_CIA = 10,
|
||||
OTROS_HP = 100,
|
||||
OTROS = 101,
|
||||
COMUNICACIÓN_EMISION_RECIBO_A_LA_COMPAÑÍA = 200,
|
||||
IMPRESION_RECIBO_CIA = 300,
|
||||
IMPRESION_RECIBO_GENERICO = 301,
|
||||
AVISO_ERRONEO = 1000
|
||||
}
|
||||
|
||||
public enum FormaComunicacionEnum
|
||||
{
|
||||
NINGUNA = 0,
|
||||
POR_SMS = 1,
|
||||
POR_CARTA = 2,
|
||||
SIN_DOMICILIO_NI_TLF_VALIDO = 3,
|
||||
POR_EMAIL = 4
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user