Files
bakery-ia/shared/demo/fixtures/enterprise/parent/08-orders.json
2025-12-17 13:03:52 +01:00

200 lines
6.3 KiB
JSON

{
"customers": [
{
"id": "A0000000-0000-4000-a000-000000000001",
"tenant_id": "80000000-0000-4000-a000-000000000001",
"name": "Madrid - Salamanca",
"customer_type": "WHOLESALE",
"email": "mad@panaderiaartesana.es",
"phone": "+34 910 123 400",
"address": "Calle de Serrano, 48",
"city": "Madrid",
"postal_code": "28001",
"created_at": "BASE_TS - 365d",
"customer_code": "CUST-0001",
"contact_person": "N/A",
"total_orders": 0,
"total_spent": 0.0,
"status": "ACTIVE",
"country": "Espa\u00f1a",
"notes": ""
},
{
"id": "B0000000-0000-4000-a000-000000000001",
"tenant_id": "80000000-0000-4000-a000-000000000001",
"name": "Barcelona - Eixample",
"customer_type": "WHOLESALE",
"email": "bcn@panaderiaartesana.es",
"phone": "+34 911 123 401",
"address": "Passeig de Gr\u00e0cia, 92",
"city": "Barcelona",
"postal_code": "08008",
"created_at": "BASE_TS - 365d",
"customer_code": "CUST-0001",
"contact_person": "N/A",
"total_orders": 0,
"total_spent": 0.0,
"status": "ACTIVE",
"country": "Espa\u00f1a",
"notes": ""
},
{
"id": "C0000000-0000-4000-a000-000000000001",
"tenant_id": "80000000-0000-4000-a000-000000000001",
"name": "Valencia - Ruzafa",
"customer_type": "WHOLESALE",
"email": "vlc@panaderiaartesana.es",
"phone": "+34 912 123 402",
"address": "Calle de Sueca, 25",
"city": "Valencia",
"postal_code": "46006",
"created_at": "BASE_TS - 365d",
"customer_code": "CUST-0001",
"contact_person": "N/A",
"total_orders": 0,
"total_spent": 0.0,
"status": "ACTIVE",
"country": "Espa\u00f1a",
"notes": ""
},
{
"id": "D0000000-0000-4000-a000-000000000001",
"tenant_id": "80000000-0000-4000-a000-000000000001",
"name": "Seville - Triana",
"customer_type": "WHOLESALE",
"email": "sev@panaderiaartesana.es",
"phone": "+34 913 123 403",
"address": "Calle Betis, 15",
"city": "Seville",
"postal_code": "41010",
"created_at": "BASE_TS - 365d",
"customer_code": "CUST-0001",
"contact_person": "N/A",
"total_orders": 0,
"total_spent": 0.0,
"status": "ACTIVE",
"country": "Espa\u00f1a",
"notes": ""
},
{
"id": "E0000000-0000-4000-a000-000000000001",
"tenant_id": "80000000-0000-4000-a000-000000000001",
"name": "Bilbao - Casco Viejo",
"customer_type": "WHOLESALE",
"email": "bil@panaderiaartesana.es",
"phone": "+34 914 123 404",
"address": "Calle Somera, 8",
"city": "Bilbao",
"postal_code": "48005",
"created_at": "BASE_TS - 365d",
"customer_code": "CUST-0001",
"contact_person": "N/A",
"total_orders": 0,
"total_spent": 0.0,
"status": "ACTIVE",
"country": "Espa\u00f1a",
"notes": ""
},
{
"id": "60000000-0000-0000-0000-000000000001",
"tenant_id": "80000000-0000-4000-a000-000000000001",
"customer_code": "CUST-001",
"name": "Restaurante El Buen Yantar",
"customer_type": "WHOLESALE",
"contact_person": "Luis G\u00f3mez",
"email": "compras@buenyantar.es",
"phone": "+34 912 345 678",
"address": "Calle Mayor, 45",
"city": "Madrid",
"postal_code": "28013",
"country": "Espa\u00f1a",
"status": "ACTIVE",
"total_orders": 45,
"total_spent": 3250.75,
"created_at": "BASE_TS",
"notes": "Regular wholesale customer - weekly orders"
},
{
"id": "60000000-0000-0000-0000-000000000002",
"tenant_id": "80000000-0000-4000-a000-000000000001",
"customer_code": "CUST-002",
"name": "Cafeter\u00eda La Esquina",
"customer_type": "WHOLESALE",
"contact_person": "Marta Ruiz",
"email": "cafeteria@laesquina.com",
"phone": "+34 913 456 789",
"address": "Plaza del Sol, 12",
"city": "Madrid",
"postal_code": "28012",
"country": "Espa\u00f1a",
"status": "ACTIVE",
"total_orders": 12,
"total_spent": 850.2,
"created_at": "BASE_TS",
"notes": "Small retail customer - biweekly orders"
},
{
"id": "60000000-0000-0000-0000-000000000003",
"tenant_id": "80000000-0000-4000-a000-000000000001",
"customer_code": "CUST-003",
"name": "Hotel Madrid Plaza",
"customer_type": "WHOLESALE",
"contact_person": "Carlos Fern\u00e1ndez",
"email": "compras@hotelmadridplaza.com",
"phone": "+34 914 567 890",
"address": "Calle Gran V\u00eda, 25",
"city": "Madrid",
"postal_code": "28013",
"country": "Espa\u00f1a",
"status": "ACTIVE",
"total_orders": 28,
"total_spent": 2150.5,
"created_at": "BASE_TS",
"notes": "Hotel chain - large volume orders"
}
],
"order_items": [
{
"id": "60000000-0000-0000-0000-000000000101",
"tenant_id": "80000000-0000-4000-a000-000000000001",
"order_id": "60000000-0000-0000-0000-000000000001",
"product_id": "20000000-0000-0000-0000-000000000001",
"quantity": 250.0,
"unit_price": 2.12,
"total_price": 125.0,
"created_at": "BASE_TS"
},
{
"id": "60000000-0000-0000-0000-000000000102",
"tenant_id": "80000000-0000-4000-a000-000000000001",
"order_id": "60000000-0000-0000-0000-000000000002",
"product_id": "20000000-0000-0000-0000-000000000002",
"quantity": 60.0,
"unit_price": 3.19,
"total_price": 45.0,
"created_at": "BASE_TS"
},
{
"id": "60000000-0000-0000-0000-000000000199",
"tenant_id": "80000000-0000-4000-a000-000000000001",
"order_id": "60000000-0000-0000-0000-000000000099",
"product_id": "20000000-0000-0000-0000-000000000001",
"quantity": 375.0,
"unit_price": 2.08,
"total_price": 183.75,
"created_at": "BASE_TS",
"notes": "Urgent delivery - priority processing"
},
{
"id": "60000000-0000-0000-0000-000000000103",
"tenant_id": "80000000-0000-4000-a000-000000000001",
"order_id": "60000000-0000-0000-0000-000000000100",
"product_id": "20000000-0000-0000-0000-000000000003",
"quantity": 100.0,
"unit_price": 2.76,
"total_price": 65.0,
"created_at": "BASE_TS"
}
],
"customer_orders": []
}