demo seed change 2

This commit is contained in:
Urtzi Alfaro
2025-12-14 11:58:14 +01:00
parent ff830a3415
commit a030bd14c8
44 changed files with 3093 additions and 977 deletions

View File

@@ -44,10 +44,10 @@
"location": "Barcelona Gràcia - Storage",
"production_stage": "RAW_MATERIAL",
"quality_status": "APPROVED",
"expiration_date": "2025-02-20T00:00:00Z",
"expiration_date": "BASE_TS + 35d 18h",
"supplier_id": "40000000-0000-0000-0000-000000000001",
"batch_number": "BCN-HAR-20250115-001",
"created_at": "2025-01-15T06:00:00Z",
"created_at": "BASE_TS",
"enterprise_shared": true,
"source_location": "Central Warehouse - Barcelona"
},
@@ -59,10 +59,10 @@
"location": "Barcelona Gràcia - Cold Storage",
"production_stage": "RAW_MATERIAL",
"quality_status": "APPROVED",
"expiration_date": "2025-01-25T00:00:00Z",
"expiration_date": "BASE_TS + 9d 18h",
"supplier_id": "40000000-0000-0000-0000-000000000002",
"batch_number": "BCN-MAN-20250115-001",
"created_at": "2025-01-15T06:00:00Z",
"created_at": "BASE_TS",
"enterprise_shared": true,
"source_location": "Central Warehouse - Barcelona"
},
@@ -74,10 +74,10 @@
"location": "Barcelona Gràcia - Display",
"production_stage": "FINISHED_PRODUCT",
"quality_status": "APPROVED",
"expiration_date": "2025-01-16T06:00:00Z",
"expiration_date": "BASE_TS + 1d",
"supplier_id": null,
"batch_number": "BCN-BAG-20250115-001",
"created_at": "2025-01-15T06:00:00Z",
"created_at": "BASE_TS",
"enterprise_shared": true,
"source_location": "Central Production Facility - Barcelona"
},
@@ -89,10 +89,10 @@
"location": "Barcelona Gràcia - Display",
"production_stage": "FINISHED_PRODUCT",
"quality_status": "APPROVED",
"expiration_date": "2025-01-16T08:00:00Z",
"expiration_date": "BASE_TS + 1d 2h",
"supplier_id": null,
"batch_number": "BCN-CRO-20250115-001",
"created_at": "2025-01-15T06:00:00Z",
"created_at": "BASE_TS",
"enterprise_shared": true,
"source_location": "Central Production Facility - Barcelona"
}
@@ -107,7 +107,7 @@
"unit_price": 2.85,
"total_revenue": 99.75,
"sales_channel": "RETAIL",
"created_at": "2025-01-15T06:00:00Z",
"created_at": "BASE_TS",
"notes": "Venda local a Barcelona Gràcia - matí",
"enterprise_location_sale": true,
"parent_order_id": "60000000-0000-0000-0000-000000003001"
@@ -119,9 +119,9 @@
"product_id": "20000000-0000-0000-0000-000000000002",
"quantity_sold": 18.0,
"unit_price": 3.95,
"total_revenue": 71.10,
"total_revenue": 71.1,
"sales_channel": "RETAIL",
"created_at": "2025-01-15T06:00:00Z",
"created_at": "BASE_TS",
"notes": "Venda de croissants a Barcelona Gràcia",
"enterprise_location_sale": true,
"parent_order_id": "60000000-0000-0000-0000-000000003002"
@@ -133,9 +133,9 @@
"product_id": "20000000-0000-0000-0000-000000000001",
"quantity_sold": 28.0,
"unit_price": 2.85,
"total_revenue": 79.80,
"total_revenue": 79.8,
"sales_channel": "RETAIL",
"created_at": "2025-01-15T06:00:00Z",
"created_at": "BASE_TS",
"notes": "Venda de tarda a Barcelona Gràcia",
"enterprise_location_sale": true,
"parent_order_id": "60000000-0000-0000-0000-000000003003"
@@ -148,11 +148,11 @@
"order_number": "ORD-BCN-GRA-20250115-001",
"customer_name": "Restaurant El Vaixell",
"customer_email": "comandes@elvaixell.cat",
"order_date": "2025-01-15T07:00:00Z",
"delivery_date": "2025-01-15T08:30:00Z",
"order_date": "BASE_TS + 1h",
"delivery_date": "BASE_TS + 2h 30m",
"status": "DELIVERED",
"total_amount": 99.75,
"created_at": "2025-01-15T06:00:00Z",
"created_at": "BASE_TS",
"notes": "Comanda matinal per restaurant local",
"enterprise_location_order": true
},
@@ -162,11 +162,11 @@
"order_number": "ORD-BCN-GRA-20250115-002",
"customer_name": "Cafeteria La Perla",
"customer_email": "info@laperla.cat",
"order_date": "2025-01-15T06:30:00Z",
"delivery_date": "2025-01-15T09:00:00Z",
"order_date": "BASE_TS + 30m",
"delivery_date": "BASE_TS + 3h",
"status": "DELIVERED",
"total_amount": 71.10,
"created_at": "2025-01-15T06:00:00Z",
"total_amount": 71.1,
"created_at": "BASE_TS",
"notes": "Croissants per cafeteria",
"enterprise_location_order": true
},
@@ -176,11 +176,11 @@
"order_number": "ORD-BCN-GRA-20250114-003",
"customer_name": "Hotel Casa Fuster",
"customer_email": "compras@casafuster.com",
"order_date": "2025-01-14T14:00:00Z",
"delivery_date": "2025-01-14T17:00:00Z",
"order_date": "BASE_TS - 1d 8h",
"delivery_date": "BASE_TS - 1d 11h",
"status": "DELIVERED",
"total_amount": 79.80,
"created_at": "2025-01-15T06:00:00Z",
"total_amount": 79.8,
"created_at": "BASE_TS",
"notes": "Comanda de tarda per hotel",
"enterprise_location_order": true
}
@@ -195,13 +195,13 @@
"planned_quantity": 100.0,
"actual_quantity": 98.0,
"status": "COMPLETED",
"planned_start_time": "2025-01-15T04:00:00Z",
"actual_start_time": "2025-01-15T04:05:00Z",
"planned_end_time": "2025-01-15T06:00:00Z",
"actual_end_time": "2025-01-15T06:10:00Z",
"planned_start_time": "BASE_TS - 1d 22h",
"actual_start_time": "BASE_TS - 1d 22h 5m",
"planned_end_time": "BASE_TS",
"actual_end_time": "BASE_TS + 10m",
"equipment_id": "30000000-0000-0000-0000-000000000002",
"operator_id": "50000000-0000-0000-0000-000000000012",
"created_at": "2025-01-15T06:00:00Z",
"created_at": "BASE_TS",
"notes": "Producció matinal de baguettes a Barcelona",
"enterprise_location_production": true
},
@@ -214,13 +214,13 @@
"planned_quantity": 50.0,
"actual_quantity": null,
"status": "IN_PROGRESS",
"planned_start_time": "2025-01-15T05:00:00Z",
"actual_start_time": "2025-01-15T05:00:00Z",
"planned_end_time": "2025-01-15T07:30:00Z",
"planned_start_time": "BASE_TS - 1d 23h",
"actual_start_time": "BASE_TS - 1d 23h",
"planned_end_time": "BASE_TS + 1h 30m",
"actual_end_time": null,
"equipment_id": "30000000-0000-0000-0000-000000000002",
"operator_id": "50000000-0000-0000-0000-000000000013",
"created_at": "2025-01-15T06:00:00Z",
"created_at": "BASE_TS",
"notes": "Producció de croissants en curs a Barcelona",
"enterprise_location_production": true
}
@@ -230,11 +230,11 @@
"id": "80000000-0000-0000-0000-000000002001",
"tenant_id": "B0000000-0000-4000-a000-000000000001",
"product_id": "20000000-0000-0000-0000-000000000001",
"forecast_date": "2025-01-16T00:00:00Z",
"forecast_date": "BASE_TS + 18h",
"predicted_quantity": 85.0,
"confidence_score": 0.91,
"forecast_horizon_days": 1,
"created_at": "2025-01-15T06:00:00Z",
"created_at": "BASE_TS",
"notes": "Previsió de demanda diària per Barcelona Gràcia",
"enterprise_location_forecast": true
},
@@ -242,13 +242,13 @@
"id": "80000000-0000-0000-0000-000000002002",
"tenant_id": "B0000000-0000-4000-a000-000000000001",
"product_id": "20000000-0000-0000-0000-000000000002",
"forecast_date": "2025-01-16T00:00:00Z",
"forecast_date": "BASE_TS + 18h",
"predicted_quantity": 45.0,
"confidence_score": 0.89,
"forecast_horizon_days": 1,
"created_at": "2025-01-15T06:00:00Z",
"created_at": "BASE_TS",
"notes": "Previsió de croissants per demà a Barcelona",
"enterprise_location_forecast": true
}
]
}
}

