Version OScar
This commit is contained in:
31
ADSUtileriasService/Modelos/AppSystem/Usuario.cs
Normal file
31
ADSUtileriasService/Modelos/AppSystem/Usuario.cs
Normal file
@@ -0,0 +1,31 @@
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Linq;
|
||||
using System.Text;
|
||||
using System.Threading.Tasks;
|
||||
|
||||
namespace ADSUtileriasService.Modelos.AppSystem
|
||||
{
|
||||
public class Usuario
|
||||
{
|
||||
public Usuario()
|
||||
{
|
||||
//lmodulos = new List<Modulos>();
|
||||
}
|
||||
public int CveUsuario { get; set; }
|
||||
public int CveEmpresa { get; set; }
|
||||
public int CveRol { get; set; }
|
||||
public string Rol { get; set; }
|
||||
public int Token { get; set; }
|
||||
public string UsuarioName { get; set; }
|
||||
public string Password { get; set; }
|
||||
public string Nombre { get; set; }
|
||||
public string Headerauth { get { return string.Format("Sig {0}", Helpers.Mod.Encripta(string.Format("{0}|{1}|{2:ddMMyyyy}|{2:HHmm}|{3}", CveUsuario, Token, DateTime.Now, CveEmpresa))); } }
|
||||
public List<Modulos> lmodulos { get; set; }
|
||||
}
|
||||
public class Modulos
|
||||
{
|
||||
public int CveModulo { get; set; }
|
||||
public string Modulo { get; set; }
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user