id; } public function getWork(): ?Work { return $this->work; } public function setWork(?Work $work): self { $this->work = $work; return $this; } public function getStudent(): ?Access { return $this->student; } public function setStudent(?Access $student): self { $this->student = $student; return $this; } }