You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
15 lines
392 B
15 lines
392 B
<?php
|
|
|
|
/** @var \Illuminate\Database\Eloquent\Factory $factory */
|
|
|
|
use App\Models\Status;
|
|
use Faker\Generator as Faker;
|
|
|
|
$factory->define(Status::class, function (Faker $faker) {
|
|
return [
|
|
'name' => $faker->randomElement(['idea', 'todo',
|
|
'doing', 'done', 'pending', 'hold', 'logestik', 'sew']),
|
|
'state' => rand(0, 3),
|
|
'order' => rand(0, 10),
|
|
];
|
|
});
|