This commit is contained in:
salam committed 2025-10-06 13:08:15 +02:00
1 parent 064fceaca0
commit fdd91f5032
10 files changed
+140 -26

No files matched your search

+18
View File
@@ -0,0 +1,18 @@
<?php
namespace App\Models;
use Illuminate\Database\Eloquent\Model;
class OrientierungZuAbschlaege extends Model
{
protected $fillable = [
'methode_id',
'orientierung_id',
'top_nummer',
'geschoss',
'raumart',
'faktor',
'flaeche',
];
}
+5
View File
@@ -17,6 +17,11 @@ class Projekte extends Model
'status',
];
public function orientierung_zu_abschlaeges()
{
return $this->hasMany(OrientierungZuAbschlaege::class);
}
public function auftraggeber()
{
return $this->belongsTo(Auftraggeber::class);
-1
View File
@@ -8,7 +8,6 @@ class Raeumealle extends Model
{
protected $fillable = [
'methode_id',
'orientierung_id',
'top_nummer',
'geschoss',
'raumart',