2018-03-18 01:55:50 +08:00
|
|
|
<?php
|
|
|
|
|
|
|
|
use Faker\Generator as Faker;
|
|
|
|
|
|
|
|
$factory->define(App\Models\Award::class, function (Faker $faker) {
|
|
|
|
return [
|
2018-03-20 09:50:40 +08:00
|
|
|
'id' => null,
|
|
|
|
'name' => $faker->name,
|
|
|
|
'description' => $faker->text(10),
|
2018-04-02 03:32:01 +08:00
|
|
|
'ref_model' => null,
|
|
|
|
'ref_model_params' => null,
|
2018-03-18 01:55:50 +08:00
|
|
|
];
|
|
|
|
});
|