2017-12-13 11:50:55 +08:00
|
|
|
<?php
|
|
|
|
|
|
|
|
use Faker\Generator as Faker;
|
|
|
|
|
|
|
|
$factory->define(App\Models\Subfleet::class, function (Faker $faker) {
|
|
|
|
return [
|
2018-01-06 03:00:45 +08:00
|
|
|
#'id' => $faker->unique()->numberBetween(10, 10000),
|
2017-12-13 11:50:55 +08:00
|
|
|
'airline_id' => 1,
|
|
|
|
'name' => $faker->unique()->text(50),
|
|
|
|
'type' => $faker->unique()->text(7),
|
|
|
|
];
|
|
|
|
});
|