96 lines
3.4 KiB
C#
96 lines
3.4 KiB
C#
using Atesa.Utilitarios;
|
|
using AYA.SlnSinortModel.Sinort;
|
|
using System;
|
|
using System.Collections.Generic;
|
|
using System.Linq;
|
|
using System.Text;
|
|
using System.Threading.Tasks;
|
|
|
|
namespace AYA.SlnSinortModel.Entidades
|
|
{
|
|
public class BaseJson : AtesaJSON
|
|
{
|
|
public string CodigoRespuesta { get; set; }
|
|
public string DescripcionRespuesta { get; set; }
|
|
}
|
|
|
|
public class ProyectoNormativoJSON : BaseJson
|
|
{
|
|
public ProyectoNormativo ProyectoNormativo { get; set; }
|
|
public Convocatoria Convocado { get; set; }
|
|
public ComentariosProyecto Comentario { get; set; }
|
|
public List<ProyectoNormativo> ProyectosNormativos { get; set; }
|
|
public List<Convocatoria> ListaConvocatoria { get; set; }
|
|
public Calendario Evento { get; set; }
|
|
public List<EventosJSON> EventosJSON { get; set; }
|
|
public PlantillaEmail PlantillaEmail { get; set; }
|
|
public TareasPendientes TareasPendientes { get; set; }
|
|
public List<TareasPendientes> ListaTareasPendientes { get; set; }
|
|
}
|
|
|
|
//Ficha tecnica
|
|
public class FichaTecnicaJSON : BaseJson
|
|
{
|
|
public FichaTecnica FichaTecnica { get; set; }
|
|
public FichaTecnicaPalabraClave PalabraClave { get; set; }
|
|
public List<FichaTecnica> FichasTecnicas { get; set; }
|
|
public List<FichaTecnicaPalabraClave> ListaPalabraClave { get; set; }
|
|
public List<EventosJSON> EventosJSON { get; set; }
|
|
public TareasPendientes TareasPendientes { get; set; }
|
|
public List<TareasPendientes> ListaTareasPendientes { get; set; }
|
|
public PlantillaEmail PlantillaEmail { get; set; }
|
|
public List<Usuario> ListaParticipantes { get; set; }
|
|
public string Mensaje { get; set; }
|
|
public int? IdPalabra { get; set; }
|
|
public int? IdFichaTecnica { get; set; }
|
|
|
|
}
|
|
public class AdjuntosJSON : BaseJson
|
|
{
|
|
public List<DocumentosAdjuntos> ListaAdjuntos { get; set; }
|
|
public DocumentosAdjuntos Adjuntos { get; set; }
|
|
public string Nombre { get; set; }
|
|
public string Tipo { get; set; }
|
|
public string Id { get; set; }
|
|
public string Carpeta { get; set; }
|
|
public int? IdDocumentoAdjunto { get; set; }
|
|
|
|
}
|
|
|
|
public class NotificacionesJSON : BaseJson
|
|
{
|
|
public int TareasPendientes { get; set; }
|
|
public int GotitasNormativas { get; set; }
|
|
public string codigo { get; set; }
|
|
|
|
}
|
|
public class LoginJSON : BaseJson
|
|
{
|
|
public string Usuario { get; set; }
|
|
public string Contrasena { get; set; }
|
|
public string NombreUsuario { get; set; }
|
|
public string LoginUsuario { get; set; }
|
|
|
|
}
|
|
|
|
//se agrega el SolicitudJSON
|
|
public class SolicitudJSON : BaseJson
|
|
{
|
|
public Solicitud Solicitud { get; set; }
|
|
public List<Solicitud> Solicitudes { get; set; }
|
|
public List<EventosJSON> EventosJSON { get; set; }
|
|
public PlantillaEmail PlantillaEmail { get; set; }
|
|
public TareasPendientes TareasPendientes { get; set; }
|
|
public List<TareasPendientes> ListaTareasPendientes { get; set; }
|
|
public List<Usuario> ListaUsuariosCorreo { get; set; }
|
|
public int? IdSolicitud { get; set; }
|
|
|
|
public int? IdTipoSolicitud { get; set; }
|
|
|
|
public string UsuarioSistema { get; set; }
|
|
|
|
public string Mensaje { get; set; }
|
|
}
|
|
|
|
|
|
}
|