applicant-site/database/factories/SubjectFactory.php

19 lines
382 B
PHP
Raw Permalink Normal View History

2024-02-17 11:30:32 +03:00
<?php
namespace Database\Factories;
use Illuminate\Database\Eloquent\Factories\Factory;
class SubjectFactory extends Factory
{
public function definition(): array
{
return [
'name' => fake()->name(),
'description' => fake()->text(),
'slug' => fake()->slug(),
'position' => fake()->randomDigit(),
];
}
}