data)) { return json_decode($this->data, 1); } else { return null; } } public function propertyDetail() { return $this->hasOne('App\Models\Property', 'id', 'property_id') ->select(['id', 'name', 'country', 'official_name', 'tax_office', 'tax_number', 'commission', 'commission_offline', 'commission_channel', 'commission_wholesaler','contract_user_id']); } }