diff --git a/dane/serwis.employees.json b/dane/serwis.employees.json new file mode 100644 index 0000000..5b57847 --- /dev/null +++ b/dane/serwis.employees.json @@ -0,0 +1,32 @@ +[ + { + "_id": { "$oid": "6850a1a25808b7d489469400" }, + "name": "Adrian", + "archived": false + }, + { + "_id": { "$oid": "6850a1b15808b7d489469401" }, + "name": "Maks", + "archived": false + }, + { + "_id": { "$oid": "6850a1bc5808b7d489469402" }, + "name": "Jan F.", + "archived": false + }, + { + "_id": { "$oid": "6850a1c75808b7d489469403" }, + "name": "Szef", + "archived": false + }, + { + "_id": { "$oid": "6850a1d15808b7d489469404" }, + "name": "Anna K.", + "archived": true + }, + { + "_id": { "$oid": "6850a1dd5808b7d489469405" }, + "name": "Piotr Z.", + "archived": true + } +] diff --git a/dane/serwis.parts.json b/dane/serwis.parts.json new file mode 100644 index 0000000..cd34e31 --- /dev/null +++ b/dane/serwis.parts.json @@ -0,0 +1,18 @@ +[{ + "_id": { + "$oid": "6838a225aa635f4b87ba08fd" + }, + "name": "Dętka 29\"", + "price": 20, + "category": "Dętki", + "unit": "szt." +}, +{ + "_id": { + "$oid": "6838a225aa635f4b87ba08fe" + }, + "name": "Dętka 29\" Continental", + "price": 25, + "category": "Dętki", + "unit": "szt." +}] \ No newline at end of file diff --git a/dane/serwis.places.json b/dane/serwis.places.json new file mode 100644 index 0000000..7e5456a --- /dev/null +++ b/dane/serwis.places.json @@ -0,0 +1,20 @@ +[ + { + "_id": { "$oid": "6850a3215808b7d489469410" }, + "name": "Wojc", + "address": "ul. Wojciechowska 12, Lublin", + "archived": false + }, + { + "_id": { "$oid": "6850a32b5808b7d489469411" }, + "name": "Gęsia", + "address": "ul. Gęsia 7, Lublin", + "archived": false + }, + { + "_id": { "$oid": "6850a3365808b7d489469412" }, + "name": "Gala", + "address": "al. Spółdzielczości Pracy 36, Lublin", + "archived": false + } +] diff --git a/dane/serwis.repairs.json b/dane/serwis.repairs.json new file mode 100644 index 0000000..581b7e7 --- /dev/null +++ b/dane/serwis.repairs.json @@ -0,0 +1,204 @@ +[ + { + "_id": { "$oid": "6851a1a25808b7d489469500" }, + "phone_number": "501123456", + "bike_name": "Kross Hexagon", + "issue_description": "Wymiana dętki i przegląd regulacyjny", + "arrival_date": { "$date": "2025-05-20T10:00:00Z" }, + "collection_date": { "$date": "2025-05-22T15:00:00Z" }, + "repair_employee_ref": { "$oid": "6850a1a25808b7d489469400" }, + "collection_employee_ref": { "$oid": "6850a1b15808b7d489469401" }, + "discount": 10.0, + "additional_costs": 5.0, + "status_name": "Zakończona", + "place_ref_id": { "$oid": "6850a3215808b7d489469410" }, + "note": "Dętka wymieniona, regulacja hamulców wykonana.", + "parts": [ + { "part": { "$oid": "6838a225aa635f4b87ba08fd" }, "amount": 1 } + ], + "services": [ + { "service": { "$oid": "6838a2e0aa635f4b87ba0901" }, "amount": 1 }, + { "service": { "$oid": "6838a2e0aa635f4b87ba0903" }, "amount": 1 } + ] + }, + { + "_id": { "$oid": "6851a1a25808b7d489469501" }, + "phone_number": "502654321", + "bike_name": "Merida Big Nine", + "issue_description": "Przegląd gwarancyjny i wymiana opony", + "arrival_date": { "$date": "2025-05-25T09:30:00Z" }, + "collection_date": { "$date": "2025-05-28T17:00:00Z" }, + "repair_employee_ref": { "$oid": "6850a1bc5808b7d489469402" }, + "collection_employee_ref": { "$oid": "6850a1c75808b7d489469403" }, + "discount": 0.0, + "additional_costs": 0.0, + "status_name": "Wydana", + "place_ref_id": { "$oid": "6850a32b5808b7d489469411" }, + "note": "Brak zastrzeżeń. Wydana bez uwag.", + "parts": [ + { "part": { "$oid": "6838a225aa635f4b87ba08fe" }, "amount": 1 } + ], + "services": [ + { "service": { "$oid": "6838a2e0aa635f4b87ba0904" }, "amount": 1 }, + { "service": { "$oid": "6838a2e0aa635f4b87ba0902" }, "amount": 1 } + ] + }, + { + "_id": { "$oid": "6851a1a25808b7d489469502" }, + "phone_number": "503789012", + "bike_name": "Specialized Rockhopper", + "issue_description": "Drobna regulacja i wymiana dętki", + "arrival_date": { "$date": "2025-05-28T08:00:00Z" }, + "collection_date": null, + "repair_employee_ref": { "$oid": "6850a1a25808b7d489469400" }, + "collection_employee_ref": null, + "discount": 5.0, + "additional_costs": 0.0, + "status_name": "W trakcie", + "place_ref_id": { "$oid": "6850a3365808b7d489469412" }, + "note": "Czekamy na akceptację klienta na dodatkową usługę.", + "parts": [ + { "part": { "$oid": "6838a225aa635f4b87ba08fd" }, "amount": 1 } + ], + "services": [ + { "service": { "$oid": "6838a2e0aa635f4b87ba0901" }, "amount": 1 } + ] + }, + { + "_id": { "$oid": "6851a1a25808b7d489469503" }, + "phone_number": "504112233", + "bike_name": "Giant Talon", + "issue_description": "Przegląd gwarancyjny KROSS PRO", + "arrival_date": { "$date": "2025-05-15T14:00:00Z" }, + "collection_date": { "$date": "2025-05-17T13:00:00Z" }, + "repair_employee_ref": { "$oid": "6850a1bc5808b7d489469402" }, + "collection_employee_ref": { "$oid": "6850a1b15808b7d489469401" }, + "discount": 0.0, + "additional_costs": 10.0, + "status_name": "Zakończona", + "place_ref_id": { "$oid": "6850a32b5808b7d489469411" }, + "note": "Przegląd wykonany, drobne poprawki hamulców.", + "parts": [], + "services": [ + { "service": { "$oid": "6838a2e0aa635f4b87ba0905" }, "amount": 1 } + ] + }, + { + "_id": { "$oid": "6851a1a25808b7d489469504" }, + "phone_number": "505445566", + "bike_name": "Trek Marlin", + "issue_description": "Wymiana dętki Continental i regulacja przerzutek", + "arrival_date": { "$date": "2025-05-23T11:30:00Z" }, + "collection_date": { "$date": "2025-05-24T16:00:00Z" }, + "repair_employee_ref": { "$oid": "6850a1c75808b7d489469403" }, + "collection_employee_ref": { "$oid": "6850a1a25808b7d489469400" }, + "discount": 7.5, + "additional_costs": 0.0, + "status_name": "Wydana", + "place_ref_id": { "$oid": "6850a3215808b7d489469410" }, + "note": "Wymieniono dętkę i poprawiono przerzutki.", + "parts": [ + { "part": { "$oid": "6838a225aa635f4b87ba08fe" }, "amount": 1 } + ], + "services": [ + { "service": { "$oid": "6838a2e0aa635f4b87ba0901" }, "amount": 1 } + ] + }, + { + "_id": { "$oid": "6851a1a25808b7d489469505" }, + "phone_number": "506778899", + "bike_name": "Scott Aspect", + "issue_description": "Przegląd gwarancyjny KROSS E-BIKE", + "arrival_date": { "$date": "2025-05-18T09:00:00Z" }, + "collection_date": { "$date": "2025-05-20T14:00:00Z" }, + "repair_employee_ref": { "$oid": "6850a1c75808b7d489469403" }, + "collection_employee_ref": { "$oid": "6850a1c75808b7d489469403" }, + "discount": 0.0, + "additional_costs": 15.0, + "status_name": "Zakończona", + "place_ref_id": { "$oid": "6850a3365808b7d489469412" }, + "note": "Przegląd e-bike, wymiana baterii - koszt dodatkowy.", + "parts": [], + "services": [ + { "service": { "$oid": "6838a2e0aa635f4b87ba0906" }, "amount": 1 } + ] + }, + { + "_id": { "$oid": "6851a1a25808b7d489469506" }, + "phone_number": "507334455", + "bike_name": "Kellys Spider", + "issue_description": "Wymiana opony", + "arrival_date": { "$date": "2025-05-19T10:00:00Z" }, + "collection_date": { "$date": "2025-05-21T16:00:00Z" }, + "repair_employee_ref": { "$oid": "6850a1b15808b7d489469401" }, + "collection_employee_ref": { "$oid": "6850a1a25808b7d489469400" }, + "discount": 0.0, + "additional_costs": 0.0, + "status_name": "Wydana", + "place_ref_id": { "$oid": "6850a3215808b7d489469410" }, + "note": "Wymieniono oponę na nową.", + "parts": [], + "services": [ + { "service": { "$oid": "6838a2e0aa635f4b87ba0902" }, "amount": 1 } + ] + }, + { + "_id": { "$oid": "6851a1a25808b7d489469507" }, + "phone_number": "508998877", + "bike_name": "Cube Acid", + "issue_description": "Przegląd gwarancyjny KROSS KID", + "arrival_date": { "$date": "2025-05-21T08:00:00Z" }, + "collection_date": { "$date": "2025-05-23T15:00:00Z" }, + "repair_employee_ref": { "$oid": "6850a1a25808b7d489469400" }, + "collection_employee_ref": { "$oid": "6850a1c75808b7d489469403" }, + "discount": 0.0, + "additional_costs": 0.0, + "status_name": "Zakończona", + "place_ref_id": { "$oid": "6850a32b5808b7d489469411" }, + "note": "Przegląd dla dziecięcego roweru wykonany.", + "parts": [], + "services": [ + { "service": { "$oid": "6838a2e0aa635f4b87ba0907" }, "amount": 1 } + ] + }, + { + "_id": { "$oid": "6851a1a25808b7d489469508" }, + "phone_number": "509112233", + "bike_name": "Author Spirit", + "issue_description": "Wymiana dętki i dodatkowa regulacja hamulców", + "arrival_date": { "$date": "2025-05-27T11:00:00Z" }, + "collection_date": null, + "repair_employee_ref": { "$oid": "6850a1c75808b7d489469403" }, + "collection_employee_ref": null, + "discount": 0.0, + "additional_costs": 5.0, + "status_name": "W trakcie", + "place_ref_id": { "$oid": "6850a3365808b7d489469412" }, + "note": "W trakcie pracy, klient powiadomiony.", + "parts": [ + { "part": { "$oid": "6838a225aa635f4b87ba08fd" }, "amount": 1 } + ], + "services": [ + { "service": { "$oid": "6838a2e0aa635f4b87ba0901" }, "amount": 1 } + ] + }, + { + "_id": { "$oid": "6851a1a25808b7d489469509" }, + "phone_number": "510445566", + "bike_name": "Kross Level", + "issue_description": "Przegląd regulacyjny", + "arrival_date": { "$date": "2025-05-29T10:00:00Z" }, + "collection_date": null, + "repair_employee_ref": { "$oid": "6850a1bc5808b7d489469402" }, + "collection_employee_ref": null, + "discount": 0.0, + "additional_costs": 0.0, + "status_name": "W trakcie", + "place_ref_id": { "$oid": "6850a3215808b7d489469410" }, + "note": "Zaplanowany przegląd regulacyjny.", + "parts": [], + "services": [ + { "service": { "$oid": "6838a2e0aa635f4b87ba0903" }, "amount": 1 } + ] + } +] diff --git a/dane/serwis.services.json b/dane/serwis.services.json new file mode 100644 index 0000000..dfcd8d2 --- /dev/null +++ b/dane/serwis.services.json @@ -0,0 +1,56 @@ +[{ + "_id": { + "$oid": "6838a2e0aa635f4b87ba0901" + }, + "name": "Wymiana dętki", + "price": 20, + "category": "Ogumienie" +}, +{ + "_id": { + "$oid": "6838a2e0aa635f4b87ba0902" + }, + "name": "Wymiana opony", + "price": 20, + "category": "Ogumienie" +}, +{ + "_id": { + "$oid": "6838a2e0aa635f4b87ba0903" + }, + "name": "Przegląd regulacyjny", + "price": 150, + "category": "Przegląd" +}, +{ + "_id": { + "$oid": "6838a2e0aa635f4b87ba0904" + }, + "name": "Przegląd gwarancyjny KROSS", + "price": 90, + "category": "Przegląd" +}, +{ + "_id": { + "$oid": "6838a2e0aa635f4b87ba0905" + }, + "name": "Przegląd gwarancyjny KROSS PRO", + "price": 120, + "category": "Przegląd" +}, +{ + "_id": { + "$oid": "6838a2e0aa635f4b87ba0906" + }, + "name": "Przegląd gwarancyjny KROSS E-BIKE", + "price": 140, + "category": "Przegląd" +}, +{ + "_id": { + "$oid": "6838a2e0aa635f4b87ba0907" + }, + "name": "Przegląd gwarancyjny KROSS KID", + "price": 60, + "category": "Przegląd" +}] \ No newline at end of file