2023-12-23 09:14:46 +04:00
|
|
|
|
{
|
|
|
|
|
"tickets": [
|
|
|
|
|
{
|
|
|
|
|
"id": 1,
|
|
|
|
|
"passengers_count": 1,
|
2023-12-25 06:43:35 +04:00
|
|
|
|
"ticket_cost": 2680,
|
|
|
|
|
"flightId": 6
|
|
|
|
|
},
|
|
|
|
|
{
|
|
|
|
|
"id": 2,
|
2023-12-26 23:46:16 +04:00
|
|
|
|
"passengers_count": 2,
|
|
|
|
|
"ticket_cost": 4870,
|
2023-12-25 06:43:35 +04:00
|
|
|
|
"flightId": 5
|
2023-12-26 23:46:16 +04:00
|
|
|
|
},
|
|
|
|
|
{
|
|
|
|
|
"passengers_count": 5,
|
|
|
|
|
"ticket_cost": 54000,
|
|
|
|
|
"flightId": 10,
|
|
|
|
|
"id": 3
|
|
|
|
|
},
|
|
|
|
|
{
|
|
|
|
|
"passengers_count": 1,
|
|
|
|
|
"ticket_cost": 2680,
|
|
|
|
|
"flightId": 6,
|
|
|
|
|
"id": 4
|
|
|
|
|
},
|
|
|
|
|
{
|
|
|
|
|
"passengers_count": 3,
|
|
|
|
|
"ticket_cost": 26160,
|
|
|
|
|
"flightId": 8,
|
|
|
|
|
"id": 5
|
|
|
|
|
},
|
|
|
|
|
{
|
|
|
|
|
"passengers_count": 5,
|
|
|
|
|
"ticket_cost": 54000,
|
|
|
|
|
"flightId": 10,
|
|
|
|
|
"id": 6
|
|
|
|
|
},
|
|
|
|
|
{
|
|
|
|
|
"passengers_count": 4,
|
|
|
|
|
"ticket_cost": 71200,
|
|
|
|
|
"flightId": 9,
|
|
|
|
|
"id": 7
|
|
|
|
|
},
|
|
|
|
|
{
|
|
|
|
|
"passengers_count": 6,
|
|
|
|
|
"ticket_cost": 106800,
|
|
|
|
|
"flightId": 9,
|
|
|
|
|
"id": 9
|
|
|
|
|
},
|
|
|
|
|
{
|
|
|
|
|
"passengers_count": 6,
|
|
|
|
|
"ticket_cost": 106800,
|
|
|
|
|
"flightId": 9,
|
|
|
|
|
"id": 10
|
|
|
|
|
},
|
|
|
|
|
{
|
|
|
|
|
"passengers_count": 6,
|
|
|
|
|
"ticket_cost": 106800,
|
|
|
|
|
"flightId": 9,
|
|
|
|
|
"id": 11
|
|
|
|
|
},
|
|
|
|
|
{
|
|
|
|
|
"passengers_count": 11,
|
|
|
|
|
"ticket_cost": 29480,
|
|
|
|
|
"flightId": 6,
|
|
|
|
|
"id": 12
|
|
|
|
|
},
|
|
|
|
|
{
|
|
|
|
|
"passengers_count": 3,
|
|
|
|
|
"ticket_cost": 8040,
|
|
|
|
|
"flightId": 6,
|
|
|
|
|
"id": 13
|
|
|
|
|
},
|
|
|
|
|
{
|
|
|
|
|
"passengers_count": 8,
|
|
|
|
|
"ticket_cost": 142400,
|
|
|
|
|
"flightId": 9,
|
|
|
|
|
"id": 14
|
|
|
|
|
},
|
|
|
|
|
{
|
|
|
|
|
"passengers_count": 1,
|
|
|
|
|
"ticket_cost": 2680,
|
|
|
|
|
"flightId": 6,
|
|
|
|
|
"id": 15
|
|
|
|
|
},
|
|
|
|
|
{
|
|
|
|
|
"passengers_count": 1,
|
|
|
|
|
"ticket_cost": 2680,
|
|
|
|
|
"flightId": 6,
|
|
|
|
|
"id": 16
|
|
|
|
|
},
|
|
|
|
|
{
|
|
|
|
|
"passengers_count": 1,
|
|
|
|
|
"ticket_cost": 2680,
|
|
|
|
|
"flightId": 6,
|
|
|
|
|
"id": 17
|
|
|
|
|
},
|
|
|
|
|
{
|
|
|
|
|
"passengers_count": 1,
|
|
|
|
|
"ticket_cost": 17800,
|
|
|
|
|
"flightId": 9,
|
|
|
|
|
"id": 18
|
|
|
|
|
},
|
|
|
|
|
{
|
|
|
|
|
"passengers_count": 5,
|
|
|
|
|
"ticket_cost": 5000,
|
|
|
|
|
"flightId": 2,
|
|
|
|
|
"id": 19
|
|
|
|
|
},
|
|
|
|
|
{
|
|
|
|
|
"passengers_count": 6,
|
|
|
|
|
"ticket_cost": 6000,
|
|
|
|
|
"flightId": 2,
|
|
|
|
|
"id": 20
|
|
|
|
|
},
|
|
|
|
|
{
|
|
|
|
|
"passengers_count": 3,
|
|
|
|
|
"ticket_cost": 3000,
|
|
|
|
|
"flightId": 2,
|
|
|
|
|
"id": 21
|
|
|
|
|
},
|
|
|
|
|
{
|
|
|
|
|
"passengers_count": 10,
|
|
|
|
|
"ticket_cost": 10000,
|
|
|
|
|
"flightId": 2,
|
|
|
|
|
"id": 22
|
2023-12-27 03:18:53 +04:00
|
|
|
|
},
|
|
|
|
|
{
|
|
|
|
|
"passengers_count": 6,
|
|
|
|
|
"ticket_cost": 6000,
|
|
|
|
|
"flightId": 2,
|
|
|
|
|
"id": 23
|
2023-12-23 09:14:46 +04:00
|
|
|
|
}
|
|
|
|
|
],
|
2023-12-25 06:43:35 +04:00
|
|
|
|
"flights": [
|
2023-12-23 09:14:46 +04:00
|
|
|
|
{
|
|
|
|
|
"id": 2,
|
|
|
|
|
"direction_from": "a",
|
|
|
|
|
"direction_to": "b",
|
|
|
|
|
"departure_date": "1-1-2024",
|
|
|
|
|
"arrival_date": "1-1-2024",
|
|
|
|
|
"tickets_count": 100,
|
|
|
|
|
"one_ticket_cost": 1000
|
|
|
|
|
},
|
|
|
|
|
{
|
2023-12-25 06:43:35 +04:00
|
|
|
|
"direction_from": "Санкт-Петербург",
|
2023-12-23 09:14:46 +04:00
|
|
|
|
"direction_to": "Сочи",
|
|
|
|
|
"departure_date": "17-12-2023",
|
|
|
|
|
"arrival_date": "17-12-2023",
|
|
|
|
|
"tickets_count": 320,
|
|
|
|
|
"one_ticket_cost": 2435,
|
|
|
|
|
"id": 5
|
|
|
|
|
},
|
|
|
|
|
{
|
2023-12-23 11:31:13 +04:00
|
|
|
|
"id": 6,
|
2023-12-25 06:43:35 +04:00
|
|
|
|
"direction_from": "Ульяновск",
|
2023-12-25 17:47:51 +04:00
|
|
|
|
"direction_to": "Москва",
|
2023-12-23 09:14:46 +04:00
|
|
|
|
"departure_date": "26-12-2023",
|
|
|
|
|
"arrival_date": "26-12-2023",
|
2023-12-23 11:31:13 +04:00
|
|
|
|
"tickets_count": 50,
|
|
|
|
|
"one_ticket_cost": 2680
|
2023-12-25 06:43:35 +04:00
|
|
|
|
},
|
2023-12-23 09:14:46 +04:00
|
|
|
|
{
|
2023-12-26 00:22:43 +04:00
|
|
|
|
"id": 7,
|
2023-12-25 06:43:35 +04:00
|
|
|
|
"direction_from": "Хабаровск",
|
2023-12-25 17:47:51 +04:00
|
|
|
|
"direction_to": "Кострома",
|
2023-12-23 09:14:46 +04:00
|
|
|
|
"departure_date": "5-1-2024",
|
|
|
|
|
"arrival_date": "5-1-2024",
|
|
|
|
|
"tickets_count": 200,
|
2023-12-26 00:22:43 +04:00
|
|
|
|
"one_ticket_cost": 6870
|
2023-12-23 09:14:46 +04:00
|
|
|
|
},
|
|
|
|
|
{
|
2023-12-25 06:43:35 +04:00
|
|
|
|
"direction_from": "Астрахань",
|
2023-12-23 09:14:46 +04:00
|
|
|
|
"direction_to": "Нижний Новгород",
|
|
|
|
|
"departure_date": "28-1-2024",
|
|
|
|
|
"arrival_date": "28-1-2024",
|
|
|
|
|
"tickets_count": 68,
|
|
|
|
|
"one_ticket_cost": 8720,
|
|
|
|
|
"id": 8
|
|
|
|
|
},
|
|
|
|
|
{
|
|
|
|
|
"direction_from": "Крым",
|
|
|
|
|
"direction_to": "Мурманск",
|
|
|
|
|
"departure_date": "27-1-2024",
|
|
|
|
|
"arrival_date": "28-1-2024",
|
|
|
|
|
"tickets_count": 100,
|
|
|
|
|
"one_ticket_cost": 17800,
|
|
|
|
|
"id": 9
|
|
|
|
|
},
|
|
|
|
|
{
|
|
|
|
|
"direction_from": "Вологда",
|
|
|
|
|
"direction_to": "Астана",
|
|
|
|
|
"departure_date": "14-1-2024",
|
|
|
|
|
"arrival_date": "15-1-2024",
|
|
|
|
|
"tickets_count": 200,
|
|
|
|
|
"one_ticket_cost": 10800,
|
|
|
|
|
"id": 10
|
|
|
|
|
}
|
|
|
|
|
],
|
|
|
|
|
"users": [
|
|
|
|
|
{
|
|
|
|
|
"id": 2,
|
|
|
|
|
"surname": "Артамонова",
|
|
|
|
|
"name": "Татьяна",
|
2023-12-25 17:47:51 +04:00
|
|
|
|
"patronymic": "Валерьевна",
|
2023-12-23 09:14:46 +04:00
|
|
|
|
"date_of_birth": "7-11-2003",
|
|
|
|
|
"email": "usertt@mail.ru",
|
|
|
|
|
"password": "usertt",
|
2023-12-26 23:46:16 +04:00
|
|
|
|
"role": "User"
|
2023-12-23 09:14:46 +04:00
|
|
|
|
},
|
|
|
|
|
{
|
|
|
|
|
"surname": "а",
|
|
|
|
|
"name": "а",
|
|
|
|
|
"patronymic": "а",
|
|
|
|
|
"date_of_birth": "17-5-2000",
|
|
|
|
|
"email": "user@mail.ru",
|
|
|
|
|
"password": "user",
|
2023-12-26 23:46:16 +04:00
|
|
|
|
"role": "User",
|
2023-12-23 09:14:46 +04:00
|
|
|
|
"id": 3
|
|
|
|
|
},
|
|
|
|
|
{
|
|
|
|
|
"surname": "ыщылы",
|
|
|
|
|
"name": "шчшчгч",
|
|
|
|
|
"patronymic": "шчшчшч",
|
|
|
|
|
"date_of_birth": "10-12-2015",
|
|
|
|
|
"email": "aaa@mail.ru",
|
|
|
|
|
"password": "aaa",
|
2023-12-26 23:46:16 +04:00
|
|
|
|
"role": "User",
|
2023-12-23 09:14:46 +04:00
|
|
|
|
"id": 4
|
|
|
|
|
},
|
2023-12-23 11:31:13 +04:00
|
|
|
|
{
|
|
|
|
|
"surname": "фффф",
|
|
|
|
|
"name": "ффф",
|
|
|
|
|
"patronymic": "ффф",
|
|
|
|
|
"date_of_birth": "7-5-2005",
|
|
|
|
|
"email": "userff@mail.ru",
|
|
|
|
|
"password": "password",
|
2023-12-26 23:46:16 +04:00
|
|
|
|
"role": "User",
|
2023-12-23 11:31:13 +04:00
|
|
|
|
"id": 6
|
2023-12-26 00:22:43 +04:00
|
|
|
|
},
|
2023-12-23 11:31:13 +04:00
|
|
|
|
{
|
|
|
|
|
"surname": "ккк",
|
|
|
|
|
"name": "ккк",
|
|
|
|
|
"patronymic": "ккк",
|
|
|
|
|
"date_of_birth": "23-12-2011",
|
|
|
|
|
"email": "kkk@mail.ru",
|
|
|
|
|
"password": "kkk",
|
2023-12-26 23:46:16 +04:00
|
|
|
|
"role": "User",
|
2023-12-23 11:31:13 +04:00
|
|
|
|
"id": 7
|
2023-12-26 23:46:16 +04:00
|
|
|
|
},
|
|
|
|
|
{
|
|
|
|
|
"id": 8,
|
|
|
|
|
"surname": "Артамонова",
|
|
|
|
|
"name": "Татьяна",
|
|
|
|
|
"patronymic": "Валерьевна",
|
|
|
|
|
"date_of_birth": "7-11-2003",
|
|
|
|
|
"email": "admin@mail.ru",
|
|
|
|
|
"password": "admin",
|
|
|
|
|
"role": "Admin"
|
2023-12-23 09:14:46 +04:00
|
|
|
|
}
|
|
|
|
|
],
|
|
|
|
|
"rents": [
|
2023-12-27 03:18:53 +04:00
|
|
|
|
{
|
2023-12-23 09:14:46 +04:00
|
|
|
|
"id": 1,
|
|
|
|
|
"status": "Ожидает подтверждения",
|
|
|
|
|
"userId": 2,
|
|
|
|
|
"ticketId": 1
|
2023-12-25 06:43:35 +04:00
|
|
|
|
},
|
2023-12-27 03:18:53 +04:00
|
|
|
|
{
|
2023-12-25 06:43:35 +04:00
|
|
|
|
"id": 2,
|
2023-12-26 23:46:16 +04:00
|
|
|
|
"status": "Ожидает подтверждения",
|
|
|
|
|
"userId": 2,
|
2023-12-27 03:18:53 +04:00
|
|
|
|
"ticketId": 2
|
2023-12-26 23:46:16 +04:00
|
|
|
|
},
|
2023-12-27 03:18:53 +04:00
|
|
|
|
{
|
|
|
|
|
"id": 3,
|
2023-12-26 23:46:16 +04:00
|
|
|
|
"status": "Ожидает подтверждения",
|
|
|
|
|
"userId": 2,
|
2023-12-27 03:18:53 +04:00
|
|
|
|
"ticketId": 3
|
2023-12-23 09:14:46 +04:00
|
|
|
|
}
|
|
|
|
|
]
|
|
|
|
|
}
|