*/ class StorageSlotFactory extends Factory { protected $model = StorageSlot::class; /** * @return array */ public function definition(): array { return [ 'label' => $this->faker->unique()->randomLetter().strtoupper($this->faker->randomLetter()), 'active' => true, 'pos' => 0, ]; } }