Version OScar

This commit is contained in:
Jorge Luis caudillo esparza
2026-04-24 07:54:31 -07:00
parent 8e3df951b3
commit 83acc6b4f1
3780 changed files with 7042960 additions and 0 deletions

View File

@@ -0,0 +1,18 @@
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
namespace SIGAPI.Models.Sistema.Response
{
public class ResponseCambiarEmpresa
{
public long CveToken { get; set; }
public string AccessToken { get; set; }
public string RefreshToken { get; set; }
public List<UsuarioModulo> UsuarioModulos { get; set; }
public List<UsuarioEmpresa> UsuarioEmpresas { get; set; }
public List<EmpresaFuncionalidad> EmpresaFuncionalidades { get; set; }
}
}

View File

@@ -0,0 +1,31 @@
using Newtonsoft.Json;
using SIGAPI.Models.Sistema;
using System;
using System.Collections.Generic;
using System.Collections.Specialized;
using System.Linq;
using System.Threading.Tasks;
namespace SIGAPI.Models.Request
{
public class ResponseLogin
{
public long CveUsuario { get; set; }
public string Usuario { get; set; }
public string Nombre { get; set; }
public string Correo { get; set; }
public long CveEmpresa { get; set; }
public string Empresa { get; set; }
public long CvePlataforma { get; set; }
public bool Estatus { get; set; }
public long CveRol { get; set; }
public string Rol { get; set; }
public long CveToken { get; set; }
public string AccessToken { get; set; }
public string RefreshToken { get; set; }
public List<UsuarioModulo> UsuarioModulos { get; set; }
public List<UsuarioEmpresa> UsuarioEmpresas { get; set; }
public List<EmpresaFuncionalidad> EmpresaFuncionalidades { get; set; }
}
}

View File

@@ -0,0 +1,13 @@
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
namespace SIGAPI.Models.Sistema.Response
{
public class ResponseRefreshToken
{
public string RefreshToken { get; set; }
public string AccessToken { get; set; }
}
}

View File

@@ -0,0 +1,126 @@
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
namespace SIGAPI.Models.Sistema.Response
{
public class UserModuloModel
{
public UserModuloModel()
{
this.cveModulo = -1;
}
private int cveModulo;
public int CveModulo
{
get { return cveModulo; }
set { cveModulo = value; }
}
private string modulo;
public string Modulo
{
get { return modulo; }
set { modulo = value; }
}
private string liga;
public string Liga
{
get { return liga; }
set { liga = value; }
}
private int orden;
public int Orden
{
get { return orden; }
set { orden = value; }
}
private string estilo;
public string Estilo
{
get { return estilo; }
set { estilo = value; }
}
private int cveModuloPadre;
public int CveModuloPadre
{
get { return cveModuloPadre; }
set { cveModuloPadre = value; }
}
private int isAngular;
public int IsAngular
{
get { return isAngular; }
set { isAngular = value; }
}
}
public class Menu
{
private List<ItemMenu> items;
public List<ItemMenu> Items
{
get { return items; }
set { items = value; }
}
}
public class ItemMenu
{
private string title;
public string Title
{
get { return title; }
set { title = value; }
}
private string page;
public string Page
{
get { return page; }
set { page = value; }
}
private string icon;
public string Icon
{
get { return icon; }
set { icon = value; }
}
private int isAngular;
public int IsAngular
{
get { return isAngular; }
set { isAngular = value; }
}
private List<ItemMenu> submenu;
public List<ItemMenu> Submenu
{
get { return submenu; }
set { submenu = value; }
}
// cosas que no estan en db pero se pueden usar en el front
private bool root;
public bool Root
{
get { return root; }
set { root = value; }
}
private string bullet;
public string Bullet
{
get { return bullet; }
set { bullet = value; }
}
}
}

View File

@@ -0,0 +1,13 @@
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
namespace SIGAPI.Models.Sistema.Response
{
public class UsuarioComboModel
{
public int cveUsuario { get; set; }
public string nombre { get; set; }
}
}