332 lines
11 KiB
JSON
332 lines
11 KiB
JSON
{
|
|
"routes": [
|
|
{
|
|
"id": "rt_001",
|
|
"routeNumber": "RT-2024-001001",
|
|
"type": "firstMile",
|
|
"modal": "rodoviario",
|
|
"priority": "normal",
|
|
"driverId": "drv_001",
|
|
"vehicleId": "veh_001",
|
|
"companyId": "comp_001",
|
|
"customerId": "cust_001",
|
|
"origin": {
|
|
"address": "Centro de Distribuição PRA LOG - São Paulo, SP",
|
|
"coordinates": { "lat": -23.5505, "lng": -46.6333 },
|
|
"contact": "João Silva",
|
|
"phone": "+55 11 99999-0001"
|
|
},
|
|
"destination": {
|
|
"address": "Rua Augusta, 1000 - Consolação, São Paulo - SP",
|
|
"coordinates": { "lat": -23.5562, "lng": -46.6520 },
|
|
"contact": "Maria Santos",
|
|
"phone": "+55 11 88888-0001"
|
|
},
|
|
"scheduledDeparture": "2024-12-28T08:00:00Z",
|
|
"actualDeparture": "2024-12-28T08:15:00Z",
|
|
"estimatedArrival": "2024-12-28T10:00:00Z",
|
|
"actualArrival": "2024-12-28T10:30:00Z",
|
|
"status": "completed",
|
|
"currentLocation": { "lat": -23.5562, "lng": -46.6520 },
|
|
"contractId": "cont_001",
|
|
"tablePricesId": "tbl_001",
|
|
"totalValue": 850.00,
|
|
"totalWeight": 1250.5,
|
|
"estimatedCost": 420.00,
|
|
"actualCost": 445.50,
|
|
"productType": "Eletrônicos",
|
|
"createdAt": "2024-12-27T14:30:00Z",
|
|
"updatedAt": "2024-12-28T10:35:00Z",
|
|
"createdBy": "user_001",
|
|
"vehiclePlate": "TAS4J92"
|
|
},
|
|
{
|
|
"id": "rt_002",
|
|
"routeNumber": "RT-2024-001002",
|
|
"type": "lastMile",
|
|
"modal": "rodoviario",
|
|
"priority": "express",
|
|
"driverId": "drv_002",
|
|
"vehicleId": "veh_002",
|
|
"companyId": "comp_001",
|
|
"customerId": "cust_002",
|
|
"origin": {
|
|
"address": "Hub Mercado Livre - Rio de Janeiro, RJ",
|
|
"coordinates": { "lat": -22.9068, "lng": -43.1729 },
|
|
"contact": "Carlos Oliveira",
|
|
"phone": "+55 21 99999-0002"
|
|
},
|
|
"destination": {
|
|
"address": "Rua das Flores, 123 - Copacabana, Rio de Janeiro - RJ",
|
|
"coordinates": { "lat": -22.9711, "lng": -43.1822 },
|
|
"contact": "Ana Costa",
|
|
"phone": "+55 21 88888-0002"
|
|
},
|
|
"scheduledDeparture": "2024-12-28T09:00:00Z",
|
|
"actualDeparture": null,
|
|
"estimatedArrival": "2024-12-28T11:00:00Z",
|
|
"actualArrival": null,
|
|
"status": "inProgress",
|
|
"currentLocation": { "lat": -22.9400, "lng": -43.1750 },
|
|
"contractId": "cont_002",
|
|
"tablePricesId": "tbl_002",
|
|
"totalValue": 45.00,
|
|
"totalWeight": 2.8,
|
|
"estimatedCost": 25.00,
|
|
"actualCost": null,
|
|
"productType": "Roupas e Acessórios",
|
|
"createdAt": "2024-12-27T16:00:00Z",
|
|
"updatedAt": "2024-12-28T09:15:00Z",
|
|
"createdBy": "user_002",
|
|
"vehiclePlate": "MSO5821"
|
|
},
|
|
{
|
|
"id": "rt_003",
|
|
"routeNumber": "RT-2024-001003",
|
|
"type": "lineHaul",
|
|
"modal": "rodoviario",
|
|
"priority": "normal",
|
|
"driverId": "drv_003",
|
|
"vehicleId": "veh_003",
|
|
"companyId": "comp_001",
|
|
"customerId": "cust_003",
|
|
"origin": {
|
|
"address": "Terminal de Cargas - Belo Horizonte, MG",
|
|
"coordinates": { "lat": -19.9167, "lng": -43.9345 },
|
|
"contact": "Pedro Almeida",
|
|
"phone": "+55 31 99999-0003"
|
|
},
|
|
"destination": {
|
|
"address": "Porto de Vitória - Vitória, ES",
|
|
"coordinates": { "lat": -20.2976, "lng": -40.2958 },
|
|
"contact": "Luiza Ferreira",
|
|
"phone": "+55 27 88888-0003"
|
|
},
|
|
"scheduledDeparture": "2024-12-28T06:00:00Z",
|
|
"actualDeparture": "2024-12-28T06:10:00Z",
|
|
"estimatedArrival": "2024-12-28T14:00:00Z",
|
|
"actualArrival": null,
|
|
"status": "inProgress",
|
|
"currentLocation": { "lat": -20.1000, "lng": -41.5000 },
|
|
"contractId": "cont_003",
|
|
"tablePricesId": "tbl_003",
|
|
"totalValue": 2850.00,
|
|
"totalWeight": 8500.0,
|
|
"estimatedCost": 1200.00,
|
|
"actualCost": null,
|
|
"productType": "Medicamentos",
|
|
"createdAt": "2024-12-27T12:00:00Z",
|
|
"updatedAt": "2024-12-28T08:30:00Z",
|
|
"createdBy": "user_003",
|
|
"vehiclePlate": "TAS2F98"
|
|
},
|
|
{
|
|
"id": "rt_004",
|
|
"routeNumber": "RT-2024-001004",
|
|
"type": "lastMile",
|
|
"modal": "rodoviario",
|
|
"priority": "urgent",
|
|
"driverId": "drv_004",
|
|
"vehicleId": "veh_004",
|
|
"companyId": "comp_001",
|
|
"customerId": "cust_004",
|
|
"origin": {
|
|
"address": "Centro de Distribuição Shopee - São Paulo, SP",
|
|
"coordinates": { "lat": -23.4900, "lng": -46.5200 },
|
|
"contact": "Roberto Lima",
|
|
"phone": "+55 11 99999-0004"
|
|
},
|
|
"destination": {
|
|
"address": "Av. Paulista, 1578 - Bela Vista, São Paulo - SP",
|
|
"coordinates": { "lat": -23.5647, "lng": -46.6527 },
|
|
"contact": "Fernanda Rocha",
|
|
"phone": "+55 11 88888-0004"
|
|
},
|
|
"scheduledDeparture": "2024-12-28T10:00:00Z",
|
|
"actualDeparture": null,
|
|
"estimatedArrival": "2024-12-28T12:00:00Z",
|
|
"actualArrival": null,
|
|
"status": "pending",
|
|
"currentLocation": null,
|
|
"contractId": "cont_004",
|
|
"tablePricesId": "tbl_004",
|
|
"totalValue": 75.00,
|
|
"totalWeight": 5.2,
|
|
"estimatedCost": 35.00,
|
|
"actualCost": null,
|
|
"productType": "Livros e Papelaria",
|
|
"createdAt": "2024-12-28T07:30:00Z",
|
|
"updatedAt": "2024-12-28T07:30:00Z",
|
|
"createdBy": "user_004",
|
|
"vehiclePlate": "RJZ7H79"
|
|
},
|
|
{
|
|
"id": "rt_005",
|
|
"routeNumber": "RT-2024-001005",
|
|
"type": "firstMile",
|
|
"modal": "aereo",
|
|
"priority": "express",
|
|
"driverId": "drv_005",
|
|
"vehicleId": "veh_005",
|
|
"companyId": "comp_001",
|
|
"customerId": "cust_005",
|
|
"origin": {
|
|
"address": "Aeroporto Internacional do Galeão - Rio de Janeiro, RJ",
|
|
"coordinates": { "lat": -22.8099, "lng": -43.2505 },
|
|
"contact": "Marcos Vieira",
|
|
"phone": "+55 21 99999-0005"
|
|
},
|
|
"destination": {
|
|
"address": "Aeroporto de Congonhas - São Paulo, SP",
|
|
"coordinates": { "lat": -23.6261, "lng": -46.6565 },
|
|
"contact": "Juliana Martins",
|
|
"phone": "+55 11 88888-0005"
|
|
},
|
|
"scheduledDeparture": "2024-12-28T11:00:00Z",
|
|
"actualDeparture": "2024-12-28T11:05:00Z",
|
|
"estimatedArrival": "2024-12-28T12:30:00Z",
|
|
"actualArrival": "2024-12-28T12:25:00Z",
|
|
"status": "completed",
|
|
"currentLocation": { "lat": -23.6261, "lng": -46.6565 },
|
|
"contractId": "cont_005",
|
|
"tablePricesId": "tbl_005",
|
|
"totalValue": 3500.00,
|
|
"totalWeight": 450.0,
|
|
"estimatedCost": 2800.00,
|
|
"actualCost": 2750.00,
|
|
"productType": "Medicamentos",
|
|
"createdAt": "2024-12-27T18:00:00Z",
|
|
"updatedAt": "2024-12-28T12:30:00Z",
|
|
"createdBy": "user_005",
|
|
"vehiclePlate": "TAO3J98"
|
|
}
|
|
],
|
|
"metadata": {
|
|
"totalRoutes": 500,
|
|
"generatedAt": "2024-12-28T10:00:00Z",
|
|
"version": "1.0",
|
|
"description": "Dados mockados para o módulo de Rotas do ERP SAAS PraFrota",
|
|
"distributions": {
|
|
"byType": {
|
|
"firstMile": 300,
|
|
"lineHaul": 125,
|
|
"lastMile": 75
|
|
},
|
|
"byModal": {
|
|
"rodoviario": 475,
|
|
"aereo": 15,
|
|
"aquaviario": 10
|
|
},
|
|
"byStatus": {
|
|
"pending": 50,
|
|
"inProgress": 200,
|
|
"completed": 175,
|
|
"delayed": 50,
|
|
"cancelled": 25
|
|
},
|
|
"byRegion": {
|
|
"rioDeJaneiro": 150,
|
|
"saoPaulo": 175,
|
|
"minasGerais": 125,
|
|
"vitoria": 50
|
|
}
|
|
},
|
|
"realVehiclePlates": [
|
|
"TAS4J92", "MSO5821", "TAS2F98", "RJZ7H79", "TAO3J98",
|
|
"TAN6I73", "SGD4H03", "NGF2A53", "TAS2F32", "RTT1B46",
|
|
"EZQ2E60", "TDZ4J93", "SGL8D98", "TAS2F83", "RVC0J58",
|
|
"EYP4H76", "FVV7660", "RUN2B51", "RUQ9D16", "TAS5A49",
|
|
"RUN2B49", "SHX0J21", "FHT5D54", "SVG0I32", "RUN2B50",
|
|
"FYU9G72", "TAS4J93", "SRZ9B83", "TAQ4G32", "RUP2B50",
|
|
"SRG6H41", "SQX8J75", "TAS4J96", "RTT1B44", "RTM9F10",
|
|
"FLE2F99", "RUN2B63", "RVC0J65", "RUN2B52", "TUE1A37",
|
|
"RUP4H86", "RUP4H94", "RUN2B48", "SVF4I52", "STL5A43",
|
|
"TAS2J46", "TAO3I97", "TAS5A46", "SUT1B94", "LUJ7E05",
|
|
"SST4C72", "SRH6C66", "TAO6E76", "RUN2B55", "RVC8B13",
|
|
"SVF2E84", "SRO2J16", "RVT2J97", "RUN2B58", "SHB4B37",
|
|
"IWB9C17", "FJE7I82", "TAQ4G22", "SGJ9F81", "SVP9H73",
|
|
"OVM5B05", "TAO3J94", "RUP2B56", "TAO4F04", "RUN2B64",
|
|
"GGL2J42", "SRN7H36", "SFM8D30", "TAO6E80", "SVK8G96",
|
|
"SIA7J06", "TAR3E11", "RVC0J64", "RJW6G71", "SSV6C52",
|
|
"RUN2B54", "TAN6I66", "SPA0001", "SVH9G53", "RUN2B62",
|
|
"RVC0J85", "TAR3D02", "RVC4G70", "RUP4H92", "RUN2B56",
|
|
"SGL8F08", "TAO3J93", "LUC4H25", "TAN6H93", "TAQ4G30",
|
|
"RUP4H87", "SHB4B36", "SGC2B17", "RVC0J70", "SVL1G82",
|
|
"RVC0J63", "RVT2J98", "SPA0001", "RVT4F18", "TAR3C45",
|
|
"TAO4E80", "TAN6I62", "SHB4B38", "RTO9B22", "RJE8B51",
|
|
"TAO4F02", "SGJ9G23", "SRU2H94", "RTT1B48", "TAN6I69",
|
|
"RUP2B49", "RUW9C02", "RUP4H91", "RVC0J74", "TAN6H99",
|
|
"FZG8F72", "RUP4H88", "TAS2E35", "RUN2B60", "RTO9B84",
|
|
"GHM7A76", "RTM9F11", "TAN6H97", "SQX9G04", "RVU9160",
|
|
"SGL8E65", "RTT1B43", "TAO4F05", "TOG3H62", "TAS5A47",
|
|
"TAQ6J50", "SRH4E56", "NSZ5318", "RUN2B53", "TAO3J97",
|
|
"SGL8E73", "SHX0J22", "SFP6G82", "SRZ9C22", "RTT1B45",
|
|
"TAN6163", "LTO7G84", "SGL8D26", "TAN6I59", "TAO4E89",
|
|
"TAO4E90", "TAS2J51", "SGL8F81", "RTM9F14", "FKP9A34",
|
|
"TAS2J45", "QUS3C30", "GDM8I81", "TAQ4G36", "RVC0J59",
|
|
"TAS5A44", "RUN2B61", "RVC4G71", "TAS4J95", "TAQ4G37",
|
|
"SPA0001", "RTB7E19", "TAS2E31", "RUP4H81", "SGD9A92",
|
|
"RJF7I82", "EVU9280", "SPA0001", "SSC1E94", "TAR3E21",
|
|
"TAN6I71", "TAS4J92", "TAN6I57", "TAO4F90", "SGJ2F13",
|
|
"SGJ2D96", "SGJ2G40", "TAR3E14", "KRQ9A48", "RUP2B53",
|
|
"SRN5C38", "SGJ2G98", "SRA7J03", "RIU1G19", "EUQ4159",
|
|
"SRH5C60", "SSB6H85", "SRN6F73", "SRY4B65", "SGL8C62",
|
|
"STU7F45", "SGJ9G45", "RVT4F19"
|
|
],
|
|
"productTypes": [
|
|
"Medicamentos",
|
|
"Eletrônicos",
|
|
"Alimentos Perecíveis",
|
|
"Alimentos Não Perecíveis",
|
|
"Roupas e Acessórios",
|
|
"Livros e Papelaria",
|
|
"Casa e Decoração",
|
|
"Cosméticos",
|
|
"Automotive",
|
|
"Brinquedos"
|
|
],
|
|
"lastMileMarketplaces": [
|
|
"Mercado Livre",
|
|
"Shopee",
|
|
"Amazon"
|
|
],
|
|
"coordinates": {
|
|
"rioDeJaneiro": {
|
|
"center": { "lat": -22.9068, "lng": -43.1729 },
|
|
"bounds": {
|
|
"north": -22.7000,
|
|
"south": -23.1000,
|
|
"east": -43.0000,
|
|
"west": -43.8000
|
|
}
|
|
},
|
|
"saoPaulo": {
|
|
"center": { "lat": -23.5505, "lng": -46.6333 },
|
|
"bounds": {
|
|
"north": -23.3000,
|
|
"south": -23.8000,
|
|
"east": -46.3000,
|
|
"west": -47.0000
|
|
}
|
|
},
|
|
"minasGerais": {
|
|
"center": { "lat": -19.9167, "lng": -43.9345 },
|
|
"bounds": {
|
|
"north": -19.7000,
|
|
"south": -20.2000,
|
|
"east": -43.7000,
|
|
"west": -44.2000
|
|
}
|
|
},
|
|
"vitoria": {
|
|
"center": { "lat": -20.2976, "lng": -40.2958 },
|
|
"bounds": {
|
|
"north": -20.1000,
|
|
"south": -20.5000,
|
|
"east": -40.1000,
|
|
"west": -40.5000
|
|
}
|
|
}
|
|
}
|
|
}
|
|
} |