Files
nutzwerte_fi4/app/Models/Projekte.php
T
2025-10-03 10:55:01 +02:00

30 lines
525 B
PHP

<?php
namespace App\Models;
use Illuminate\Database\Eloquent\Model;
class Projekte extends Model
{
protected $fillable = [
'konto_id',
'auftraggeber_id',
'gutachter_id',
'offizieller_name',
'interner_name',
'beschreibung',
'erstellung',
'status',
];
public function auftraggeber()
{
return $this->belongsTo(Auftraggeber::class);
}
public function gutachter()
{
return $this->belongsTo(Gutachter::class);
}
}