Added Auth
This commit is contained in:
@@ -11,4 +11,12 @@ class Veranstaltung extends Model
|
||||
protected $fillable = ['name','beginn','ende','geaste','hinweise'];
|
||||
|
||||
protected $dates = ['beginn', 'ende'];
|
||||
|
||||
public function eintragungen(){
|
||||
return $this->hasMany('App\Eintragung');
|
||||
}
|
||||
|
||||
public function einteilungen(){
|
||||
return $this->hasMany('App\Einteilung');
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user