tethys/app/Models/Title.php
2020-06-10 21:09:12 +02:00

23 lines
406 B
PHP

<?php
namespace App\Models;
//use App\Library\Xml\DatasetExtension;
use Illuminate\Database\Eloquent\Model;
use App\Models\Dataset;
class Title extends Model
{
protected $table = 'document_title_abstracts';
public $timestamps = false;
protected $fillable = [
];
public function dataset()
{
return $this->belongsTo(Dataset::class, 'document_id', 'id');
}
}