*/ class ChannelFactory extends Factory { /** * Define the model's default state. * * @return array */ public function definition(): array { return [ 'property_id' => Property::factory(), 'name' => fake()->randomElement(['FeWo-direkt', 'Ostseeklar', 'ferienundwohnen.de']), 'connector' => 'ical', 'settings' => ['import_url' => 'https://portal.example/ical/'.fake()->uuid().'.ics'], 'is_active' => true, 'requires_manual_blocking' => false, ]; } }