diff --git a/DiagramaDeClases.org b/DiagramaDeClases.org index 21f6bc7..a225a6c 100644 --- a/DiagramaDeClases.org +++ b/DiagramaDeClases.org @@ -103,7 +103,7 @@ Producto <|-- ProductoNoPercedero Producto <|-- ProductoPercedero class Producto { -+ id: int ++ Id: int + Nombre: string + Precio: double - PresupuestosStock: List? @@ -121,10 +121,10 @@ class Producto { } class Presupuesto { -+ id: int ++ Id: int + Proveedor: Proveedor + Monto: int -+ Cantidad: int ++ CantIdad: int } RepositorioPresupuestos "1" *-- "0..*" Presupuesto @@ -134,33 +134,33 @@ Presupuesto "0..*" <--* "1" Producto Proveedor <-- Presupuesto class Proveedor { -+ id: int ++ Id: int + Nombre: string + RazónSocial: string } class Venta { -+ id: int ++ Id: int - Detalles: List + MostrarDetalles(): ReadOnlyCollection -+ AñadirDetalle(Detalle): void -+ ModificarDetalle(Detalle): void -+ EliminarDetalle(Detalle): void ++ AñadirDetalle(Detalle): voId ++ ModificarDetalle(Detalle): voId ++ EliminarDetalle(Detalle): voId } Lote -- Producto class Lote { -+ id: int ++ Id: int + Producto: Producto -+ CantidadDeProductos: long ++ CantIdadDeProductos: long + FechaVencimiento: DateTime } class Detalle { -+ id: int -+ Cantidad: int ++ Id: int ++ CantIdad: int + PrecioUnitario: double + Subtotal: double + Producto: T @@ -169,7 +169,7 @@ class Detalle { class Cliente { + Cuit: string + Nombre: string -+ Apellido: string ++ ApellIdo: string + Direccion: string + Correo: string } @@ -211,45 +211,47 @@ Producto <|-- ProductoNoPercedero Producto <|-- ProductoPercedero class Producto { -+ id: int ++ Id: int + Nombre: string + Precio: double -- PresupuestosStock: List? +- Categorias: List? - Lotes: List? + Habilitado: bool -+ MostrarPresupuestos(): ReadOnlyCollection -+ AñadirPresupuesto(Presupuesto): bool -+ EliminarPresupuesto(Presupuesto): bool - + MostrarLotesDeProductos(): ReadOnlyCollection + AñadirLotesStock(): bool + EliminarLotesStock(): bool + MostrarStockRemanente(): long } -class Presupuesto { -+ id: int -+ Proveedor: Proveedor -+ Monto: int -+ Cantidad: int -+ habilitado: bool +class Categoria { ++ Id: int ++ Descripcion: String } -Presupuesto "1..*" <--* "1 ." Producto +Categoria "0..*" <--o "1 ." Producto + +class Presupuesto { ++ Id: int ++ Proveedor: Proveedor ++ Monto: int ++ CantIdad: int ++ Habilitado: bool +} + +Presupuesto "1" --> "1..*" Lote Proveedor "1" <-- "1 ." Presupuesto class Proveedor { -+ id: int ++ Id: int + Nombre: string + RazónSocial: string -+ habilitado: bool ++ Habilitado: bool } - class Detalle { -+ id: int -+ Cantidad: int ++ Id: int ++ CantIdad: int + PrecioUnitario: double + Subtotal: double + Producto: T @@ -258,7 +260,7 @@ class Detalle { class Cliente { + Cuit: string + Nombre: string -+ Apellido: string ++ ApellIdo: string + Direccion: string + Correo: string } @@ -270,22 +272,22 @@ class Factura { - Detalles: List + MostrarDetalles(): ReadOnlyCollection -+ AñadirDetalle(Detalle): void -+ ModificarDetalle(Detalle): void -+ EliminarDetalle(Detalle): void ++ AñadirDetalle(Detalle): voId ++ ModificarDetalle(Detalle): voId ++ EliminarDetalle(Detalle): voId } Cliente "1" <-- "1" Factura Factura "1 ." *-- "1..*" Detalle -Detalle "1 ." --> "1" Producto +Detalle "1 ." --> "1" Producto Producto "1" --> "1" Lote class Lote { -+ id: int ++ Id: int + Producto: Producto -+ CantidadDeProductos: long -+ habilitado: bool ++ CantIdadDeProductos: long ++ Habilitado: bool } enum EnvaseTipo { diff --git a/DiagramaSinRepos.jpg b/DiagramaSinRepos.jpg index 68e782f..d4aa223 100644 Binary files a/DiagramaSinRepos.jpg and b/DiagramaSinRepos.jpg differ