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

  1. <?php
  2. /** @var \Illuminate\Database\Eloquent\Factory $factory */
  3. use App\Models\Status;
  4. use Faker\Generator as Faker;
  5. $factory->define(Status::class, function (Faker $faker) {
  6. return [
  7. 'name' => $faker->randomElement(['idea', 'todo',
  8. 'doing', 'done', 'pending', 'hold', 'logestik', 'sew']),
  9. 'state' => rand(0, 3),
  10. 'order' => rand(0, 10),
  11. ];
  12. });