2024-06-10 16:47:07 +02:00
|
|
|
<?php
|
|
|
|
|
|
|
|
|
|
namespace Database\Factories;
|
|
|
|
|
|
|
|
|
|
use Illuminate\Database\Eloquent\Factories\Factory;
|
|
|
|
|
|
|
|
|
|
class ClaimFactory extends Factory
|
|
|
|
|
{
|
|
|
|
|
/**
|
|
|
|
|
* Define the model's default state.
|
|
|
|
|
*
|
|
|
|
|
* @return array<string, mixed>
|
|
|
|
|
*/
|
2024-10-21 12:01:23 +02:00
|
|
|
public function definition(): array
|
2024-06-10 16:47:07 +02:00
|
|
|
{
|
|
|
|
|
return [
|
|
|
|
|
'label' => fake()->words(rand(1, 2), true),
|
|
|
|
|
'published' => fake()->boolean(75),
|
|
|
|
|
];
|
|
|
|
|
}
|
|
|
|
|
}
|