add publish module

This commit is contained in:
Arno Kaimbacher 2018-08-29 17:18:15 +02:00
parent 100f6db9a6
commit ffbbc04206
93 changed files with 8150 additions and 10228 deletions

21
app/Models/Title.php Normal file
View file

@ -0,0 +1,21 @@
<?php
namespace App\Models;
//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');
}
}