update([ 'evaluation_gutachten' => false, 'pdf_nutzwerte_status' => false, ]); }); } /** * Get the attributes that should be cast. * * @return array */ protected function casts(): array { return [ 'nicht_in_orientierung' => 'boolean', ]; } public function orientierung(): HasOne { return $this->hasOne(Orientierung::class, 'id', 'orientierung_id'); } public function projektobjekteimdetail(): HasOne { return $this->hasOne(ProjektObjekteImDetail::class, 'projekt_objekte_id', 'id'); } }