408 lines
8.3 KiB
JSON
408 lines
8.3 KiB
JSON
{
|
||
"tickets": [
|
||
{
|
||
"id": 1,
|
||
"passengers_count": 1,
|
||
"ticket_cost": 2680,
|
||
"flightId": 6
|
||
},
|
||
{
|
||
"id": 2,
|
||
"passengers_count": 2,
|
||
"ticket_cost": 4870,
|
||
"flightId": 5
|
||
},
|
||
{
|
||
"passengers_count": 5,
|
||
"ticket_cost": 54000,
|
||
"flightId": 10,
|
||
"id": 3
|
||
},
|
||
{
|
||
"passengers_count": 1,
|
||
"ticket_cost": 2680,
|
||
"flightId": 6,
|
||
"id": 4
|
||
},
|
||
{
|
||
"id": 5,
|
||
"passengers_count": 2,
|
||
"ticket_cost": 17440,
|
||
"flightId": 8
|
||
},
|
||
{
|
||
"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": 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
|
||
},
|
||
{
|
||
"passengers_count": 6,
|
||
"ticket_cost": 6000,
|
||
"flightId": 2,
|
||
"id": 23
|
||
},
|
||
{
|
||
"passengers_count": 9,
|
||
"ticket_cost": 160200,
|
||
"flightId": 9,
|
||
"id": 24
|
||
},
|
||
{
|
||
"passengers_count": 8,
|
||
"ticket_cost": 142400,
|
||
"flightId": 9,
|
||
"id": 25
|
||
},
|
||
{
|
||
"passengers_count": 3,
|
||
"ticket_cost": 53400,
|
||
"flightId": 9,
|
||
"id": 26
|
||
},
|
||
{
|
||
"passengers_count": 6,
|
||
"ticket_cost": 106800,
|
||
"flightId": 9,
|
||
"id": 27
|
||
},
|
||
{
|
||
"passengers_count": 5,
|
||
"ticket_cost": 89000,
|
||
"flightId": 9,
|
||
"id": 28
|
||
},
|
||
{
|
||
"passengers_count": 3,
|
||
"ticket_cost": 20610,
|
||
"flightId": 7,
|
||
"id": 29
|
||
},
|
||
{
|
||
"passengers_count": 5,
|
||
"ticket_cost": 5000,
|
||
"flightId": 2,
|
||
"id": 30
|
||
},
|
||
{
|
||
"passengers_count": 2,
|
||
"ticket_cost": 5360,
|
||
"flightId": 6,
|
||
"id": 31
|
||
},
|
||
{
|
||
"passengers_count": 3,
|
||
"ticket_cost": 7305,
|
||
"flightId": 5,
|
||
"id": 32
|
||
},
|
||
{
|
||
"passengers_count": 3,
|
||
"ticket_cost": 15000,
|
||
"flightId": 12,
|
||
"id": 33
|
||
}
|
||
],
|
||
"flights": [
|
||
{
|
||
"id": 2,
|
||
"direction_from": "a",
|
||
"direction_to": "b",
|
||
"departure_date": "1-1-2024",
|
||
"arrival_date": "1-1-2024",
|
||
"one_ticket_cost": 1000
|
||
},
|
||
{
|
||
"direction_from": "Санкт-Петербург",
|
||
"direction_to": "Сочи",
|
||
"departure_date": "17-12-2023",
|
||
"arrival_date": "17-12-2023",
|
||
"one_ticket_cost": 2435,
|
||
"id": 5
|
||
},
|
||
{
|
||
"id": 6,
|
||
"direction_from": "Ульяновск",
|
||
"direction_to": "Москва",
|
||
"departure_date": "26-12-2023",
|
||
"arrival_date": "26-12-2023",
|
||
"one_ticket_cost": 2680
|
||
},
|
||
{
|
||
"id": 7,
|
||
"direction_from": "Хабаровск",
|
||
"direction_to": "Кострома",
|
||
"departure_date": "5-1-2024",
|
||
"arrival_date": "5-1-2024",
|
||
"one_ticket_cost": 6870
|
||
},
|
||
{
|
||
"direction_from": "Астрахань",
|
||
"direction_to": "Нижний Новгород",
|
||
"departure_date": "28-1-2024",
|
||
"arrival_date": "28-1-2024",
|
||
"one_ticket_cost": 8720,
|
||
"id": 8
|
||
},
|
||
{
|
||
"direction_from": "Крым",
|
||
"direction_to": "Мурманск",
|
||
"departure_date": "27-1-2024",
|
||
"arrival_date": "28-1-2024",
|
||
"one_ticket_cost": 17800,
|
||
"id": 9
|
||
},
|
||
{
|
||
"direction_from": "Вологда",
|
||
"direction_to": "Астана",
|
||
"departure_date": "14-1-2024",
|
||
"arrival_date": "15-1-2024",
|
||
"one_ticket_cost": 10800,
|
||
"id": 10
|
||
},
|
||
{
|
||
"direction_from": "Москва",
|
||
"direction_to": "Крым",
|
||
"departure_date": "24-12-2023",
|
||
"arrival_date": "31-12-2023",
|
||
"one_ticket_cost": 3850,
|
||
"id": 11
|
||
},
|
||
{
|
||
"direction_from": "Кострома",
|
||
"direction_to": "Хабаровск",
|
||
"departure_date": "29-12-2023",
|
||
"arrival_date": "29-12-2023",
|
||
"one_ticket_cost": 5000,
|
||
"id": 12
|
||
},
|
||
{
|
||
"direction_from": "Москва",
|
||
"direction_to": "Кострома",
|
||
"departure_date": "6-1-2024",
|
||
"arrival_date": "6-1-2024",
|
||
"one_ticket_cost": 35740,
|
||
"id": 13
|
||
},
|
||
{
|
||
"direction_from": "Москва",
|
||
"direction_to": "Ульяновск",
|
||
"departure_date": "13-1-2024",
|
||
"arrival_date": "14-1-2024",
|
||
"one_ticket_cost": 3570,
|
||
"id": 14
|
||
}
|
||
],
|
||
"users": [
|
||
{
|
||
"id": 2,
|
||
"surname": "Артамонова",
|
||
"name": "Татьяна",
|
||
"patronymic": "Валерьевна",
|
||
"date_of_birth": "7-11-2003",
|
||
"email": "usertt@mail.ru",
|
||
"password": "usertt",
|
||
"role": "User"
|
||
},
|
||
{
|
||
"surname": "а",
|
||
"name": "а",
|
||
"patronymic": "а",
|
||
"date_of_birth": "17-5-2000",
|
||
"email": "user@mail.ru",
|
||
"password": "user",
|
||
"role": "User",
|
||
"id": 3
|
||
},
|
||
{
|
||
"surname": "ыщылы",
|
||
"name": "шчшчгч",
|
||
"patronymic": "шчшчшч",
|
||
"date_of_birth": "10-12-2015",
|
||
"email": "aaa@mail.ru",
|
||
"password": "aaa",
|
||
"role": "User",
|
||
"id": 4
|
||
},
|
||
{
|
||
"surname": "фффф",
|
||
"name": "ффф",
|
||
"patronymic": "ффф",
|
||
"date_of_birth": "7-5-2005",
|
||
"email": "userff@mail.ru",
|
||
"password": "password",
|
||
"role": "User",
|
||
"id": 6
|
||
},
|
||
{
|
||
"surname": "ккк",
|
||
"name": "ккк",
|
||
"patronymic": "ккк",
|
||
"date_of_birth": "23-12-2011",
|
||
"email": "kkk@mail.ru",
|
||
"password": "kkk",
|
||
"role": "User",
|
||
"id": 7
|
||
},
|
||
{
|
||
"id": 8,
|
||
"surname": "Артамонова",
|
||
"name": "Татьяна",
|
||
"patronymic": "Валерьевна",
|
||
"date_of_birth": "7-11-2003",
|
||
"email": "admin@mail.ru",
|
||
"password": "admin",
|
||
"role": "Admin"
|
||
},
|
||
{
|
||
"surname": "user",
|
||
"name": "user",
|
||
"patronymic": "user",
|
||
"date_of_birth": "13-9-2012",
|
||
"email": "user66@mail.ru",
|
||
"password": "user66",
|
||
"role": "User",
|
||
"id": 9
|
||
}
|
||
],
|
||
"rents": [
|
||
{
|
||
"id": 1,
|
||
"status": "Ожидает подтверждения",
|
||
"userId": 2,
|
||
"ticketId": 1
|
||
},
|
||
{
|
||
"id": 2,
|
||
"status": "Ожидает подтверждения",
|
||
"userId": 2,
|
||
"ticketId": 2
|
||
},
|
||
{
|
||
"status": "Ожидает подтверждения",
|
||
"userId": 2,
|
||
"ticketId": 24,
|
||
"id": 3
|
||
},
|
||
{
|
||
"status": "Ожидает подтверждения",
|
||
"userId": 2,
|
||
"ticketId": 25,
|
||
"id": 4
|
||
},
|
||
{
|
||
"status": "Ожидает подтверждения",
|
||
"userId": 2,
|
||
"ticketId": 26,
|
||
"id": 5
|
||
},
|
||
{
|
||
"status": "Ожидает подтверждения",
|
||
"userId": 2,
|
||
"ticketId": 28,
|
||
"id": 7
|
||
},
|
||
{
|
||
"status": "Ожидает подтверждения",
|
||
"userId": 8,
|
||
"ticketId": 29,
|
||
"id": 8
|
||
},
|
||
{
|
||
"status": "Ожидает подтверждения",
|
||
"userId": 9,
|
||
"ticketId": 30,
|
||
"id": 9
|
||
},
|
||
{
|
||
"status": "Ожидает подтверждения",
|
||
"userId": 2,
|
||
"ticketId": 31,
|
||
"id": 10
|
||
},
|
||
{
|
||
"status": "Ожидает подтверждения",
|
||
"userId": 2,
|
||
"ticketId": 33,
|
||
"id": 11
|
||
}
|
||
]
|
||
} |