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; }
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,26 @@
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Linq;
|
||||
using System.Threading.Tasks;
|
||||
|
||||
namespace SIGAPI.Models.OrdendeProduccion.Response
|
||||
{
|
||||
public class EstatusOPModel
|
||||
{
|
||||
|
||||
#region Propiedades
|
||||
public int cveEstatusOP { get; set; }
|
||||
public string estatusOP { get; set; }
|
||||
public int tipoEstatus { get; set; }
|
||||
public int cveEmpresa { get; set; }
|
||||
public int cveUsuario { get; set; }
|
||||
public bool estatus { get; set; }
|
||||
public DateTime fechaIng { get; set; }
|
||||
public int cveEstatusAnterior { get; set; }
|
||||
|
||||
#endregion
|
||||
public EstatusOPModel()
|
||||
{
|
||||
}
|
||||
}
|
||||
}
|
||||
25
ModelosApiborrar/OrdendeProduccion/Response/ManoObraModel.cs
Normal file
25
ModelosApiborrar/OrdendeProduccion/Response/ManoObraModel.cs
Normal file
@@ -0,0 +1,25 @@
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Linq;
|
||||
using System.Threading.Tasks;
|
||||
|
||||
namespace SIGAPI.Models.OrdendeProduccion.Response
|
||||
{
|
||||
public class ManoObraModel
|
||||
{
|
||||
|
||||
#region Propiedades
|
||||
public int cveOPManoObra { get; set; }
|
||||
public int cvePS { get; set; }
|
||||
public int cveUM { get; set; }
|
||||
public string producto { get; set; }
|
||||
public int cvePuesto { get; set; }
|
||||
public string puesto { get; set; }
|
||||
public decimal cantidad { get; set; }
|
||||
public decimal precioHora { get; set; }
|
||||
|
||||
#endregion
|
||||
}
|
||||
|
||||
|
||||
}
|
||||
@@ -0,0 +1,27 @@
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Linq;
|
||||
using System.Threading.Tasks;
|
||||
|
||||
namespace SIGAPI.Models.OrdendeProduccion.Response
|
||||
{
|
||||
public class MateriaPrimaModel
|
||||
{
|
||||
#region Propiedades
|
||||
public int cveOPPS { get; set; }
|
||||
public decimal cantidad { get; set; }
|
||||
public int cvePS { get; set; }
|
||||
public string producto { get; set; }
|
||||
public int cveUM { get; set; }
|
||||
public string unidadMedida { get; set; }
|
||||
public int cvePSMateriaPrima { get; set; }
|
||||
public string productoMateriaPrima { get; set; }
|
||||
public int cveUMMateriaPrima { get; set; }
|
||||
public string unidadMedidaMateriaPrima { get; set; }
|
||||
public int cveEmpresa { get; set; }
|
||||
public decimal cantidadpsfinal { get; set; }
|
||||
public decimal totalpsfinal { get; set; }
|
||||
|
||||
#endregion
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,30 @@
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Linq;
|
||||
using System.Threading.Tasks;
|
||||
|
||||
namespace SIGAPI.Models.OrdendeProduccion.Response
|
||||
{
|
||||
public class OrdendeProduccionModel
|
||||
{
|
||||
#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; }
|
||||
|
||||
#endregion
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,16 @@
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Linq;
|
||||
using System.Threading.Tasks;
|
||||
|
||||
namespace SIGAPI.Models.OrdendeProduccion.Response
|
||||
{
|
||||
public class ResponseInventarioADD
|
||||
{
|
||||
|
||||
#region propiedades
|
||||
public int CveMovimiento { get; set; }
|
||||
public int FolioMovimiento { get; set; }
|
||||
#endregion
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,15 @@
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Linq;
|
||||
using System.Threading.Tasks;
|
||||
|
||||
namespace SIGAPI.Models.OrdendeProduccion.Response
|
||||
{
|
||||
public class ResponseOPProductosMOGET
|
||||
{
|
||||
public decimal cantidad { get; set; }
|
||||
public decimal precioHora { get; set; }
|
||||
public int cvePuesto { get; set; }
|
||||
public string puesto { get; set; }
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,21 @@
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Linq;
|
||||
using System.Threading.Tasks;
|
||||
|
||||
namespace SIGAPI.Models.OrdendeProduccion.Response
|
||||
{
|
||||
public class ResponseOPProductosMPGET
|
||||
{
|
||||
#region Propiedades
|
||||
public int cvePS { get; set; }
|
||||
public int cveUM { get; set; }
|
||||
public decimal cantidad { get; set; }
|
||||
public decimal surtido { get; set; }
|
||||
public decimal solicitud { get; set; }
|
||||
public string producto { get; set; }
|
||||
public string codigo { get; set; }
|
||||
public string unidadMedida { get; set; }
|
||||
#endregion
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,40 @@
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Linq;
|
||||
using System.Threading.Tasks;
|
||||
|
||||
namespace SIGAPI.Models.OrdendeProduccion.Response
|
||||
{
|
||||
public class ResponseSimulacionProduccion
|
||||
{
|
||||
public List<SimuProdMateriaPrima> materiaPrima { get; set; }
|
||||
public List<SimuProdManodeObra> manodeObra { get; set; }
|
||||
public string producto { get; set; }
|
||||
public string unidadMedida { get; set; }
|
||||
public ResponseSimulacionProduccion()
|
||||
{
|
||||
materiaPrima = new List<SimuProdMateriaPrima>();
|
||||
manodeObra = new List<SimuProdManodeObra>();
|
||||
}
|
||||
}
|
||||
public class SimuProdMateriaPrima
|
||||
{
|
||||
|
||||
public int cvePS { get; set; }
|
||||
public int cveUM { get; set; }
|
||||
public string producto { get; set; }
|
||||
public string unidadMedida { get; set; }
|
||||
public decimal cantidadxUnidad { get; set; }
|
||||
public decimal precioUnidad { get; set; }
|
||||
public decimal disponible { get; set; }
|
||||
}
|
||||
public class SimuProdManodeObra
|
||||
{
|
||||
public int cvePuesto { get; set; }
|
||||
public string puesto { get; set; }
|
||||
public decimal horas { get; set; }
|
||||
public decimal preciohoras { get; set; }
|
||||
public int personalDisponible { get; set; }
|
||||
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user