31 lines
852 B
PHP
31 lines
852 B
PHP
<?php
|
|
|
|
namespace Database\Factories;
|
|
|
|
use Illuminate\Database\Eloquent\Factories\Factory;
|
|
|
|
class BreederFactory extends Factory
|
|
{
|
|
/**
|
|
* Define the model's default state.
|
|
*
|
|
* @return array<string, mixed>
|
|
*/
|
|
public function definition(): array
|
|
{
|
|
return [
|
|
'inuav_codes' => [
|
|
fake()->text(10),
|
|
fake()->text(10),
|
|
],
|
|
'first_name' => fake()->firstName(),
|
|
'last_name' => fake()->lastName(),
|
|
'picture_title' => fake()->words(5, true),
|
|
'picture_alt' => fake()->words(8, true),
|
|
'postal_code' => fake()->postcode(),
|
|
'testimony' => fake()->text(),
|
|
'is_highlighted' => fake()->boolean(75),
|
|
'published' => fake()->boolean(75),
|
|
];
|
|
}
|
|
}
|