2017-12-27 04:54:28 +08:00
|
|
|
|
2017-12-13 03:30:52 +08:00
|
|
|
airlines:
|
|
|
|
- id: 1
|
|
|
|
icao: VMS
|
|
|
|
iata: VM
|
|
|
|
name: phpvms airlines
|
|
|
|
active: 1
|
|
|
|
created_at: now
|
|
|
|
updated_at: now
|
|
|
|
|
2017-06-14 01:50:03 +08:00
|
|
|
users:
|
|
|
|
- id: 1
|
|
|
|
name: Admin User
|
|
|
|
email: admin@phpvms.net
|
|
|
|
password: admin
|
2017-12-13 06:58:27 +08:00
|
|
|
api_key: testadminapikey
|
2017-08-03 02:13:08 +08:00
|
|
|
airline_id: 1
|
2017-12-13 03:30:52 +08:00
|
|
|
rank_id: 1
|
2017-12-01 10:28:45 +08:00
|
|
|
home_airport_id: KAUS
|
|
|
|
curr_airport_id: KJFK
|
2017-12-24 01:58:17 +08:00
|
|
|
last_pirep_id: pirepid_3
|
2017-12-24 01:17:29 +08:00
|
|
|
flights: 3
|
2017-08-05 09:17:04 +08:00
|
|
|
flight_time: 43200
|
2017-12-24 01:58:17 +08:00
|
|
|
timezone: America/Chicago
|
2017-12-24 01:17:29 +08:00
|
|
|
state: 1
|
2017-06-14 01:50:03 +08:00
|
|
|
created_at: now
|
|
|
|
updated_at: now
|
2017-08-11 07:21:24 +08:00
|
|
|
- id: 2
|
|
|
|
name: Carla Walters
|
|
|
|
email: carla.walters68@example.com
|
|
|
|
password: admin
|
2017-12-13 06:58:27 +08:00
|
|
|
api_key: testuserapikey1
|
2017-08-11 07:21:24 +08:00
|
|
|
airline_id: 1
|
2017-12-13 03:30:52 +08:00
|
|
|
rank_id: 1
|
2017-12-01 10:28:45 +08:00
|
|
|
home_airport_id: KJFK
|
|
|
|
curr_airport_id: KJFK
|
2017-08-11 07:21:24 +08:00
|
|
|
flights: 1
|
|
|
|
flight_time: 43200
|
|
|
|
created_at: now
|
|
|
|
updated_at: now
|
2017-12-23 03:38:24 +08:00
|
|
|
state: 0
|
2017-08-11 07:21:24 +08:00
|
|
|
- id: 3
|
|
|
|
name: Raymond Pearson
|
|
|
|
email: raymond.pearson56@example.com
|
|
|
|
password: admin
|
2017-12-13 06:58:27 +08:00
|
|
|
api_key: testuserapikey2
|
2017-08-11 07:21:24 +08:00
|
|
|
airline_id: 1
|
2017-12-13 03:30:52 +08:00
|
|
|
rank_id: 1
|
2017-12-01 10:28:45 +08:00
|
|
|
home_airport_id: KJFK
|
|
|
|
curr_airport_id: KAUS
|
2017-08-11 07:21:24 +08:00
|
|
|
flights: 1
|
|
|
|
flight_time: 43200
|
|
|
|
created_at: now
|
|
|
|
updated_at: now
|
2017-12-23 03:38:24 +08:00
|
|
|
state: 1
|
2017-06-14 01:50:03 +08:00
|
|
|
|
|
|
|
role_user:
|
|
|
|
- user_id: 1
|
|
|
|
role_id: 1
|
2017-12-16 02:36:13 +08:00
|
|
|
user_type: App\Models\User
|
2017-06-14 01:50:03 +08:00
|
|
|
- user_id: 1
|
|
|
|
role_id: 2
|
2017-12-16 02:36:13 +08:00
|
|
|
user_type: App\Models\User
|
2017-08-11 07:21:24 +08:00
|
|
|
- user_id: 2
|
|
|
|
role_id: 2
|
2017-12-16 02:36:13 +08:00
|
|
|
user_type: App\Models\User
|
2017-08-11 07:21:24 +08:00
|
|
|
- user_id: 3
|
|
|
|
role_id: 2
|
2017-12-16 02:36:13 +08:00
|
|
|
user_type: App\Models\User
|
2017-06-14 01:50:03 +08:00
|
|
|
|
2017-06-22 11:30:32 +08:00
|
|
|
# ranks
|
|
|
|
ranks:
|
|
|
|
- id: 1
|
|
|
|
name: New Pilot
|
|
|
|
hours: 0
|
|
|
|
- id: 2
|
|
|
|
name: Junior First Officer
|
|
|
|
hours: 10
|
|
|
|
- id: 3
|
|
|
|
name: First Officer
|
|
|
|
hours: 15
|
|
|
|
auto_approve_acars: 1
|
|
|
|
auto_approve_manual: 1
|
|
|
|
- id: 4
|
2017-06-22 11:31:54 +08:00
|
|
|
name: Senior Captain
|
2017-06-22 11:30:32 +08:00
|
|
|
hours: 20
|
|
|
|
auto_approve_acars: 1
|
|
|
|
auto_approve_manual: 1
|
|
|
|
auto_promote: 0
|
|
|
|
|
2017-06-13 11:47:53 +08:00
|
|
|
airports:
|
2017-12-01 10:28:45 +08:00
|
|
|
- id: KAUS
|
2017-12-08 04:46:48 +08:00
|
|
|
iata: AUS
|
2017-06-20 00:30:39 +08:00
|
|
|
icao: KAUS
|
2017-06-14 04:11:11 +08:00
|
|
|
name: Austin-Bergstrom
|
2017-06-13 11:47:53 +08:00
|
|
|
location: Austin, Texas, USA
|
2017-12-27 04:04:37 +08:00
|
|
|
country: United States
|
2017-06-13 11:47:53 +08:00
|
|
|
lat: 30.1945278
|
|
|
|
lon: -97.6698889
|
2017-12-08 07:22:15 +08:00
|
|
|
tz: America/Chicago
|
2017-12-01 10:28:45 +08:00
|
|
|
- id: KJFK
|
2017-12-08 04:46:48 +08:00
|
|
|
iata: JFK
|
2017-06-20 00:30:39 +08:00
|
|
|
icao: KJFK
|
2017-06-14 04:11:11 +08:00
|
|
|
name: John F Kennedy
|
2017-06-13 11:47:53 +08:00
|
|
|
location: New York, New York, USA
|
2017-12-27 04:04:37 +08:00
|
|
|
country: United States
|
2017-06-13 11:47:53 +08:00
|
|
|
lat: 40.6399257
|
|
|
|
lon: -73.7786950
|
2017-12-08 07:22:15 +08:00
|
|
|
tz: America/New_York
|
2017-12-27 04:04:37 +08:00
|
|
|
- id: KBWI
|
|
|
|
iata: BWI
|
|
|
|
icao: KBWI
|
|
|
|
name: Baltimore/Washington International Thurgood Marshall Airport
|
|
|
|
location: Baltimore, MD
|
|
|
|
country: United States
|
|
|
|
lat: 39.1754
|
|
|
|
lon: -76.6683
|
|
|
|
tz: America/New_York
|
|
|
|
- id: KIAH
|
|
|
|
iata: IAH
|
|
|
|
icao: KIAH
|
|
|
|
name: George Bush Intercontinental Houston Airport
|
|
|
|
location: Houston, TX
|
|
|
|
country: United States
|
|
|
|
lat: 29.9844
|
|
|
|
lon: -95.3414
|
|
|
|
tz: America/Chicago
|
2017-12-01 10:28:45 +08:00
|
|
|
- id: EGLL
|
2017-12-08 04:46:48 +08:00
|
|
|
iata: LHR
|
2017-06-20 00:30:39 +08:00
|
|
|
icao: EGLL
|
2017-06-14 04:11:11 +08:00
|
|
|
name: London Heathrow
|
|
|
|
location: London, England
|
|
|
|
lat: 51.4775
|
|
|
|
lon: -0.4614
|
2017-12-08 07:22:15 +08:00
|
|
|
tz: Europe/London
|
2017-06-20 00:30:39 +08:00
|
|
|
|
2017-06-13 11:47:53 +08:00
|
|
|
#
|
|
|
|
aircraft:
|
|
|
|
- id: 1
|
2017-06-24 06:33:18 +08:00
|
|
|
subfleet_id: 1
|
2017-06-13 11:47:53 +08:00
|
|
|
name: Boeing 747-400
|
|
|
|
registration: NC17
|
|
|
|
tail_number: 17
|
|
|
|
- id: 2
|
2017-06-24 06:33:18 +08:00
|
|
|
subfleet_id: 2
|
2017-06-13 11:47:53 +08:00
|
|
|
name: Boeing 777-200
|
|
|
|
registration: NC20
|
|
|
|
tail_number: 20
|
|
|
|
|
2017-06-23 09:55:45 +08:00
|
|
|
#aircraft_rank:
|
|
|
|
# - aircraft_id: 1
|
|
|
|
# rank_id: 1
|
|
|
|
# - aircraft_id: 1
|
|
|
|
# rank_id: 2
|
|
|
|
# acars_pay: 100
|
|
|
|
# manual_pay: 50
|
2017-06-22 11:30:32 +08:00
|
|
|
|
2017-06-13 11:47:53 +08:00
|
|
|
fares:
|
|
|
|
- id: 1
|
|
|
|
code: Y
|
|
|
|
name: Economy
|
|
|
|
price: 100
|
|
|
|
capacity: 200
|
|
|
|
- id: 2
|
2017-06-14 04:11:11 +08:00
|
|
|
code: B
|
|
|
|
name: Business
|
2017-06-13 11:47:53 +08:00
|
|
|
price: 500
|
|
|
|
capacity: 10
|
2017-06-14 04:11:11 +08:00
|
|
|
- id: 3
|
|
|
|
code: F
|
|
|
|
name: First-Class
|
|
|
|
price: 800
|
|
|
|
capacity: 5
|
2017-06-13 11:47:53 +08:00
|
|
|
|
2017-06-24 06:33:18 +08:00
|
|
|
subfleets:
|
|
|
|
- id: 1
|
|
|
|
airline_id: 1
|
|
|
|
name: 747-400 Winglets
|
|
|
|
type: 744W
|
|
|
|
- id: 2
|
|
|
|
airline_id: 1
|
|
|
|
name: 777-200 LR
|
|
|
|
type: 772-LR
|
|
|
|
|
2017-06-25 00:09:27 +08:00
|
|
|
# add a few mods to aircraft and fares
|
|
|
|
subfleet_fare:
|
|
|
|
|
|
|
|
# Fare classes on the 747
|
|
|
|
- subfleet_id: 1
|
|
|
|
fare_id: 1
|
|
|
|
price: 200
|
|
|
|
capacity: 400
|
|
|
|
- subfleet_id: 1
|
|
|
|
fare_id: 2
|
|
|
|
capacity: 20
|
|
|
|
- subfleet_id: 1
|
|
|
|
fare_id: 3
|
|
|
|
price: 1000
|
|
|
|
capacity: 10
|
|
|
|
|
|
|
|
# Fare classes on the 777
|
|
|
|
- subfleet_id: 2
|
|
|
|
fare_id: 1
|
|
|
|
- subfleet_id: 2
|
|
|
|
fare_id: 3
|
|
|
|
capacity: 10
|
|
|
|
|
2017-06-24 06:33:18 +08:00
|
|
|
subfleet_flight:
|
|
|
|
- subfleet_id: 1
|
2017-07-12 06:44:12 +08:00
|
|
|
flight_id: flightid_1
|
2017-07-03 10:25:48 +08:00
|
|
|
|
|
|
|
flights:
|
2017-07-12 06:44:12 +08:00
|
|
|
- id: flightid_1
|
2017-07-03 10:25:48 +08:00
|
|
|
airline_id: 1
|
|
|
|
flight_number: 100
|
2017-12-01 10:28:45 +08:00
|
|
|
dpt_airport_id: KAUS
|
|
|
|
arr_airport_id: KJFK
|
2017-12-21 09:12:39 +08:00
|
|
|
route: KAUS SID TNV J87 IAH J2 LCH J22 MEI J239 ATL J52 AJFEB J14 BYJAC Q60 JAXSN J14 COLIN J61 HUBBS J55 SIE STAR KJFK
|
2017-08-03 04:12:18 +08:00
|
|
|
dpt_time: 6PM CST
|
|
|
|
arr_time: 11PM EST
|
2017-12-24 01:58:17 +08:00
|
|
|
created_at: NOW
|
|
|
|
updated_at: NOW
|
2017-08-03 04:12:18 +08:00
|
|
|
- id: flightid_2
|
|
|
|
airline_id: 1
|
2017-12-27 04:54:28 +08:00
|
|
|
flight_number: 6028
|
|
|
|
dpt_airport_id: KIAH
|
2017-12-01 10:28:45 +08:00
|
|
|
arr_airport_id: KAUS
|
2017-12-27 04:54:28 +08:00
|
|
|
dpt_time: 9AM CST
|
|
|
|
arr_time: 1030AM CST
|
|
|
|
route: PITZZ4 MNURE WLEEE4
|
2017-12-24 01:58:17 +08:00
|
|
|
created_at: NOW
|
|
|
|
updated_at: NOW
|
2017-07-03 10:25:48 +08:00
|
|
|
|
2017-07-12 06:00:41 +08:00
|
|
|
flight_fields:
|
|
|
|
- id: 1
|
2017-07-12 06:44:12 +08:00
|
|
|
flight_id: flightid_1
|
2017-08-03 04:12:18 +08:00
|
|
|
name: cost index
|
|
|
|
value: 80
|
|
|
|
- id: 2
|
|
|
|
flight_id: flightid_2
|
|
|
|
name: cost index
|
|
|
|
value: 100
|
2017-07-12 06:00:41 +08:00
|
|
|
|
2017-12-13 01:49:35 +08:00
|
|
|
user_bids:
|
2017-08-04 10:02:02 +08:00
|
|
|
- id: 100
|
|
|
|
user_id: 1
|
|
|
|
flight_id: flightid_1
|
|
|
|
- id: 101
|
|
|
|
user_id: 1
|
|
|
|
flight_id: flightid_3
|
|
|
|
|
2017-07-03 10:25:48 +08:00
|
|
|
pireps:
|
2017-07-14 11:09:38 +08:00
|
|
|
- id: pirepid_1
|
|
|
|
user_id: 1
|
2017-08-05 09:17:04 +08:00
|
|
|
airline_id: 1
|
2017-07-12 06:44:12 +08:00
|
|
|
flight_id: flightid_1
|
2017-07-03 10:25:48 +08:00
|
|
|
aircraft_id: 1
|
2017-12-01 10:28:45 +08:00
|
|
|
dpt_airport_id: KAUS
|
|
|
|
arr_airport_id: KJFK
|
2017-12-20 05:19:06 +08:00
|
|
|
flight_time: 180 # 6 hours
|
2017-12-26 05:19:34 +08:00
|
|
|
state: 1
|
2017-12-20 05:19:06 +08:00
|
|
|
route: PLMMR2 SPA Q22 BEARI FAK PHLBO3
|
2017-07-03 10:25:48 +08:00
|
|
|
notes: just a pilot report
|
2017-12-24 01:58:17 +08:00
|
|
|
created_at: NOW
|
|
|
|
updated_at: NOW
|
2017-08-05 09:17:04 +08:00
|
|
|
- id: pirepid_2
|
|
|
|
user_id: 1
|
|
|
|
airline_id: 1
|
|
|
|
flight_id: flightid_2
|
|
|
|
aircraft_id: 1
|
2017-12-01 10:28:45 +08:00
|
|
|
dpt_airport_id: KJFK
|
|
|
|
arr_airport_id: KAUS
|
2017-12-20 05:19:06 +08:00
|
|
|
flight_time: 180 # 6 hours
|
2017-12-26 05:19:34 +08:00
|
|
|
state: 1
|
2017-12-20 05:19:06 +08:00
|
|
|
route: PLMMR2 SPA Q22 BEARI FAK PHLBO3
|
2017-12-03 14:48:33 +08:00
|
|
|
notes: just a pilot report
|
2017-12-24 01:58:17 +08:00
|
|
|
created_at: NOW
|
|
|
|
updated_at: NOW
|
2017-12-03 14:48:33 +08:00
|
|
|
- id: pirepid_3
|
|
|
|
user_id: 1
|
|
|
|
airline_id: 1
|
|
|
|
flight_id: flightid_2
|
|
|
|
aircraft_id: 1
|
|
|
|
dpt_airport_id: KJFK
|
|
|
|
arr_airport_id: KAUS
|
2017-12-20 05:19:06 +08:00
|
|
|
flight_time: 180 # 6 hours
|
2017-12-26 05:19:34 +08:00
|
|
|
state: 1
|
2017-12-20 05:19:06 +08:00
|
|
|
route: PLMMR2 SPA Q22 BEARI FAK PHLBO3
|
2017-08-05 09:17:04 +08:00
|
|
|
notes: just a pilot report
|
2017-12-24 01:58:17 +08:00
|
|
|
created_at: NOW
|
|
|
|
updated_at: NOW
|
2017-07-14 11:09:38 +08:00
|
|
|
|
|
|
|
pirep_fields:
|
|
|
|
- id: 1
|
|
|
|
name: arrival gate
|
|
|
|
required: 0
|
|
|
|
|
|
|
|
pirep_field_values:
|
|
|
|
- id: 1
|
|
|
|
pirep_id: pirepid_1
|
|
|
|
name: arrival gate
|
|
|
|
value: B14
|
|
|
|
source: manual
|