Add zfw and block_fuel to factory

This commit is contained in:
Nabeel Shahzad 2018-01-30 11:07:48 -06:00
parent 4f59e466a2
commit 29c0f3cdaf
2 changed files with 3 additions and 1 deletions

View File

@ -41,7 +41,8 @@ $factory->define(App\Models\Pirep::class, function (Faker $faker) {
'planned_distance' => $faker->randomFloat(2),
'flight_time' => $faker->randomFloat(2),
'planned_flight_time' => $faker->randomFloat(2),
'gross_weight' => $faker->randomFloat(2),
'zfw' => $faker->randomFloat(2),
'block_fuel' => $faker->randomFloat(2),
'route' => $faker->text(200),
'notes' => $faker->text(200),
'source' => $faker->randomElement([PirepSource::MANUAL, PirepSource::ACARS]),

View File

@ -37,6 +37,7 @@ class Pirep extends BaseModel
'planned_flight_time',
'dpt_airport_id',
'arr_airport_id',
'zfw',
'block_fuel',
'landing_rate',
'level',