arreglado tema clientes y otras cosas
This commit is contained in:
@@ -49,6 +49,8 @@
|
||||
<Path>
|
||||
<Point X="11" Y="1.988" />
|
||||
<Point X="11" Y="2.155" />
|
||||
<Point X="9.958" Y="2.155" Type="JumpStart" />
|
||||
<Point X="9.792" Y="2.155" Type="JumpEnd" />
|
||||
<Point X="8" Y="2.155" />
|
||||
</Path>
|
||||
</InheritanceLine>
|
||||
@@ -73,12 +75,9 @@
|
||||
<Class Name="Entidades.Lote">
|
||||
<Position X="0.75" Y="1.75" Width="2" />
|
||||
<TypeIdentifier>
|
||||
<HashCode>AAACAAAAAAAAAAEAQABAAAAAAAAAABAAAAAAAAAAAAA=</HashCode>
|
||||
<HashCode>AAAAAAAAAAAAAAEAAAAAAAAAAAAAABAAAAAAAAAAAAA=</HashCode>
|
||||
<FileName>Lote.cs</FileName>
|
||||
</TypeIdentifier>
|
||||
<ShowAsAssociation>
|
||||
<Property Name="Producto" />
|
||||
</ShowAsAssociation>
|
||||
</Class>
|
||||
<Class Name="Entidades.OrdenDeCompra">
|
||||
<Position X="10" Y="5.25" Width="1.5" />
|
||||
|
||||
17
Entidades/EnvaseTipo.cs
Normal file
17
Entidades/EnvaseTipo.cs
Normal file
@@ -0,0 +1,17 @@
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Linq;
|
||||
using System.Text;
|
||||
using System.Threading.Tasks;
|
||||
|
||||
namespace Entidades
|
||||
{
|
||||
public enum EnvaseTipo
|
||||
{
|
||||
Plastico,
|
||||
Enlatado,
|
||||
Carton,
|
||||
NoTiene
|
||||
}
|
||||
|
||||
}
|
||||
@@ -1,12 +1,9 @@
|
||||
|
||||
namespace Entidades
|
||||
{
|
||||
public class Lote
|
||||
public class Lote: Detalle<Producto>
|
||||
{
|
||||
public int Id { get; set; }
|
||||
public DateTime Fecha { get; set; }
|
||||
public Producto Producto { get; set; }
|
||||
public long CantidadDeProductos { get; set; }
|
||||
public bool Habilitado { get; set; }
|
||||
}
|
||||
|
||||
|
||||
14
Entidades/ProductoNoPercedero.cs
Normal file
14
Entidades/ProductoNoPercedero.cs
Normal file
@@ -0,0 +1,14 @@
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Linq;
|
||||
using System.Text;
|
||||
using System.Threading.Tasks;
|
||||
|
||||
namespace Entidades
|
||||
{
|
||||
public class ProductoNoPercedero : Producto
|
||||
{
|
||||
public EnvaseTipo TipoDeEnvase { get; set; }
|
||||
}
|
||||
|
||||
}
|
||||
15
Entidades/ProductoPercedero.cs
Normal file
15
Entidades/ProductoPercedero.cs
Normal file
@@ -0,0 +1,15 @@
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Linq;
|
||||
using System.Text;
|
||||
using System.Threading.Tasks;
|
||||
|
||||
namespace Entidades
|
||||
{
|
||||
public class ProductoPercedero : Producto
|
||||
{
|
||||
public int MesesHastaConsumoPreferente { get; set; }
|
||||
public int MesesHastaVencimiento { get; set; }
|
||||
}
|
||||
|
||||
}
|
||||
Reference in New Issue
Block a user