inhaltsangabe wip
This commit is contained in:
1 parent
8ccc4a3c20
commit
3a35ccd69d
34 files changed
+281
-236
No files matched your search
@@ -8,14 +8,21 @@ class Inhaltsverzeichnis extends Model
|
||||
{
|
||||
protected $fillable = [
|
||||
'name',
|
||||
'textblock_kennung_id',
|
||||
'ueberschrift_anzeigen',
|
||||
'tabellen_id',
|
||||
'textblock_id',
|
||||
'sort',
|
||||
'ordnungszahl',
|
||||
'seite',
|
||||
];
|
||||
|
||||
public function textblock_kennung()
|
||||
public function textblock()
|
||||
{
|
||||
return $this->hasMany(TextblockKennung::class, 'id', 'textblock_kennung_id');
|
||||
return $this->hasMany(Textblock::class, 'id', 'textblock_id');
|
||||
}
|
||||
|
||||
public function tabellen()
|
||||
{
|
||||
return $this->hasMany(Tabellen::class, 'id', 'tabellen_id');
|
||||
}
|
||||
}
|
||||
Reference in new issue
Block a user