View File

@@ -41,10 +41,10 @@
"location": "Madrid Centro - Storage",
"production_stage": "RAW_MATERIAL",
"quality_status": "APPROVED",
"expiration_date": "2025-02-15T00:00:00Z",
"expiration_date": "BASE_TS + 30d 18h",
"supplier_id": "40000000-0000-0000-0000-000000000001",
"batch_number": "MAD-HAR-20250115-001",
"created_at": "2025-01-15T06:00:00Z",
"created_at": "BASE_TS",
"enterprise_shared": true,
"source_location": "Central Warehouse - Madrid"
},
@@ -56,10 +56,10 @@
"location": "Madrid Centro - Display",
"production_stage": "FINISHED_PRODUCT",
"quality_status": "APPROVED",
"expiration_date": "2025-01-16T06:00:00Z",
"expiration_date": "BASE_TS + 1d",
"supplier_id": null,
"batch_number": "MAD-BAG-20250115-001",
"created_at": "2025-01-15T06:00:00Z",
"created_at": "BASE_TS",
"enterprise_shared": true,
"source_location": "Central Production Facility - Madrid"
}
@@ -74,7 +74,7 @@
"unit_price": 2.75,
"total_revenue": 68.75,
"sales_channel": "RETAIL",
"created_at": "2025-01-15T06:00:00Z",
"created_at": "BASE_TS",
"notes": "Venta local en Madrid Centro",
"enterprise_location_sale": true,
"parent_order_id": "60000000-0000-0000-0000-000000002001"

