phpvms/database/factories/FlightFactory.php

11 lines
217 B
PHP
Raw Normal View History

2017-06-20 00:30:39 +08:00
<?php
$factory->define(App\Models\Flight::class, function (Faker\Generator $faker) {
return [
'code' => 'Y',
'name' => 'Economy',
'price' => '100',
'capacity' => '200',
];
});