tethys/app/Models/DatasetIdentifier.php
Arno Kaimbacher b5abcef327 - add ui for editor for publishing dois
- composer updates
- unit test with test credentials
2021-05-18 13:17:29 +02:00

20 lines
402 B
PHP

<?php
namespace App\Models;
use App\Models\Dataset;
use Illuminate\Database\Eloquent\Model;
class DatasetIdentifier extends Model
{
protected $table = 'dataset_identifiers';
protected $guarded = array();
/**
* The dataset that belong to the DocumentIdentifier.
*/
public function dataset()
{
return $this->belongsTo(Dataset::class, 'dataset_id', 'id');
}
}