Version OScar
This commit is contained in:
14
ModelosApiborrar/OrdendeProduccion/Request/AsignarOPModel.cs
Normal file
14
ModelosApiborrar/OrdendeProduccion/Request/AsignarOPModel.cs
Normal file
@@ -0,0 +1,14 @@
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Linq;
|
||||
using System.Threading.Tasks;
|
||||
|
||||
namespace SIGAPI.Models.OrdendeProduccion.Request
|
||||
{
|
||||
public class AsignarOPModel
|
||||
{
|
||||
public int cveUsuario { get; set; }
|
||||
public int cveEmpresa { get; set; }
|
||||
public List<int> cveOPList { get; set; }
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,19 @@
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Linq;
|
||||
using System.Threading.Tasks;
|
||||
|
||||
namespace SIGAPI.Models.OrdendeProduccion.Request
|
||||
{
|
||||
public class ConfiguracionProductoModelGet
|
||||
{
|
||||
public int cvePS { get; set; }
|
||||
public int cveUM { get; set; }
|
||||
public int cveEmpresa { get; set; }
|
||||
public string pS { get; set; }
|
||||
public string producto { get { return pS; } }
|
||||
public string codigo { get; set; }
|
||||
public string unidadMedida { get; set; }
|
||||
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,18 @@
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Linq;
|
||||
using System.Threading.Tasks;
|
||||
|
||||
namespace SIGAPI.Models.OrdendeProduccion.Request
|
||||
{
|
||||
public class EstatusOPModelGet
|
||||
{
|
||||
#region Propiedades
|
||||
public int cveEstatusOP { get; set; }
|
||||
public int estatus { get; set; }
|
||||
public int tipoEstatus { get; set; }
|
||||
public int cveEmpresa { get; set; }
|
||||
public int cveUsuario { get; set; }
|
||||
#endregion
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,16 @@
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Linq;
|
||||
using System.Threading.Tasks;
|
||||
|
||||
namespace SIGAPI.Models.OrdendeProduccion.Request
|
||||
{
|
||||
public class EstatusOPModelRemove
|
||||
{
|
||||
#region Propiedades
|
||||
public int cveEstatusOP { get; set; }
|
||||
public int cveEmpresa { get; set; }
|
||||
|
||||
#endregion
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,19 @@
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Linq;
|
||||
using System.Threading.Tasks;
|
||||
|
||||
namespace SIGAPI.Models.OrdendeProduccion.Request
|
||||
{
|
||||
public class ManoObraModelGet
|
||||
{
|
||||
|
||||
#region Propiedades
|
||||
public int cveOPManoObra { get; set; }
|
||||
public int cvePS { get; set; }
|
||||
public int cvePuesto { get; set; }
|
||||
public int cveEmpresa { get; set; }
|
||||
|
||||
#endregion
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,16 @@
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Linq;
|
||||
using System.Threading.Tasks;
|
||||
|
||||
namespace SIGAPI.Models.OrdendeProduccion.Request
|
||||
{
|
||||
public class ManoObraModelRemove
|
||||
{
|
||||
#region Propiedades
|
||||
public int cveOPManoObra { get; set; }
|
||||
public int cveEmpresa { get; set; }
|
||||
|
||||
#endregion
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,23 @@
|
||||
using SIGAPI.Models.OrdendeProduccion.Response;
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Linq;
|
||||
using System.Threading.Tasks;
|
||||
|
||||
namespace SIGAPI.Models.OrdendeProduccion.Request
|
||||
{
|
||||
public class ManodeObraRecetaModel
|
||||
{
|
||||
public ManodeObraRecetaModel()
|
||||
{
|
||||
puestos = new List<ResponseOPProductosMOGET>();
|
||||
}
|
||||
public int cvePS { get; set; }
|
||||
public int cveEmpresa { get; set; }
|
||||
public string producto { get; set; }
|
||||
public int cveUM { get; set; }
|
||||
public string unidadMedida { get; set; }
|
||||
public List<ResponseOPProductosMOGET> puestos { get; set; }
|
||||
}
|
||||
}
|
||||
|
||||
@@ -0,0 +1,19 @@
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Linq;
|
||||
using System.Threading.Tasks;
|
||||
|
||||
namespace SIGAPI.Models.OrdendeProduccion.Request
|
||||
{
|
||||
public class MateriaPrimaModelGet
|
||||
{
|
||||
#region Propiedades
|
||||
public int cveOPPS { get; set; }
|
||||
public int cvePS { get; set; }
|
||||
public int cveUM { get; set; }
|
||||
public int cvePSMateriaPrima { get; set; }
|
||||
public int cveEmpresa { get; set; }
|
||||
|
||||
#endregion
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,16 @@
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Linq;
|
||||
using System.Threading.Tasks;
|
||||
|
||||
namespace SIGAPI.Models.OrdendeProduccion.Request
|
||||
{
|
||||
public class MateriaPrimaModelRemove
|
||||
{
|
||||
#region Propiedades
|
||||
public int cveOPPS { get; set; }
|
||||
public int cveEmpresa { get; set; }
|
||||
|
||||
#endregion
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,36 @@
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Linq;
|
||||
using System.Threading.Tasks;
|
||||
|
||||
namespace SIGAPI.Models.OrdendeProduccion.Request
|
||||
{
|
||||
public class MateriaPrimaRecetaModel
|
||||
{
|
||||
public MateriaPrimaRecetaModel()
|
||||
{
|
||||
productos = new List<MateriaPrimaProductoModel>();
|
||||
}
|
||||
public int cvePS { get; set; }
|
||||
public int cveEmpresa { get; set; }
|
||||
public string producto { get; set; }
|
||||
public int cveUM { get; set; }
|
||||
public string unidadMedida { get; set; }
|
||||
public List<MateriaPrimaProductoModel> productos{get;set;}
|
||||
}
|
||||
public class MateriaPrimaProductoModel
|
||||
{
|
||||
public decimal cantidad { get; set; }
|
||||
public int cvePS { get; set; }
|
||||
public int cveUM { get; set; }
|
||||
public string producto { get; set; }
|
||||
public string unidadMedida { get; set; }
|
||||
}
|
||||
public class MateriaPrimaProductoModelPrecio
|
||||
{
|
||||
public decimal cantidad { get; set; }
|
||||
public decimal Precio { get; set; }
|
||||
public int cvePS { get; set; }
|
||||
public int cveUM { get; set; }
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,48 @@
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Linq;
|
||||
using System.Threading.Tasks;
|
||||
|
||||
namespace SIGAPI.Models.OrdendeProduccion.Request
|
||||
{
|
||||
public class OrdendeProduccionAddModel
|
||||
{
|
||||
#region Propiedades
|
||||
public int cveOP { get; set; }
|
||||
public string descripcion { get; set; }
|
||||
public int folio { get; set; }
|
||||
public string cliente { get; set; }
|
||||
public string estatus { get; set; }
|
||||
public int tipoEstatus { get; set; }
|
||||
|
||||
public string subProyecto { get; set; }
|
||||
public string asignadoA { get; set; }
|
||||
public int cveCliente { get; set; }
|
||||
public int cveSubProyecto { get; set; }
|
||||
public int cveEstatus { get; set; }
|
||||
public DateTime fecha { get; set; }
|
||||
public int cveEmpresa { get; set; }
|
||||
public int cveUsuario { get; set; }
|
||||
public DateTime fechaIng { get; set; }
|
||||
public List<OrdendeProduccionAddModelproductos> productos { get; set; }
|
||||
#endregion
|
||||
}
|
||||
public class OrdendeProduccionAddModelproductos
|
||||
{
|
||||
public int cvePS { get; set; }
|
||||
public int cveUM { get; set; }
|
||||
public string producto { get; set; }
|
||||
public string unidadMedida { get; set; }
|
||||
public decimal cantidad { get; set; }
|
||||
public decimal CostoIndirecto { get; set; }
|
||||
}
|
||||
public class OrdendeProduccionAddModelproductosFinal
|
||||
{
|
||||
public int cvePS { get; set; }
|
||||
public int cveUM { get; set; }
|
||||
public string producto { get; set; }
|
||||
public string unidadMedida { get; set; }
|
||||
public decimal cantidad { get; set; }
|
||||
public decimal precio { get; set; }
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,24 @@
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Linq;
|
||||
using System.Threading.Tasks;
|
||||
|
||||
namespace SIGAPI.Models.OrdendeProduccion.Request
|
||||
{
|
||||
public class OrdendeProduccionModelGet
|
||||
{
|
||||
#region Propiedades
|
||||
public int cveOP { get; set; }
|
||||
public int folio { get; set; }
|
||||
public int cveCliente { get; set; }
|
||||
public int cveSubProyecto { get; set; }
|
||||
public int cvePS { get; set; }
|
||||
public int cveEstatus { get; set; }
|
||||
public int asignado { get; set; }
|
||||
public string fechaI { get; set; }
|
||||
public string fechaF { get; set; }
|
||||
public int cveEmpresa { get; set; }
|
||||
|
||||
#endregion
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,16 @@
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Linq;
|
||||
using System.Threading.Tasks;
|
||||
|
||||
namespace SIGAPI.Models.OrdendeProduccion.Request
|
||||
{
|
||||
public class OrdendeProduccionModelRemove
|
||||
{
|
||||
#region Propiedades
|
||||
public int cveOP { get; set; }
|
||||
public int cveEmpresa { get; set; }
|
||||
|
||||
#endregion
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,19 @@
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Linq;
|
||||
using System.Threading.Tasks;
|
||||
|
||||
namespace SIGAPI.Models.OrdendeProduccion.Request
|
||||
{
|
||||
public class RequestFinalizarOPmodel
|
||||
{
|
||||
public int cveOP { get; set; }
|
||||
public int cveEmpresa { get;set; }
|
||||
public int cveUsuario { get;set; }
|
||||
public int cveAlmacenprodFin { get;set; }
|
||||
public int cveAlmacenSobrante { get; set; }
|
||||
public int cveAlmacenMerma { get; set; }
|
||||
public List<RequestProductoSobrMerma> productos { get; set; }
|
||||
public List<RequestProductoSobrMerma> productosTerminados { get; set; }
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,13 @@
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Linq;
|
||||
using System.Threading.Tasks;
|
||||
|
||||
namespace SIGAPI.Models.OrdendeProduccion.Request
|
||||
{
|
||||
public class RequestOPProductosGET
|
||||
{
|
||||
public int cveOP { get; set; }
|
||||
public int cveEmpresa { get; set; }
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,14 @@
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Linq;
|
||||
using System.Threading.Tasks;
|
||||
|
||||
namespace SIGAPI.Models.OrdendeProduccion.Request
|
||||
{
|
||||
public class RequestOrdendeProduccionEstatusUp
|
||||
{
|
||||
public int cveOP { get; set; }
|
||||
public int cveEmpresa { get; set; }
|
||||
public int cveEstatusOP { get; set; }
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,18 @@
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Linq;
|
||||
using System.Threading.Tasks;
|
||||
|
||||
namespace SIGAPI.Models.OrdendeProduccion.Request
|
||||
{
|
||||
public class RequestProductoSobrMerma
|
||||
{
|
||||
public int cvePS { get; set; }
|
||||
public int cveUM { get; set; }
|
||||
public decimal sobrante { get; set; }
|
||||
public decimal mermas { get; set; }
|
||||
public decimal cantidad { get; set; }
|
||||
|
||||
public decimal total { get { return this.cantidad + this.sobrante + this.mermas; } }
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,15 @@
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Linq;
|
||||
using System.Threading.Tasks;
|
||||
|
||||
namespace SIGAPI.Models.OrdendeProduccion.Request
|
||||
{
|
||||
public class RequestSimulacionProduccion
|
||||
{
|
||||
public int cveEmpresa{ get; set; }
|
||||
public int cvePS { get; set; }
|
||||
public int cveUM { get; set; }
|
||||
public int cveAlmacen { get; set; }
|
||||
}
|
||||
}
|
||||
18
ModelosApiborrar/OrdendeProduccion/Request/SurtirOPModel.cs
Normal file
18
ModelosApiborrar/OrdendeProduccion/Request/SurtirOPModel.cs
Normal file
@@ -0,0 +1,18 @@
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Linq;
|
||||
using System.Threading.Tasks;
|
||||
|
||||
namespace SIGAPI.Models.OrdendeProduccion.Request
|
||||
{
|
||||
public class SurtirOPModel
|
||||
{
|
||||
public int cveUsuario { get; set; }
|
||||
public int cveEmpresa { get; set; }
|
||||
public int cveOP { get; set; }
|
||||
public int cveAlmacen { get; set; }
|
||||
public string observacion { get; set; }
|
||||
public string fecha { get; set; }
|
||||
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,14 @@
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Linq;
|
||||
using System.Threading.Tasks;
|
||||
|
||||
namespace SIGAPI.Models.OrdendeProduccion.Request
|
||||
{
|
||||
public class requestPSRecetaGet
|
||||
{
|
||||
public int cvePS { get; set; }
|
||||
public int cveUM { get; set; }
|
||||
public int cveEmpresa { get; set; }
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user