*/ class AmenityFactory extends Factory { /** * Define the model's default state. * * @return array */ public function definition(): array { return [ 'property_id' => Property::factory(), 'area' => AmenityArea::General, 'name' => fake()->words(2, true), 'is_highlight' => false, 'sort_order' => 0, ]; } }