You've already forked Atomcms-edit
27 lines
490 B
PHP
Executable File
27 lines
490 B
PHP
Executable File
<?php
|
|
|
|
namespace Database\Factories;
|
|
|
|
use App\Models\RadioShout;
|
|
use App\Models\User;
|
|
use Illuminate\Database\Eloquent\Factories\Factory;
|
|
|
|
/**
|
|
* @extends Factory<RadioShout>
|
|
*/
|
|
class RadioShoutFactory extends Factory
|
|
{
|
|
/**
|
|
* Define the model's default state.
|
|
*
|
|
* @return array<string, mixed>
|
|
*/
|
|
public function definition(): array
|
|
{
|
|
return [
|
|
'user_id' => User::factory(),
|
|
'message' => fake()->sentence(),
|
|
];
|
|
}
|
|
}
|