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.

16 lines
442 B

  1. <?php
  2. /** @var \Illuminate\Database\Eloquent\Factory $factory */
  3. use App\Models\Sprint;
  4. use Faker\Generator as Faker;
  5. $factory->define(Sprint::class, function (Faker $faker) {
  6. return [
  7. 'business_id' => null,
  8. 'name' => $faker->randomElement(['scrum', 'printing',
  9. 'agile', 'develop', 'design', 'writing', 'seo', 'sale']),
  10. 'active' => rand(0, 1),
  11. 'description' => $faker->paragraph,
  12. ];
  13. });