2017-12-30 07:34:09 +08:00
|
|
|
|
|
|
|
airlines:
|
|
|
|
- id: 1
|
|
|
|
icao: VMS
|
|
|
|
iata: VM
|
|
|
|
name: phpvms airlines
|
2018-02-13 01:03:25 +08:00
|
|
|
country: us
|
2017-12-30 07:34:09 +08:00
|
|
|
active: 1
|
|
|
|
created_at: now
|
|
|
|
updated_at: now
|
|
|
|
|
|
|
|
users:
|
|
|
|
- id: 1
|
|
|
|
name: Admin User
|
|
|
|
email: admin@phpvms.net
|
|
|
|
password: admin
|
|
|
|
api_key: testadminapikey
|
|
|
|
airline_id: 1
|
|
|
|
rank_id: 1
|
2018-01-10 09:08:16 +08:00
|
|
|
country: us
|
2017-12-30 07:34:09 +08:00
|
|
|
home_airport_id: KAUS
|
|
|
|
curr_airport_id: KJFK
|
|
|
|
last_pirep_id: pirepid_3
|
|
|
|
flights: 3
|
2018-01-04 10:11:06 +08:00
|
|
|
flight_time: 0
|
2017-12-30 07:34:09 +08:00
|
|
|
timezone: America/Chicago
|
|
|
|
state: 1
|
|
|
|
created_at: now
|
|
|
|
updated_at: now
|
|
|
|
- id: 2
|
|
|
|
name: Carla Walters
|
|
|
|
email: carla.walters68@example.com
|
|
|
|
password: admin
|
|
|
|
api_key: testuserapikey1
|
|
|
|
airline_id: 1
|
|
|
|
rank_id: 1
|
|
|
|
home_airport_id: KJFK
|
|
|
|
curr_airport_id: KJFK
|
|
|
|
flights: 1
|
2018-01-20 06:07:31 +08:00
|
|
|
flight_time: 4320
|
2017-12-30 07:34:09 +08:00
|
|
|
created_at: now
|
|
|
|
updated_at: now
|
|
|
|
state: 0
|
|
|
|
- id: 3
|
|
|
|
name: Raymond Pearson
|
|
|
|
email: raymond.pearson56@example.com
|
|
|
|
password: admin
|
|
|
|
api_key: testuserapikey2
|
|
|
|
airline_id: 1
|
|
|
|
rank_id: 1
|
|
|
|
home_airport_id: KJFK
|
|
|
|
curr_airport_id: KAUS
|
|
|
|
flights: 1
|
2018-01-20 06:07:31 +08:00
|
|
|
flight_time: 4320
|
2017-12-30 07:34:09 +08:00
|
|
|
created_at: now
|
|
|
|
updated_at: now
|
|
|
|
state: 1
|
|
|
|
|
|
|
|
role_user:
|
|
|
|
- user_id: 1
|
|
|
|
role_id: 1
|
|
|
|
user_type: App\Models\User
|
|
|
|
- user_id: 1
|
|
|
|
role_id: 2
|
|
|
|
user_type: App\Models\User
|
|
|
|
- user_id: 2
|
|
|
|
role_id: 2
|
|
|
|
user_type: App\Models\User
|
|
|
|
- user_id: 3
|
|
|
|
role_id: 2
|
|
|
|
user_type: App\Models\User
|
|
|
|
|
|
|
|
# ranks
|
|
|
|
ranks:
|
|
|
|
- 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
|
|
|
|
name: Senior Captain
|
|
|
|
hours: 20
|
|
|
|
auto_approve_acars: 1
|
|
|
|
auto_approve_manual: 1
|
|
|
|
auto_promote: 0
|
|
|
|
|
2018-01-08 23:02:55 +08:00
|
|
|
news:
|
|
|
|
- id: 1
|
|
|
|
user_id: 1
|
|
|
|
subject: Some VA News!
|
|
|
|
body: >
|
|
|
|
Lorem Ipsum is simply dummy text of the printing and
|
|
|
|
typesetting industry. Lorem Ipsum has been the industry's
|
|
|
|
standard dummy text ever since the 1500s, when an unknown
|
|
|
|
printer took a galley of type and scrambled it to make a
|
|
|
|
type specimen book. It has survived not only five centuries,
|
|
|
|
but also the leap into electronic typesetting, remaining
|
|
|
|
essentially unchanged. It was popularised in the 1960s with
|
|
|
|
the release of Letraset sheets containing Lorem Ipsum passages,
|
|
|
|
and more recently with desktop publishing software like
|
|
|
|
Aldus PageMaker including versions of Lorem Ipsum.
|
2018-01-09 06:35:52 +08:00
|
|
|
created_at: now
|
2018-01-08 23:02:55 +08:00
|
|
|
|
2017-12-30 07:34:09 +08:00
|
|
|
airports:
|
|
|
|
- id: KAUS
|
|
|
|
iata: AUS
|
|
|
|
icao: KAUS
|
|
|
|
name: Austin-Bergstrom
|
|
|
|
location: Austin, Texas, USA
|
|
|
|
country: United States
|
2018-02-07 03:11:42 +08:00
|
|
|
timezone: America/Chicago
|
2017-12-30 07:34:09 +08:00
|
|
|
lat: 30.1945278
|
|
|
|
lon: -97.6698889
|
2017-12-31 23:42:31 +08:00
|
|
|
hub: 1
|
2018-02-24 05:48:50 +08:00
|
|
|
ground_handling_cost: 100
|
2017-12-30 07:34:09 +08:00
|
|
|
- id: KJFK
|
|
|
|
iata: JFK
|
|
|
|
icao: KJFK
|
|
|
|
name: John F Kennedy
|
|
|
|
location: New York, New York, USA
|
|
|
|
country: United States
|
2018-02-07 03:11:42 +08:00
|
|
|
timezone: America/New_York
|
2017-12-30 07:34:09 +08:00
|
|
|
lat: 40.6399257
|
|
|
|
lon: -73.7786950
|
2017-12-31 23:42:31 +08:00
|
|
|
hub: 1
|
2018-02-24 05:48:50 +08:00
|
|
|
ground_handling_cost: 250
|
2017-12-30 07:34:09 +08:00
|
|
|
- id: EGLL
|
|
|
|
iata: LHR
|
|
|
|
icao: EGLL
|
|
|
|
name: London Heathrow
|
|
|
|
location: London, England
|
2018-02-07 03:11:42 +08:00
|
|
|
timezone: Europe/London
|
2017-12-30 07:34:09 +08:00
|
|
|
lat: 51.4775
|
|
|
|
lon: -0.4614
|
2018-02-24 05:48:50 +08:00
|
|
|
ground_handling_cost: 500
|
2018-02-22 05:02:24 +08:00
|
|
|
- id: LGRP
|
|
|
|
iata: RHO
|
|
|
|
icao: LGRP
|
|
|
|
name: Diagoras Airport
|
|
|
|
location: Rhodos
|
|
|
|
country: Greece
|
|
|
|
timezone: Europe/Athens
|
|
|
|
lat: 36.4054
|
|
|
|
lon: 28.0862
|
2018-02-24 05:48:50 +08:00
|
|
|
ground_handling_cost: 50
|
2017-12-30 07:34:09 +08:00
|
|
|
#
|
|
|
|
aircraft:
|
|
|
|
- id: 1
|
|
|
|
subfleet_id: 1
|
2018-02-24 06:37:10 +08:00
|
|
|
airport_id: KJFK
|
|
|
|
name: Boeing 747-438
|
2018-02-13 01:03:25 +08:00
|
|
|
registration: 001Z
|
2018-02-24 06:37:10 +08:00
|
|
|
status: 1
|
2017-12-30 07:34:09 +08:00
|
|
|
- id: 2
|
|
|
|
subfleet_id: 2
|
2018-02-24 06:37:10 +08:00
|
|
|
airport_id: LGRP
|
2017-12-30 07:34:09 +08:00
|
|
|
name: Boeing 777-200
|
2018-02-13 01:03:25 +08:00
|
|
|
registration: C202
|
2018-02-24 06:37:10 +08:00
|
|
|
status: 1
|
2018-01-11 09:40:20 +08:00
|
|
|
- id: 3
|
|
|
|
subfleet_id: 1
|
2018-02-24 06:37:10 +08:00
|
|
|
airport_id: KAUS
|
2018-01-11 09:40:20 +08:00
|
|
|
name: Boeing 747-412
|
2018-02-13 01:03:25 +08:00
|
|
|
registration: S2333
|
2018-02-24 06:37:10 +08:00
|
|
|
status: 1
|
|
|
|
- id: 4
|
|
|
|
subfleet_id: 1
|
|
|
|
airport_id: KAUS
|
|
|
|
name: Boeing 747-436 RETIRED
|
|
|
|
registration:
|
|
|
|
status: 2
|
2017-12-30 07:34:09 +08:00
|
|
|
|
|
|
|
fares:
|
|
|
|
- id: 1
|
|
|
|
code: Y
|
|
|
|
name: Economy
|
|
|
|
price: 100
|
|
|
|
capacity: 200
|
|
|
|
- id: 2
|
|
|
|
code: B
|
|
|
|
name: Business
|
|
|
|
price: 500
|
|
|
|
capacity: 10
|
|
|
|
- id: 3
|
|
|
|
code: F
|
|
|
|
name: First-Class
|
|
|
|
price: 800
|
|
|
|
capacity: 5
|
|
|
|
|
|
|
|
subfleets:
|
|
|
|
- id: 1
|
|
|
|
airline_id: 1
|
2018-02-24 06:37:10 +08:00
|
|
|
name: 747-43X RB211-524G
|
|
|
|
type: 744-3X-RB211
|
2018-02-24 06:00:14 +08:00
|
|
|
ground_handling_multiplier: 200
|
2017-12-30 07:34:09 +08:00
|
|
|
- id: 2
|
|
|
|
airline_id: 1
|
2018-02-24 06:37:10 +08:00
|
|
|
name: 777-222ER GE90-76B
|
|
|
|
type: 772-22ER-GE90-76B
|
|
|
|
ground_handling_multiplier: 150
|
|
|
|
- id: 3
|
|
|
|
airline_id: 1
|
|
|
|
name: 777-367 ER GE90-115B
|
|
|
|
type: 772-36ER-GE90-115B
|
2018-02-24 06:00:14 +08:00
|
|
|
ground_handling_multiplier: 150
|
2017-12-30 07:34:09 +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
|
2018-02-24 05:34:14 +08:00
|
|
|
price: 120%
|
2017-12-30 07:34:09 +08:00
|
|
|
- subfleet_id: 1
|
|
|
|
fare_id: 3
|
|
|
|
price: 1000
|
2018-02-24 05:34:14 +08:00
|
|
|
capacity: 110%
|
2017-12-30 07:34:09 +08:00
|
|
|
|
|
|
|
# Fare classes on the 777
|
|
|
|
- subfleet_id: 2
|
|
|
|
fare_id: 1
|
|
|
|
- subfleet_id: 2
|
|
|
|
fare_id: 3
|
|
|
|
capacity: 10
|
|
|
|
|
|
|
|
subfleet_flight:
|
|
|
|
- subfleet_id: 1
|
|
|
|
flight_id: flightid_1
|
|
|
|
|
2018-01-11 09:40:20 +08:00
|
|
|
subfleet_rank:
|
|
|
|
- rank_id: 1
|
|
|
|
subfleet_id: 1
|
|
|
|
|
2017-12-30 07:34:09 +08:00
|
|
|
flights:
|
|
|
|
- id: flightid_1
|
|
|
|
airline_id: 1
|
|
|
|
flight_number: 100
|
|
|
|
dpt_airport_id: KAUS
|
|
|
|
arr_airport_id: KJFK
|
|
|
|
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
|
2018-01-22 02:13:49 +08:00
|
|
|
distance: 2028
|
|
|
|
level: 360
|
2017-12-30 07:34:09 +08:00
|
|
|
dpt_time: 6PM CST
|
|
|
|
arr_time: 11PM EST
|
|
|
|
created_at: NOW
|
|
|
|
updated_at: NOW
|
|
|
|
- id: flightid_2
|
|
|
|
airline_id: 1
|
|
|
|
flight_number: 6028
|
2018-01-04 10:56:46 +08:00
|
|
|
route_code: A
|
2018-02-22 05:02:24 +08:00
|
|
|
dpt_airport_id: LGRP
|
|
|
|
arr_airport_id: LGRP
|
2018-01-04 10:56:46 +08:00
|
|
|
dpt_time: 9AM CST
|
|
|
|
arr_time: 1030AM CST
|
|
|
|
route: PITZZ4 MNURE WLEEE4
|
|
|
|
created_at: NOW
|
|
|
|
updated_at: NOW
|
|
|
|
- id: flightid_3
|
|
|
|
airline_id: 1
|
|
|
|
flight_number: 6028
|
|
|
|
route_code: A
|
|
|
|
route_leg: 1
|
2018-02-24 06:00:14 +08:00
|
|
|
dpt_airport_id: EGLL
|
|
|
|
arr_airport_id: KJFK
|
2017-12-30 07:34:09 +08:00
|
|
|
dpt_time: 9AM CST
|
|
|
|
arr_time: 1030AM CST
|
|
|
|
route: PITZZ4 MNURE WLEEE4
|
|
|
|
created_at: NOW
|
|
|
|
updated_at: NOW
|
|
|
|
|
|
|
|
flight_fields:
|
|
|
|
- id: 1
|
|
|
|
flight_id: flightid_1
|
|
|
|
name: cost index
|
|
|
|
value: 80
|
|
|
|
- id: 2
|
|
|
|
flight_id: flightid_2
|
|
|
|
name: cost index
|
|
|
|
value: 100
|
|
|
|
|
|
|
|
user_bids:
|
|
|
|
- id: 100
|
|
|
|
user_id: 1
|
|
|
|
flight_id: flightid_1
|
|
|
|
- id: 101
|
|
|
|
user_id: 1
|
|
|
|
flight_id: flightid_3
|
|
|
|
|
|
|
|
pireps:
|
|
|
|
- id: pirepid_1
|
|
|
|
user_id: 1
|
|
|
|
airline_id: 1
|
2018-01-02 03:48:02 +08:00
|
|
|
flight_number: 100
|
2017-12-30 07:34:09 +08:00
|
|
|
aircraft_id: 1
|
|
|
|
dpt_airport_id: KAUS
|
|
|
|
arr_airport_id: KJFK
|
|
|
|
flight_time: 180 # 6 hours
|
|
|
|
state: 1
|
2018-01-02 05:04:32 +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-12-30 07:34:09 +08:00
|
|
|
notes: just a pilot report
|
|
|
|
created_at: NOW
|
|
|
|
updated_at: NOW
|
|
|
|
- id: pirepid_2
|
|
|
|
user_id: 1
|
|
|
|
airline_id: 1
|
2018-02-25 05:47:43 +08:00
|
|
|
flight_number: 2023
|
2018-02-24 06:37:10 +08:00
|
|
|
aircraft_id: 2
|
2018-02-22 05:02:24 +08:00
|
|
|
dpt_airport_id: LGRP
|
|
|
|
arr_airport_id: LGRP
|
2017-12-30 07:34:09 +08:00
|
|
|
flight_time: 180 # 6 hours
|
|
|
|
state: 1
|
|
|
|
route: PLMMR2 SPA Q22 BEARI FAK PHLBO3
|
|
|
|
notes: just a pilot report
|
2018-02-23 05:29:25 +08:00
|
|
|
source: 1
|
|
|
|
source_name: sample
|
2017-12-30 07:34:09 +08:00
|
|
|
created_at: NOW
|
|
|
|
updated_at: NOW
|
|
|
|
- id: pirepid_3
|
|
|
|
user_id: 1
|
|
|
|
airline_id: 1
|
2018-02-25 05:47:43 +08:00
|
|
|
flight_number: 300
|
2018-02-24 06:37:10 +08:00
|
|
|
aircraft_id: 3
|
2017-12-30 07:34:09 +08:00
|
|
|
dpt_airport_id: KJFK
|
|
|
|
arr_airport_id: KAUS
|
|
|
|
flight_time: 180 # 6 hours
|
|
|
|
state: 1
|
|
|
|
route: PLMMR2 SPA Q22 BEARI FAK PHLBO3
|
|
|
|
notes: just a pilot report
|
|
|
|
created_at: NOW
|
|
|
|
updated_at: NOW
|
|
|
|
|
2018-02-25 05:45:43 +08:00
|
|
|
pirep_fares:
|
|
|
|
- id: 1
|
2018-02-25 06:05:00 +08:00
|
|
|
pirep_id: pirepid_1
|
2018-02-25 05:45:43 +08:00
|
|
|
fare_id: 1
|
|
|
|
count: 300
|
|
|
|
- id: 2
|
2018-02-25 06:05:00 +08:00
|
|
|
pirep_id: pirepid_1
|
2018-02-25 05:45:43 +08:00
|
|
|
fare_id: 2
|
|
|
|
count: 25
|
|
|
|
- id: 3
|
2018-02-25 06:05:00 +08:00
|
|
|
pirep_id: pirepid_1
|
2018-02-25 05:45:43 +08:00
|
|
|
fare_id: 3
|
|
|
|
count: 10
|
|
|
|
- id: 4
|
2018-02-25 06:05:00 +08:00
|
|
|
pirep_id: pirepid_2
|
2018-02-25 05:45:43 +08:00
|
|
|
fare_id: 1
|
|
|
|
count: 200
|
|
|
|
- id: 5
|
2018-02-25 06:05:00 +08:00
|
|
|
pirep_id: pirepid_2
|
2018-02-25 05:45:43 +08:00
|
|
|
fare_id: 3
|
|
|
|
count: 15
|
|
|
|
|
2017-12-30 07:34:09 +08:00
|
|
|
pirep_fields:
|
|
|
|
- id: 1
|
2018-01-24 05:48:30 +08:00
|
|
|
name: departure gate
|
|
|
|
slug: departure_gate
|
|
|
|
required: 1
|
|
|
|
- id: 2
|
2017-12-30 07:34:09 +08:00
|
|
|
name: arrival gate
|
2018-01-24 05:48:30 +08:00
|
|
|
slug: arrival_gate
|
2017-12-30 07:34:09 +08:00
|
|
|
required: 0
|
|
|
|
|
|
|
|
pirep_field_values:
|
|
|
|
- id: 1
|
|
|
|
pirep_id: pirepid_1
|
|
|
|
name: arrival gate
|
2018-02-25 05:38:25 +08:00
|
|
|
slug: arrival_gate
|
|
|
|
value: 10
|
|
|
|
source: manual
|
|
|
|
- id: 2
|
|
|
|
pirep_id: pirepid_1
|
|
|
|
name: departure gate
|
|
|
|
slug: departure_gate
|
|
|
|
value: B32
|
2017-12-30 07:34:09 +08:00
|
|
|
source: manual
|
2018-01-04 05:27:56 +08:00
|
|
|
|
|
|
|
pirep_comments:
|
|
|
|
- id: 1
|
|
|
|
pirep_id: pirepid_1
|
|
|
|
user_id: 1
|
|
|
|
comment: A comment
|
|
|
|
created_at: now
|
|
|
|
updated_at: now
|
|
|
|
- id: 2
|
|
|
|
pirep_id: pirepid_1
|
|
|
|
user_id: 2
|
|
|
|
comment: Another comment
|
|
|
|
created_at: now
|
|
|
|
updated_at: now
|