projekte wip
This commit is contained in:
1 parent
fc974e4793
commit
aa301f1197
6 files changed
+658
-2
No files matched your search
@@ -0,0 +1,29 @@
|
||||
<?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);
|
||||
}
|
||||
}
|
||||
Reference in new issue
Block a user