tethys/app/Models/Title.php

22 lines
387 B
PHP
Raw Normal View History

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