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),
|
|
|
|
'ref_class' => null,
|
2018-03-18 01:55:50 +08:00
|
|
|
'ref_class_params' => null,
|
|
|
|
];
|
|
|
|
});
|