Add zfw and block_fuel to factory
This commit is contained in:
parent
4f59e466a2
commit
29c0f3cdaf
@ -41,7 +41,8 @@ $factory->define(App\Models\Pirep::class, function (Faker $faker) {
|
|||||||
'planned_distance' => $faker->randomFloat(2),
|
'planned_distance' => $faker->randomFloat(2),
|
||||||
'flight_time' => $faker->randomFloat(2),
|
'flight_time' => $faker->randomFloat(2),
|
||||||
'planned_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),
|
'route' => $faker->text(200),
|
||||||
'notes' => $faker->text(200),
|
'notes' => $faker->text(200),
|
||||||
'source' => $faker->randomElement([PirepSource::MANUAL, PirepSource::ACARS]),
|
'source' => $faker->randomElement([PirepSource::MANUAL, PirepSource::ACARS]),
|
||||||
|
@ -37,6 +37,7 @@ class Pirep extends BaseModel
|
|||||||
'planned_flight_time',
|
'planned_flight_time',
|
||||||
'dpt_airport_id',
|
'dpt_airport_id',
|
||||||
'arr_airport_id',
|
'arr_airport_id',
|
||||||
|
'zfw',
|
||||||
'block_fuel',
|
'block_fuel',
|
||||||
'landing_rate',
|
'landing_rate',
|
||||||
'level',
|
'level',
|
||||||
|
Loading…
Reference in New Issue
Block a user