'hashed']; public function customer() { return $this->belongsTo(\App\Models\Customer::class); } public function ipAddress() { return $this->belongsTo(\App\Models\ModuleIpAddress::class, 'module_ip_address', 'id'); } public function vCenter() { return $this->belongsTo(\App\Models\vCenter::class, 'vcenter_id', 'id'); } public function os() { return $this->belongsTo(\App\Models\Os::class); } public function osGroup() { return $this->belongsTo(\App\Models\OsGroup::class); } public function order() { return $this->belongsTo(\App\Models\Order::class); } public function getStatus() { return match ($this->status) { 1 => 'Active', 2 => 'Cancel', default => 'Pending', }; } }