inhaltsangabe wip

This commit is contained in:
salam committed 2025-10-19 12:26:48 +02:00
1 parent 8ccc4a3c20
commit 3a35ccd69d
34 files changed
+281 -236

No files matched your search

+10 -3
View File
@@ -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');
}
}