wip
This commit is contained in:
1 parent
064fceaca0
commit
fdd91f5032
10 files changed
+140
-26
No files matched your search
@@ -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',
|
||||
];
|
||||
}
|
||||
@@ -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);
|
||||
|
||||
@@ -8,7 +8,6 @@ class Raeumealle extends Model
|
||||
{
|
||||
protected $fillable = [
|
||||
'methode_id',
|
||||
'orientierung_id',
|
||||
'top_nummer',
|
||||
'geschoss',
|
||||
'raumart',
|
||||
|
||||
Reference in new issue
Block a user