Files
nutzwerte_fi4/app/Models/Projekt.php
T
2025-10-03 09:13:13 +02:00

30 lines
522 B
PHP

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