Compare commits
2 Commits
46768f4f1b
...
100852347e
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
100852347e | ||
|
|
712813e8cb |
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
15
Entidades/Categoria.cs
Normal file
15
Entidades/Categoria.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
|
||||
{
|
||||
internal class Categoria
|
||||
{
|
||||
public int Id { get; set; }
|
||||
|
||||
public string Descripcion { get; set; }
|
||||
}
|
||||
}
|
||||
23
Entidades/Cliente.cs
Normal file
23
Entidades/Cliente.cs
Normal file
@@ -0,0 +1,23 @@
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Linq;
|
||||
using System.Text;
|
||||
using System.Threading.Tasks;
|
||||
|
||||
namespace Entidades
|
||||
{
|
||||
internal class Cliente
|
||||
{
|
||||
public string Cuit { get; set; }
|
||||
|
||||
public string Nombre { get; set; }
|
||||
|
||||
public string Apellido { get; set; }
|
||||
|
||||
public string Direccion { get; set; }
|
||||
|
||||
public string Correo { get; set; }
|
||||
|
||||
}
|
||||
|
||||
}
|
||||
@@ -2,6 +2,9 @@
|
||||
{
|
||||
public class Detalle <T> where T:Producto
|
||||
{
|
||||
public int Id { get; set; }
|
||||
public int Cantidad { get; set; }
|
||||
public T Producto { get; set; }
|
||||
|
||||
|
||||
}
|
||||
|
||||
17
Entidades/DetalleFactura.cs
Normal file
17
Entidades/DetalleFactura.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
|
||||
{
|
||||
internal class DetalleFactura
|
||||
{
|
||||
public int IdFactura { get; set; }
|
||||
|
||||
public double PrecioUnitario { get; set; }
|
||||
|
||||
public double Subtotal { get; set; }
|
||||
}
|
||||
}
|
||||
13
Entidades/DetalleOrdenDeCompra.cs
Normal file
13
Entidades/DetalleOrdenDeCompra.cs
Normal file
@@ -0,0 +1,13 @@
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Linq;
|
||||
using System.Text;
|
||||
using System.Threading.Tasks;
|
||||
|
||||
namespace Entidades
|
||||
{
|
||||
internal class DetalleOrdenDeCompra
|
||||
{
|
||||
public int IdOrdenDeCompra { get; set; }
|
||||
}
|
||||
}
|
||||
@@ -6,7 +6,8 @@ using System.Threading.Tasks;
|
||||
|
||||
namespace Entidades
|
||||
{
|
||||
internal class Class2
|
||||
internal class DetallePedido
|
||||
{
|
||||
public int IdPedido { get; set; }
|
||||
}
|
||||
}
|
||||
15
Entidades/DetallePresupuesto.cs
Normal file
15
Entidades/DetallePresupuesto.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
|
||||
{
|
||||
internal class DetallePresupuesto
|
||||
{
|
||||
public int IdPresupuesto { get; set; }
|
||||
public double CostoUnitario { get; set; }
|
||||
|
||||
}
|
||||
}
|
||||
16
Entidades/EnvaseTipo.cs
Normal file
16
Entidades/EnvaseTipo.cs
Normal file
@@ -0,0 +1,16 @@
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Linq;
|
||||
using System.Text;
|
||||
using System.Threading.Tasks;
|
||||
|
||||
namespace Entidades
|
||||
{
|
||||
public enum TipoEnvase
|
||||
{
|
||||
Plastico,
|
||||
Enlatado,
|
||||
Carton
|
||||
}
|
||||
|
||||
}
|
||||
21
Entidades/Factura.cs
Normal file
21
Entidades/Factura.cs
Normal file
@@ -0,0 +1,21 @@
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Linq;
|
||||
using System.Text;
|
||||
using System.Threading.Tasks;
|
||||
|
||||
namespace Entidades
|
||||
{
|
||||
internal class Factura
|
||||
{
|
||||
public double Total { get; set; }
|
||||
public DateTime Fecha { get; set; }
|
||||
|
||||
public Cliente Cliente { get; set; }
|
||||
|
||||
private List<DetalleFactura> detalles { get; set; }
|
||||
|
||||
|
||||
}
|
||||
|
||||
}
|
||||
21
Entidades/Lote.cs
Normal file
21
Entidades/Lote.cs
Normal file
@@ -0,0 +1,21 @@
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Linq;
|
||||
using System.Text;
|
||||
using System.Threading.Tasks;
|
||||
|
||||
namespace Entidades
|
||||
{
|
||||
internal class Lote
|
||||
{
|
||||
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; }
|
||||
}
|
||||
}
|
||||
18
Entidades/OrdenDeCompra.cs
Normal file
18
Entidades/OrdenDeCompra.cs
Normal file
@@ -0,0 +1,18 @@
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Linq;
|
||||
using System.Text;
|
||||
using System.Threading.Tasks;
|
||||
|
||||
namespace Entidades
|
||||
{
|
||||
internal class OrdenDeCompra
|
||||
{
|
||||
public int Id { get; set; }
|
||||
|
||||
private List<DetalleOrdenDeCompra> Productos { get; set; }
|
||||
|
||||
public Proveedor Proveedor { get; set; }
|
||||
|
||||
}
|
||||
}
|
||||
19
Entidades/PedidoDePresupuesto.cs
Normal file
19
Entidades/PedidoDePresupuesto.cs
Normal file
@@ -0,0 +1,19 @@
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Linq;
|
||||
using System.Text;
|
||||
using System.Threading.Tasks;
|
||||
|
||||
namespace Entidades
|
||||
{
|
||||
internal class PedidoDePresupuesto
|
||||
{
|
||||
public int Id { get; set; }
|
||||
|
||||
public DateTime Fecha { get; set; }
|
||||
|
||||
private List<DetallePedido> detallesPedidos { get; set; }
|
||||
|
||||
public Proveedor Proveedor { get; set; }
|
||||
}
|
||||
}
|
||||
23
Entidades/Presupuesto.cs
Normal file
23
Entidades/Presupuesto.cs
Normal file
@@ -0,0 +1,23 @@
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Linq;
|
||||
using System.Text;
|
||||
using System.Threading.Tasks;
|
||||
|
||||
namespace Entidades
|
||||
{
|
||||
internal class Presupuesto
|
||||
{
|
||||
public int Id { get; set; }
|
||||
|
||||
public DateTime Fecha { get; set; }
|
||||
|
||||
public bool Habilitado { get; set; }
|
||||
|
||||
public bool Aceptado { get; set; }
|
||||
|
||||
private List<DetallePresupuesto> Detalles { get; set; }
|
||||
|
||||
public Proveedor Proveedor { get; set; }
|
||||
}
|
||||
}
|
||||
25
Entidades/Producto.cs
Normal file
25
Entidades/Producto.cs
Normal file
@@ -0,0 +1,25 @@
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Linq;
|
||||
using System.Text;
|
||||
using System.Threading.Tasks;
|
||||
|
||||
namespace Entidades
|
||||
{
|
||||
internal class Producto
|
||||
{
|
||||
public int Id { get; set; }
|
||||
|
||||
public string Nombre { get; set; }
|
||||
|
||||
public double Precio { get; set; }
|
||||
|
||||
|
||||
public bool Habilitado { get; set; }
|
||||
|
||||
|
||||
private List<Categoria> Categorias { get; set; }
|
||||
|
||||
|
||||
}
|
||||
}
|
||||
13
Entidades/ProductoNoPercedero.cs
Normal file
13
Entidades/ProductoNoPercedero.cs
Normal file
@@ -0,0 +1,13 @@
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Linq;
|
||||
using System.Text;
|
||||
using System.Threading.Tasks;
|
||||
|
||||
namespace Entidades
|
||||
{
|
||||
internal class ProductoNoPercedero
|
||||
{
|
||||
public EnvaseTipo TipoDeEnvase { get; set; }
|
||||
}
|
||||
}
|
||||
14
Entidades/ProductoPercedero.cs
Normal file
14
Entidades/ProductoPercedero.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
|
||||
{
|
||||
internal class ProductoPercedero
|
||||
{
|
||||
public int MesesHastaConsumoPreferente { get; set; }
|
||||
public int MesesHastaVencimiento { get; set; }
|
||||
}
|
||||
}
|
||||
19
Entidades/Proveedor.cs
Normal file
19
Entidades/Proveedor.cs
Normal file
@@ -0,0 +1,19 @@
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Linq;
|
||||
using System.Text;
|
||||
using System.Threading.Tasks;
|
||||
|
||||
namespace Entidades
|
||||
{
|
||||
internal class Proveedor
|
||||
{
|
||||
public int Id { get; set; }
|
||||
|
||||
public string Nombre { get; set; }
|
||||
|
||||
public string RazonSocial { get; set; }
|
||||
|
||||
public bool Habilitado { get; set; }
|
||||
}
|
||||
}
|
||||
17
Entidades/Remito.cs
Normal file
17
Entidades/Remito.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
|
||||
{
|
||||
internal class Remito
|
||||
{
|
||||
public int Id { get; set; }
|
||||
|
||||
private List<Lote> LotesDeProductosEntregados { get; set; }
|
||||
|
||||
public Proveedor Proveedor { get; set; }
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user