location_id); } /** * @return User * @throws Exception */ public function getUser(): ?User { return User::get($this->user_id); } /** * @return array */ public function getModifications(): array { return json_decode($this->modifications_json) ?: []; } }