Version OScar
This commit is contained in:
18
ModelosApiborrar/Sistema/Request/RequestCambiarEmpresa.cs
Normal file
18
ModelosApiborrar/Sistema/Request/RequestCambiarEmpresa.cs
Normal file
@@ -0,0 +1,18 @@
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Linq;
|
||||
using System.Threading.Tasks;
|
||||
|
||||
namespace SIGAPI.Models.Sistema.Request
|
||||
{
|
||||
public class RequestCambiarEmpresa
|
||||
{
|
||||
public long CveEmpresa { get; set; }
|
||||
|
||||
public long CveToken { get; set; }
|
||||
|
||||
public long CveUsuario { get; set; }
|
||||
|
||||
public long CvePlataforma { get; set; }
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,22 @@
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Linq;
|
||||
using System.Threading.Tasks;
|
||||
|
||||
namespace SIGAPI.Models.RH.Request
|
||||
{
|
||||
public class RequestCultivoCuadroDetalle
|
||||
{
|
||||
#region Propiedades
|
||||
public int cveCultivoCuadro { get; set; }
|
||||
public int cveTemporada { get; set; }
|
||||
public int cveCiclo { get; set; }
|
||||
public int cveSubProyecto { get; set; }
|
||||
public int cveCultivo { get; set; }
|
||||
public int cveCuadro { get; set; }
|
||||
public int cveEmpresa { get; set; }
|
||||
|
||||
|
||||
#endregion
|
||||
}
|
||||
}
|
||||
16
ModelosApiborrar/Sistema/Request/RequestEmpresa.cs
Normal file
16
ModelosApiborrar/Sistema/Request/RequestEmpresa.cs
Normal file
@@ -0,0 +1,16 @@
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Linq;
|
||||
using System.Threading.Tasks;
|
||||
|
||||
namespace SIGAPI.Models.Sistema.Request
|
||||
{
|
||||
public class RequestEmpresa
|
||||
{
|
||||
public long CveEmpresa { get; set; }
|
||||
public string Empresa { get; set; }
|
||||
public string RFC { get; set; }
|
||||
public string Telefono { get; set; }
|
||||
public string Contacto { get; set; }
|
||||
}
|
||||
}
|
||||
20
ModelosApiborrar/Sistema/Request/RequestLogin.cs
Normal file
20
ModelosApiborrar/Sistema/Request/RequestLogin.cs
Normal file
@@ -0,0 +1,20 @@
|
||||
using Newtonsoft.Json;
|
||||
using System;
|
||||
|
||||
namespace SIGAPI
|
||||
{
|
||||
|
||||
public class RequestLogin
|
||||
{
|
||||
public string UserName { get; set; }
|
||||
|
||||
public string Password { get; set; }
|
||||
public int CveEmpresa { get; set; }
|
||||
public int CvePlataforma { get; set; }
|
||||
public RequestLogin()
|
||||
{
|
||||
CveEmpresa = -1;
|
||||
CvePlataforma = 4;
|
||||
}
|
||||
}
|
||||
}
|
||||
16
ModelosApiborrar/Sistema/Request/RequestRefreshToken.cs
Normal file
16
ModelosApiborrar/Sistema/Request/RequestRefreshToken.cs
Normal file
@@ -0,0 +1,16 @@
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Linq;
|
||||
using System.Threading.Tasks;
|
||||
|
||||
namespace SIGAPI.Models.Sistema.Request
|
||||
{
|
||||
public class RequestRefreshToken
|
||||
{
|
||||
public long CveToken { get; set; }
|
||||
|
||||
public string AccessToken { get; set; }
|
||||
|
||||
public string RefreshToken { get; set; }
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user