airlines: - id: 1 icao: VMS iata: VM name: phpvms airlines country: us 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 country: us home_airport_id: KAUS curr_airport_id: KJFK last_pirep_id: pirepid_3 flights: 3 flight_time: 0 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 flight_time: 4320 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 flight_time: 4320 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 acars_base_pay_rate: 100 manual_base_pay_rate: 90 - id: 3 name: First Officer hours: 15 acars_base_pay_rate: 250 manual_base_pay_rate: 200 auto_approve_acars: 1 auto_approve_manual: 1 - id: 4 name: Senior Captain hours: 20 acars_base_pay_rate: 500 manual_base_pay_rate: 400 auto_approve_acars: 1 auto_approve_manual: 1 auto_promote: 0 awards: - id: 1 name: Pilot 50 flights description: When a pilot has 50 flights, give this award image_url: ref_class: App\Awards\PilotFlightAwards ref_class_params: 50 created_at: now updated_at: now 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. created_at: now airports: - id: KAUS iata: AUS icao: KAUS name: Austin-Bergstrom location: Austin, Texas, USA country: United States timezone: America/Chicago lat: 30.1945278 lon: -97.6698889 hub: 1 ground_handling_cost: 100 - id: KJFK iata: JFK icao: KJFK name: John F Kennedy location: New York, New York, USA country: United States timezone: America/New_York lat: 40.6399257 lon: -73.7786950 hub: 1 ground_handling_cost: 250 - id: EGLL iata: LHR icao: EGLL name: London Heathrow location: London, England timezone: Europe/London lat: 51.4775 lon: -0.4614 ground_handling_cost: 500 - id: LGRP iata: RHO icao: LGRP name: Diagoras Airport location: Rhodos country: Greece timezone: Europe/Athens lat: 36.4054 lon: 28.0862 ground_handling_cost: 50 # aircraft: - id: 1 subfleet_id: 1 airport_id: KJFK name: Boeing 747-438 registration: 001Z status: 1 - id: 2 subfleet_id: 2 airport_id: LGRP name: Boeing 777-200 registration: C202 status: 1 - id: 3 subfleet_id: 1 airport_id: KAUS name: Boeing 747-412 registration: S2333 status: 1 - id: 4 subfleet_id: 1 airport_id: KAUS name: Boeing 747-436 RETIRED registration: status: 2 expenses: - name: Per-Flight (no muliplier) amount: 100 type: 0 active: 1 ref_class: App\Models\Expense - name: Per-Flight (multiplier) amount: 100 type: 0 multiplier: 1 active: 1 ref_class: App\Models\Expense - name: Per-Flight (multiplier, on airline) airline_id: 1 amount: 200 type: 0 multiplier: 1 active: 1 ref_class: App\Models\Expense - name: A daily fee amount: 800 type: 1 active: 1 ref_class: App\Models\Expense - name: A monthly fee amount: 5000 type: 2 active: 1 ref_class: App\Models\Expense - name: Catering amount: 1000 type: 0 active: 1 ref_class: App\Models\Subfleet ref_class_id: 1 created_at: now updated_at: now - name: Catering Staff amount: 1000 type: 1 active: 1 ref_class: App\Models\Subfleet ref_class_id: 1 created_at: now updated_at: now - name: Maintenance amount: 1000 type: 1 active: 1 ref_class: App\Models\Aircraft ref_class_id: 1 created_at: now updated_at: now 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 name: 747-43X RB211-524G type: 744-3X-RB211 cost_block_hour: 1000 ground_handling_multiplier: 200 - id: 2 airline_id: 1 name: 777-222ER GE90-76B type: 772-22ER-GE90-76B cost_block_hour: 500 ground_handling_multiplier: 150 - id: 3 airline_id: 1 name: 777-367 ER GE90-115B type: 772-36ER-GE90-115B cost_block_hour: 100 ground_handling_multiplier: 150 # 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 price: 120% - subfleet_id: 1 fare_id: 3 price: 1000 capacity: 110% # Fare classes on the 777 - subfleet_id: 2 fare_id: 1 - subfleet_id: 2 fare_id: 3 capacity: 10 subfleet_rank: - rank_id: 1 subfleet_id: 1 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 distance: 2028 level: 360 dpt_time: 6PM CST arr_time: 11PM EST flight_type: J created_at: NOW updated_at: NOW - id: flightid_2 airline_id: 1 flight_number: 6028 route_code: A dpt_airport_id: LGRP arr_airport_id: LGRP dpt_time: 9AM CST arr_time: 1030AM CST flight_type: J 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 dpt_airport_id: EGLL arr_airport_id: KJFK flight_type: J dpt_time: 9AM CST arr_time: 1030AM CST route: PITZZ4 MNURE WLEEE4 created_at: NOW updated_at: NOW flight_fields: - name: Departure Gate slug: departure_gate - name: Arrival Gate slug: arrival_gate flight_field_values: - id: 1 flight_id: flightid_1 name: cost index value: 80 - id: 2 flight_id: flightid_2 name: cost index value: 100 flight_subfleet: - subfleet_id: 1 flight_id: flightid_1 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 flight_number: 100 aircraft_id: 1 dpt_airport_id: KAUS arr_airport_id: KJFK flight_time: 180 # 6 hours state: 1 # accepted status: 0 source: 1 flight_type: J 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 notes: just a pilot report created_at: NOW updated_at: NOW - id: pirepid_2 user_id: 1 airline_id: 1 flight_number: 2023 aircraft_id: 2 dpt_airport_id: LGRP arr_airport_id: LGRP flight_time: 180 # 6 hours state: 1 flight_type: J route: PLMMR2 SPA Q22 BEARI FAK PHLBO3 notes: just a pilot report source: 1 # pending source_name: sample created_at: NOW updated_at: NOW - id: pirepid_3 user_id: 1 airline_id: 1 flight_number: 300 aircraft_id: 3 dpt_airport_id: KJFK arr_airport_id: KAUS flight_time: 180 # 6 hours state: 1 # pending source: 0 # manual flight_type: J route: PLMMR2 SPA Q22 BEARI FAK PHLBO3 notes: just a pilot report created_at: NOW updated_at: NOW pirep_fares: - id: 1 pirep_id: pirepid_1 fare_id: 1 count: 300 - id: 2 pirep_id: pirepid_1 fare_id: 2 count: 25 - id: 3 pirep_id: pirepid_1 fare_id: 3 count: 10 - id: 4 pirep_id: pirepid_2 fare_id: 1 count: 200 - id: 5 pirep_id: pirepid_2 fare_id: 3 count: 15 pirep_fields: - id: 1 name: departure gate slug: departure_gate required: 1 - id: 2 name: arrival gate slug: arrival_gate required: 0 pirep_field_values: - id: 1 pirep_id: pirepid_1 name: arrival gate slug: arrival_gate value: 10 source: manual - id: 2 pirep_id: pirepid_1 name: departure gate slug: departure_gate value: B32 source: manual 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 journals: - id: 1 ledger_id: null type: 0 balance: 7870000 currency: USD morphed_type: App\Models\Airline morphed_id: 1 created_at: '2018-03-06 12:33:45' updated_at: '2018-03-06 12:34:15' - id: 2 ledger_id: null type: 1 balance: 15000 currency: USD morphed_type: App\Models\User morphed_id: 1 created_at: '2018-03-06 12:33:45' updated_at: '2018-03-06 12:34:15' journal_transactions: - id: 2cbb5990-c70c-40a8-8381-05b6402a96b4 transaction_group: 'Pilot Pay' journal_id: 2 credit: 15000 debit: null currency: USD memo: 'Pilot Payment @ 50' tags: '"pilot_pay"' ref_class: App\Models\Pirep ref_class_id: pirepid_1 created_at: '2018-03-06 12:34:15' updated_at: '2018-03-06 12:34:15' post_date: '2018-03-06 12:34:15' - id: 3471fb16-0afd-4815-8b0c-f92771274063 transaction_group: 'Expense: Per-Flight (no muliplier)' journal_id: 1 credit: null debit: 10000 currency: USD memo: 'Expense: Per-Flight (no muliplier)' tags: '"expense"' ref_class: App\Models\Pirep ref_class_id: pirepid_1 created_at: '2018-03-06 12:34:15' updated_at: '2018-03-06 12:34:15' post_date: '2018-03-06 12:34:15' - id: 37f21468-ebad-4850-8557-db310ca45eb4 transaction_group: Fares journal_id: 1 credit: 6000000 debit: 0 currency: USD memo: 'Fares Y300; price: 200, cost: 0' tags: '"fare"' ref_class: App\Models\Pirep ref_class_id: pirepid_1 created_at: '2018-03-06 12:34:15' updated_at: '2018-03-06 12:34:15' post_date: '2018-03-06 12:34:15' - id: 3e933972-07ef-4bb2-b1e1-90ef7e8871c6 transaction_group: 'Expense: Per-Flight (multiplier, on airline)' journal_id: 1 credit: null debit: 20000 currency: USD memo: 'Expense: Per-Flight (multiplier, on airline)' tags: '"expense"' ref_class: App\Models\Pirep ref_class_id: pirepid_1 created_at: '2018-03-06 12:34:15' updated_at: '2018-03-06 12:34:15' post_date: '2018-03-06 12:34:15' - id: 522d8032-4ca0-4d6d-b7af-613be4bf281c transaction_group: 'Expense: Per-Flight (multiplier)' journal_id: 1 credit: null debit: 10000 currency: USD memo: 'Expense: Per-Flight (multiplier)' tags: '"expense"' ref_class: App\Models\Pirep ref_class_id: pirepid_1 created_at: '2018-03-06 12:34:15' updated_at: '2018-03-06 12:34:15' post_date: '2018-03-06 12:34:15' - id: a9bca611-c251-4fde-9f28-206d4debeb01 transaction_group: 'Subfleet: Catering (747-43X RB211-524G)' journal_id: 1 credit: null debit: 100000 currency: USD memo: 'Subfleet Expense: Catering (747-43X RB211-524G)' tags: '"subfleet"' ref_class: App\Models\Pirep ref_class_id: pirepid_1 created_at: '2018-03-06 12:34:15' updated_at: '2018-03-06 12:34:15' post_date: '2018-03-06 12:34:15' - id: c3ff6a6d-03d0-4744-8678-e27329462dcb transaction_group: Fares journal_id: 1 credit: 1000000 debit: 0 currency: USD memo: 'Fares F10; price: 1000, cost: 0' tags: '"fare"' ref_class: App\Models\Pirep ref_class_id: pirepid_1 created_at: '2018-03-06 12:34:15' updated_at: '2018-03-06 12:34:15' post_date: '2018-03-06 12:34:15' - id: c4e05ec1-530f-4897-92e8-787bdec8a0a1 transaction_group: 'Pilot Pay' journal_id: 1 credit: null debit: 15000 currency: USD memo: 'Pilot Payment @ 50' tags: '"pilot_pay"' ref_class: App\Models\Pirep ref_class_id: pirepid_1 created_at: now updated_at: now post_date: now - id: ed516367-eeb9-4a09-bfb7-531ec4be2f93 transaction_group: Fares journal_id: 1 credit: 1100000 debit: 0 currency: USD memo: 'Fares B10; price: 1100, cost: 0' tags: '"fare"' ref_class: App\Models\Pirep ref_class_id: pirepid_1 created_at: now updated_at: now post_date: now - id: f3f8585e-894c-4491-b19b-d07b6ad20208 transaction_group: 'Ground Handling' journal_id: 1 credit: null debit: 75000 currency: USD memo: 'Ground Handling' tags: '"ground_handling"' ref_class: App\Models\Pirep ref_class_id: pirepid_1 created_at: now updated_at: now post_date: now - id: 1bd1616c-eaa4-4ab9-b5c1-441004ceef14 transaction_group: 'Subfleet 744-3X-RB211' journal_id: 1 credit: null debit: 300000 currency: USD memo: 'Subfleet 744-3X-RB211: Block Time Cost' tags: '"subfleet"' ref_class: App\Models\Pirep ref_class_id: pirepid_1 created_at: now updated_at: now post_date: now