19 lines
384 B
PHP
19 lines
384 B
PHP
|
<?php
|
||
|
|
||
|
namespace Database\Factories;
|
||
|
|
||
|
use Illuminate\Database\Eloquent\Factories\Factory;
|
||
|
|
||
|
class AdmissionFactory extends Factory
|
||
|
{
|
||
|
public function definition(): array
|
||
|
{
|
||
|
return [
|
||
|
'name' => fake()->name(),
|
||
|
'description' => fake()->text(),
|
||
|
'slug' => fake()->slug(),
|
||
|
'position' => fake()->randomDigit(),
|
||
|
];
|
||
|
}
|
||
|
}
|