You've already forked Atomcms-edit
28 lines
552 B
PHP
Executable File
28 lines
552 B
PHP
Executable File
<?php
|
|
|
|
namespace Database\Factories;
|
|
|
|
use App\Models\RadioRank;
|
|
use Illuminate\Database\Eloquent\Factories\Factory;
|
|
|
|
/**
|
|
* @extends Factory<RadioRank>
|
|
*/
|
|
class RadioRankFactory extends Factory
|
|
{
|
|
/**
|
|
* Define the model's default state.
|
|
*
|
|
* @return array<string, mixed>
|
|
*/
|
|
public function definition(): array
|
|
{
|
|
return [
|
|
'name' => fake()->word(),
|
|
'description' => fake()->sentence(),
|
|
'badge_code' => fake()->randomNumber(5),
|
|
'is_active' => true,
|
|
];
|
|
}
|
|
}
|