false])] #[Groups(['workbyuser', 'worksbyusers_db'])] private $isDone=false; /** * Sets id. * * @param int $id * * @return $this */ public function setId($id) { $this->id = $id; return $this; } /** * Gets id. * * @return int */ public function getId() { return $this->id; } /** * Sets work. * * @param Work $work * * @return $this */ public function setWork(Work $work = null) { $this->work = $work; return $this; } /** * Gets work. * * @return Work */ public function getWork() { return $this->work; } /** * Sets student. * * @param Access $student * * @return $this */ public function setStudent(Access $student = null) { $this->student = $student; return $this; } /** * Gets student. * * @return Access */ public function getStudent() { return $this->student; } /** * Sets isDone. * * @param boolean $isDone * * @return $this */ public function setIsDone($isDone) { $this->isDone = $isDone; return $this; } /** * Gets isDone. * * @return boolean */ public function getIsDone() { return $this->isDone; } }