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

21 lines
355 B
PHP

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