View File

@@ -44,10 +44,10 @@
"location": "Valencia Ruzafa - Storage",
"production_stage": "RAW_MATERIAL",
"quality_status": "APPROVED",
"expiration_date": "2025-02-18T00:00:00Z",
"expiration_date": "BASE_TS + 33d 18h",
"supplier_id": "40000000-0000-0000-0000-000000000001",
"batch_number": "VLC-HAR-20250115-001",
"created_at": "2025-01-15T06:00:00Z",
"created_at": "BASE_TS",
"enterprise_shared": true,
"source_location": "Central Warehouse - Valencia"
},
@@ -59,10 +59,10 @@
"location": "Valencia Ruzafa - Cold Storage",
"production_stage": "RAW_MATERIAL",
"quality_status": "APPROVED",
"expiration_date": "2025-01-23T00:00:00Z",
"expiration_date": "BASE_TS + 7d 18h",
"supplier_id": "40000000-0000-0000-0000-000000000002",
"batch_number": "VLC-MAN-20250115-001",
"created_at": "2025-01-15T06:00:00Z",
"created_at": "BASE_TS",
"enterprise_shared": true,
"source_location": "Central Warehouse - Valencia"
},
@@ -74,10 +74,10 @@
"location": "Valencia Ruzafa - Dry Storage",
"production_stage": "RAW_MATERIAL",
"quality_status": "APPROVED",
"expiration_date": "2026-01-15T00:00:00Z",
"expiration_date": "BASE_TS + 364d 18h",
"supplier_id": "40000000-0000-0000-0000-000000000003",
"batch_number": "VLC-SAL-20250115-001",
"created_at": "2025-01-15T06:00:00Z",
"created_at": "BASE_TS",
"enterprise_shared": true,
"source_location": "Central Warehouse - Valencia"
},
@@ -89,10 +89,10 @@
"location": "Valencia Ruzafa - Display",
"production_stage": "FINISHED_PRODUCT",
"quality_status": "APPROVED",
"expiration_date": "2025-01-16T06:00:00Z",
"expiration_date": "BASE_TS + 1d",
"supplier_id": null,
"batch_number": "VLC-BAG-20250115-001",
"created_at": "2025-01-15T06:00:00Z",
"created_at": "BASE_TS",
"enterprise_shared": true,
"source_location": "Central Production Facility - Valencia"
},
@@ -104,10 +104,10 @@
"location": "Valencia Ruzafa - Display",
"production_stage": "FINISHED_PRODUCT",
"quality_status": "APPROVED",
"expiration_date": "2025-01-17T06:00:00Z",
"expiration_date": "BASE_TS + 2d",
"supplier_id": null,
"batch_number": "VLC-PAN-20250115-001",
"created_at": "2025-01-15T06:00:00Z",
"created_at": "BASE_TS",
"enterprise_shared": true,
"source_location": "Central Production Facility - Valencia"
}
@@ -119,10 +119,10 @@
"sale_date": "2025-01-15T08:00:00Z",
"product_id": "20000000-0000-0000-0000-000000000001",
"quantity_sold": 32.0,
"unit_price": 2.70,
"total_revenue": 86.40,
"unit_price": 2.7,
"total_revenue": 86.4,
"sales_channel": "RETAIL",
"created_at": "2025-01-15T06:00:00Z",
"created_at": "BASE_TS",
"notes": "Venta local en Valencia Ruzafa - mañana",
"enterprise_location_sale": true,
"parent_order_id": "60000000-0000-0000-0000-000000004001"
@@ -133,10 +133,10 @@
"sale_date": "2025-01-15T10:00:00Z",
"product_id": "20000000-0000-0000-0000-000000000003",
"quantity_sold": 15.0,
"unit_price": 2.40,
"total_revenue": 36.00,
"unit_price": 2.4,
"total_revenue": 36.0,
"sales_channel": "RETAIL",
"created_at": "2025-01-15T06:00:00Z",
"created_at": "BASE_TS",
"notes": "Venta de pan de campo en Valencia",
"enterprise_location_sale": true,
"parent_order_id": "60000000-0000-0000-0000-000000004002"
@@ -147,10 +147,10 @@
"sale_date": "2025-01-14T18:30:00Z",
"product_id": "20000000-0000-0000-0000-000000000001",
"quantity_sold": 24.0,
"unit_price": 2.70,
"total_revenue": 64.80,
"unit_price": 2.7,
"total_revenue": 64.8,
"sales_channel": "RETAIL",
"created_at": "2025-01-15T06:00:00Z",
"created_at": "BASE_TS",
"notes": "Venta de tarde en Valencia Ruzafa",
"enterprise_location_sale": true,
"parent_order_id": "60000000-0000-0000-0000-000000004003"
@@ -163,11 +163,11 @@
"order_number": "ORD-VLC-RUZ-20250115-001",
"customer_name": "Mercado de Ruzafa - Puesto 12",
"customer_email": "puesto12@mercadoruzafa.es",
"order_date": "2025-01-15T06:30:00Z",
"delivery_date": "2025-01-15T08:00:00Z",
"order_date": "BASE_TS + 30m",
"delivery_date": "BASE_TS + 2h",
"status": "DELIVERED",
"total_amount": 86.40,
"created_at": "2025-01-15T06:00:00Z",
"total_amount": 86.4,
"created_at": "BASE_TS",
"notes": "Pedido matinal para puesto de mercado",
"enterprise_location_order": true
},
@@ -177,11 +177,11 @@
"order_number": "ORD-VLC-RUZ-20250115-002",
"customer_name": "Bar La Pilareta",
"customer_email": "pedidos@lapilareta.es",
"order_date": "2025-01-15T07:00:00Z",
"delivery_date": "2025-01-15T10:00:00Z",
"order_date": "BASE_TS + 1h",
"delivery_date": "BASE_TS + 4h",
"status": "DELIVERED",
"total_amount": 36.00,
"created_at": "2025-01-15T06:00:00Z",
"total_amount": 36.0,
"created_at": "BASE_TS",
"notes": "Pan de campo para bar tradicional",
"enterprise_location_order": true
},
@@ -191,11 +191,11 @@
"order_number": "ORD-VLC-RUZ-20250114-003",
"customer_name": "Restaurante La Riuà",
"customer_email": "compras@lariua.com",
"order_date": "2025-01-14T16:00:00Z",
"delivery_date": "2025-01-14T18:30:00Z",
"order_date": "BASE_TS - 1d 10h",
"delivery_date": "BASE_TS - 1d 12h 30m",
"status": "DELIVERED",
"total_amount": 64.80,
"created_at": "2025-01-15T06:00:00Z",
"total_amount": 64.8,
"created_at": "BASE_TS",
"notes": "Pedido de tarde para restaurante",
"enterprise_location_order": true
},
@@ -205,11 +205,11 @@
"order_number": "ORD-VLC-RUZ-20250116-004",
"customer_name": "Hotel Sorolla Palace",
"customer_email": "aprovisionamiento@sorollapalace.com",
"order_date": "2025-01-15T11:00:00Z",
"delivery_date": "2025-01-16T07:00:00Z",
"order_date": "BASE_TS + 5h",
"delivery_date": "BASE_TS + 1d 1h",
"status": "CONFIRMED",
"total_amount": 125.50,
"created_at": "2025-01-15T06:00:00Z",
"total_amount": 125.5,
"created_at": "BASE_TS",
"notes": "Pedido para desayuno buffet del hotel - entrega mañana",
"enterprise_location_order": true
}
@@ -224,13 +224,13 @@
"planned_quantity": 90.0,
"actual_quantity": 88.0,
"status": "COMPLETED",
"planned_start_time": "2025-01-15T03:30:00Z",
"actual_start_time": "2025-01-15T03:35:00Z",
"planned_end_time": "2025-01-15T05:30:00Z",
"actual_end_time": "2025-01-15T05:40:00Z",
"planned_start_time": "BASE_TS - 1d 21h 30m",
"actual_start_time": "BASE_TS - 1d 21h 35m",
"planned_end_time": "BASE_TS - 1d 23h 30m",
"actual_end_time": "BASE_TS - 1d 23h 40m",
"equipment_id": "30000000-0000-0000-0000-000000000003",
"operator_id": "50000000-0000-0000-0000-000000000013",
"created_at": "2025-01-15T06:00:00Z",
"created_at": "BASE_TS",
"notes": "Producción matinal de baguettes en Valencia",
"enterprise_location_production": true
},
@@ -243,13 +243,13 @@
"planned_quantity": 40.0,
"actual_quantity": 40.0,
"status": "COMPLETED",
"planned_start_time": "2025-01-15T04:00:00Z",
"actual_start_time": "2025-01-15T04:00:00Z",
"planned_end_time": "2025-01-15T06:30:00Z",
"actual_end_time": "2025-01-15T06:25:00Z",
"planned_start_time": "BASE_TS - 1d 22h",
"actual_start_time": "BASE_TS - 1d 22h",
"planned_end_time": "BASE_TS + 30m",
"actual_end_time": "BASE_TS + 25m",
"equipment_id": "30000000-0000-0000-0000-000000000003",
"operator_id": "50000000-0000-0000-0000-000000000014",
"created_at": "2025-01-15T06:00:00Z",
"created_at": "BASE_TS",
"notes": "Producción de pan de campo completada",
"enterprise_location_production": true
},
@@ -262,13 +262,13 @@
"planned_quantity": 120.0,
"actual_quantity": null,
"status": "SCHEDULED",
"planned_start_time": "2025-01-16T03:30:00Z",
"planned_start_time": "BASE_TS + 21h 30m",
"actual_start_time": null,
"planned_end_time": "2025-01-16T05:30:00Z",
"planned_end_time": "BASE_TS + 23h 30m",
"actual_end_time": null,
"equipment_id": "30000000-0000-0000-0000-000000000003",
"operator_id": "50000000-0000-0000-0000-000000000013",
"created_at": "2025-01-15T06:00:00Z",
"created_at": "BASE_TS",
"notes": "Lote programado para mañana - pedido de hotel",
"enterprise_location_production": true
}
@@ -278,11 +278,11 @@
"id": "80000000-0000-0000-0000-000000003001",
"tenant_id": "V0000000-0000-4000-a000-000000000001",
"product_id": "20000000-0000-0000-0000-000000000001",
"forecast_date": "2025-01-16T00:00:00Z",
"forecast_date": "BASE_TS + 18h",
"predicted_quantity": 78.0,
"confidence_score": 0.90,
"confidence_score": 0.9,
"forecast_horizon_days": 1,
"created_at": "2025-01-15T06:00:00Z",
"created_at": "BASE_TS",
"notes": "Previsión de demanda diaria para Valencia Ruzafa",
"enterprise_location_forecast": true
},
@@ -290,11 +290,11 @@
"id": "80000000-0000-0000-0000-000000003002",
"tenant_id": "V0000000-0000-4000-a000-000000000001",
"product_id": "20000000-0000-0000-0000-000000000003",
"forecast_date": "2025-01-16T00:00:00Z",
"forecast_date": "BASE_TS + 18h",
"predicted_quantity": 35.0,
"confidence_score": 0.87,
"forecast_horizon_days": 1,
"created_at": "2025-01-15T06:00:00Z",
"created_at": "BASE_TS",
"notes": "Previsión de pan de campo para mañana",
"enterprise_location_forecast": true
},
@@ -302,13 +302,13 @@
"id": "80000000-0000-0000-0000-000000003003",
"tenant_id": "V0000000-0000-4000-a000-000000000001",
"product_id": "20000000-0000-0000-0000-000000000001",
"forecast_date": "2025-01-17T00:00:00Z",
"forecast_date": "BASE_TS + 1d 18h",
"predicted_quantity": 95.0,
"confidence_score": 0.93,
"forecast_horizon_days": 2,
"created_at": "2025-01-15T06:00:00Z",
"created_at": "BASE_TS",
"notes": "Previsión fin de semana - aumento de demanda esperado",
"enterprise_location_forecast": true
}
]
}
}