*/ class TenantFactory extends Factory { /** * @return array */ public function definition(): array { return [ 'subdomain' => 'tenant-'.Str::lower(Str::random(8)), 'organization_name' => fake()->company(), 'contact_email' => fake()->unique()->safeEmail(), 'timezone' => 'Europe/Moscow', 'locale' => 'ru', 'is_trial' => true, 'api_key_limit' => 5, ]; } }