oh hell no

This commit is contained in:
fedpo
2024-09-08 18:46:32 +01:00
parent 393caac989
commit e3fd07a90a
105 changed files with 5743 additions and 232 deletions

View File

@@ -5,7 +5,7 @@ namespace Entidades
{
public class Lote: Detalle<Producto>
{
public int IdRemito { get; set; }
public int IdRemito { get; set; }
public DateTime Fecha { get; set; }
public bool Habilitado { get; set; }

View File

@@ -8,14 +8,13 @@
public int Id { get; set; }
public Proveedor Proveedor { get; set; }
public int IdProveedor { get; set; }
private List<Lote> lotesDeProductosEntregados = new List<Lote>();
public ReadOnlyCollection<Lote> Lotes => lotesDeProductosEntregados.AsReadOnly();
public List<Lote> Lotes = new List<Lote>();
public void AñadirLote(Lote lote)
{
try
{
lotesDeProductosEntregados.Add(lote);
Lotes.Add(lote);
}
catch (Exception)
{