Files
nutzwerte_fi4/app/Models/ProjektInhaltsverzeichnis.php
T
2026-09-17 08:35:36 +02:00

57 lines
1.3 KiB
PHP

<?php
namespace App\Models;
use Illuminate\Database\Eloquent\Model;
/**
* @property int $id
* @property int $projekte_id
* @property int $cloned_from_id
* @property int $added_manuel
* @property int $inhaltselement_id
* @property int $inhaltsverzeichnis_id
* @property int $textblock_id
* @property int $konto_textblock_id
* @property int $sort
* @property float $ordnungszahl
* @property string $name
* @property string $part
* @property int $ueberschrift_verbergen
* @property int $seite
* @property int $neue_seite
* @property int $no_edit
* @property string $textblock_name
* @property string $textblock
* @property string $textblock2
*/
class ProjektInhaltsverzeichnis extends Model
{
protected $fillable = [
'projekte_id',
'cloned_from_id',
'added_manuel',
'name',
'ueberschrift_verbergen',
'inhaltselement_id',
'sort',
'ordnungszahl',
'part',
'seite',
'neue_seite',
'textblock_name',
'textblock',
'textblock2',
];
public function inhaltselement()
{
return $this->hasOne(Inhaltselement::class, 'id', 'inhaltselement_id');
}
public function inhaltsverzeichnis()
{
return $this->hasOne(Inhaltsverzeichnis::class, 'id', 'inhaltsverzeichnis_id');
}
}