permission = $permission; $this->file = $file; $this->userGroup = $group; } /** * @return int|mixed */ public function getId() { return $this->id; } /** * Set permission * * @param integer $permission * * @return FileGroupPermission */ public function setPermission($permission) { $this->permission = $permission; return $this; } /** * Get permission * * @return int */ public function getPermission() { return $this->permission; } /** * @param mixed $userGroup * @return FileGroupPermission */ public function setUserGroup($userGroup) { $this->userGroup = $userGroup; return $this; } /** * @return mixed */ public function getUserGroup() { return $this->userGroup; } /** * @param mixed $file * @return FileGroupPermission */ public function setFile($file) { $this->file = $file; return $this; } /** * @return mixed */ public function getFile() { return $this->file; } }