arreglado tema clientes y otras cosas

This commit is contained in:
fedpo
2024-08-06 01:06:37 +01:00
committed by fede
parent 4ef8bd03fc
commit 33988cb3db
28 changed files with 153 additions and 99 deletions

View File

@@ -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
View 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
}
}

View File

@@ -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; }
}

View 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; }
}
}

View 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; }
}
}