*/ class ServerFactory extends Factory { protected $model = Server::class; public function definition(): array { return [ 'name' => $this->faker->name(), 'ssh_user' => 'vito', 'ip' => $this->faker->ipv4(), 'local_ip' => $this->faker->ipv4(), 'port' => 22, 'os' => OperatingSystem::UBUNTU22, 'type' => ServerType::REGULAR, 'provider' => ServerProvider::CUSTOM, 'authentication' => [ 'user' => 'vito', 'pass' => 'password', ], 'public_key' => 'test', 'status' => ServerStatus::READY, 'progress' => 100, ]; } }