12-05-2026 Frontend dev
This commit is contained in:
parent
405df0a122
commit
313270b55f
777 changed files with 67136 additions and 6241 deletions
30
database/factories/AdminPresetFactory.php
Normal file
30
database/factories/AdminPresetFactory.php
Normal file
|
|
@ -0,0 +1,30 @@
|
|||
<?php
|
||||
|
||||
namespace Database\Factories;
|
||||
|
||||
use App\Models\AdminPreset;
|
||||
use Illuminate\Database\Eloquent\Factories\Factory;
|
||||
|
||||
/**
|
||||
* @extends Factory<AdminPreset>
|
||||
*/
|
||||
class AdminPresetFactory extends Factory
|
||||
{
|
||||
/**
|
||||
* Define the model's default state.
|
||||
*
|
||||
* @return array<string, mixed>
|
||||
*/
|
||||
public function definition(): array
|
||||
{
|
||||
return [
|
||||
'key' => 'test.'.fake()->unique()->slug(),
|
||||
'area' => 'test',
|
||||
'type' => 'text',
|
||||
'label' => fake()->sentence(3),
|
||||
'value' => fake()->paragraph(),
|
||||
'payload' => null,
|
||||
'is_active' => true,
|
||||
];
|
||||
}
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue