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; }
|
||||
}
|
||||
}
|
||||
18
ADSUtileriasService/Modelos/BaseModal.cs
Normal file
18
ADSUtileriasService/Modelos/BaseModal.cs
Normal file
@@ -0,0 +1,18 @@
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Linq;
|
||||
using System.Text;
|
||||
using System.Threading.Tasks;
|
||||
|
||||
namespace ADSUtileriasService.Modelos
|
||||
{
|
||||
public class BaseModal
|
||||
{
|
||||
public int ROWID { get; set; }
|
||||
public bool SincronizadoSig { get; set; }
|
||||
public int CveUsuarioUpdate { get; set; }
|
||||
public DateTime FechaUpdate { get; set; }
|
||||
public int CveUsuario { get; set; }
|
||||
public int CveEmpresa { get; set; }
|
||||
}
|
||||
}
|
||||
28
ADSUtileriasService/Modelos/Checador/Checadormodel.cs
Normal file
28
ADSUtileriasService/Modelos/Checador/Checadormodel.cs
Normal file
@@ -0,0 +1,28 @@
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Linq;
|
||||
using System.Text;
|
||||
using System.Threading.Tasks;
|
||||
|
||||
namespace ADSUtileriasService.Modelos.Checador
|
||||
{
|
||||
public class Checadormodel: BaseModal
|
||||
{
|
||||
|
||||
#region Propiedades
|
||||
public int cveChecador { get; set; }
|
||||
public string checador { get; set; }
|
||||
public int cveSubProyecto { get; set; }
|
||||
public int cveProyecto { get; set; }
|
||||
public int proyecto { get; set; }
|
||||
public int subProyecto { get; set; }
|
||||
public int cveModelo { get; set; }
|
||||
public string iPLocal { get; set; }
|
||||
public string puerto { get; set; }
|
||||
public int cveUsuario { get; set; }
|
||||
public DateTime fechaIng { get; set; }
|
||||
public string estatus { get; set; }
|
||||
|
||||
#endregion
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user