10-04-2026

This commit is contained in:
Kevin Adametz 2026-04-10 17:18:17 +02:00
parent 4d6b4930b2
commit 4bb89aad8c
836 changed files with 52961 additions and 5950 deletions

View file

@ -0,0 +1,37 @@
<?php
namespace Database\Factories;
use App\Enums\DisplayVersionType;
use App\Models\DisplayVersion;
use Illuminate\Database\Eloquent\Factories\Factory;
/**
* @template TModel of \App\Models\DisplayVersion
*
* @extends \Illuminate\Database\Eloquent\Factories\Factory<TModel>
*/
class DisplayVersionFactory extends Factory
{
/**
* The name of the factory's corresponding model.
*
* @var class-string<TModel>
*/
protected $model = DisplayVersion::class;
/**
* Define the model's default state.
*
* @return array<string, mixed>
*/
public function definition(): array
{
return [
'name' => fake()->words(3, true),
'type' => DisplayVersionType::VideoDisplay,
'settings' => [],
'is_active' => true,
];
}
}