MEJORA ESTE DIAGRAMA Y HAZLO MAS COMPLETO Y PROFESIONAL: erDiagram PRODUCTO { int id PK…
Rate quality
Private research annotation
Sign in to add a private research label or note.
- User
MEJORA ESTE DIAGRAMA Y HAZLO MAS COMPLETO Y PROFESIONAL: erDiagram PRODUCTO { int id PK string nombre string descripcion float precio bool activo bool es_insumo bool requiere_comentario_rapido bool permite_complementos int familia_id FK int clasificacion_tpv_id FK int clasificacion_almacen_id FK }
codePRODUCTO_COMPUESTO { int id PK int producto_id FK float precio_compuesto } COMPONENTE_PRODUCTO { int id PK int producto_compuesto_id FK int producto_id FK int cantidad } PROPORCION_PRODUCTO { int id PK int producto_id FK string nombre float factor_precio } COMENTARIO_PRODUCTO { int id PK int producto_id FK string contenido bool es_rapido } COMPLEMENTO_PRODUCTO { int id PK int producto_id FK string nombre float precio } FAMILIA_PRODUCTO { int id PK string nombre } CLASIFICACION_TPV { int id PK string nombre } CLASIFICACION_ALMACEN { int id PK string nombre } STOCK_ALMACEN { int id PK int producto_id FK "1" int almacen_id FK "1" int stock_minimo int stock_maximo } PRODUCTO ||--o{ PRODUCTO_COMPUESTO : "es" PRODUCTO_COMPUESTO ||--o{ COMPONENTE_PRODUCTO : "tiene" PRODUCTO ||--o{ PROPORCION_PRODUCTO : "tiene" PRODUCTO ||--o{ COMENTARIO_PRODUCTO : "tiene" PRODUCTO ||--o{ COMPLEMENTO_PRODUCTO : "tiene" PRODUCTO }o--|| FAMILIA_PRODUCTO : "pertenece" PRODUCTO }o--|| CLASIFICACION_TPV : "pertenece" Assistant