add references and submitters
This commit is contained in:
parent
14878a20c8
commit
d788410cb5
6 changed files with 166 additions and 31 deletions
|
@ -163,6 +163,12 @@ class Dataset extends Model
|
|||
return $this->hasMany(\App\Models\File::class, 'document_id', 'id');
|
||||
}
|
||||
|
||||
public function references()
|
||||
{
|
||||
return $this->hasMany(\App\Models\DatasetReference::class, 'document_id', 'id');
|
||||
}
|
||||
|
||||
|
||||
/**
|
||||
* Get the xml-cache record associated with the dataset.
|
||||
*
|
||||
|
|
Loading…
Add table
editor.link_modal.header
Reference in a new issue