*/ class DisplayVersionFactory extends Factory { /** * The name of the factory's corresponding model. * * @var class-string */ protected $model = DisplayVersion::class; /** * Define the model's default state. * * @return array */ public function definition(): array { return [ 'name' => fake()->words(3, true), 'type' => DisplayVersionType::VideoDisplay, 'settings' => [], 'is_active' => true, ]; } }