belongsTo(PolicyDocument::class, 'index_policy','_id'); } public function storePolicy() { return $this->belongsTo(PolicyDocument::class, 'store_policy','_id'); } public function updatePolicy() { return $this->belongsTo(PolicyDocument::class, 'update_policy','_id'); } public function getPolicy() { return $this->belongsTo(PolicyDocument::class, 'get_policy','_id'); } public function deletePolicy() { return $this->belongsTo(PolicyDocument::class, 'delete_policy','_id'); } public function restorePolicy() { return $this->belongsTo(PolicyDocument::class, 'restore_policy','_id'); } public function trashPolicy() { return $this->belongsTo(PolicyDocument::class, 'trash_policy','_id'); } }