role; } public function setRole(Role $role) { $this->role = $role; } public function getBranch() { return $this->branch; } public function setBranch(BranchSync $branch) { $this->branch = $branch; } public function getUser() { return $this->user; } public function setUser(User $user) { $this->user = $user; } /** * Get id * * @return integer */ public function getId() { return $this->id; } /** * Set userId * * @param integer $userId * @return BranchUsers */ public function setUserId($userId) { $this->userId = $userId; return $this; } /** * Get userId * * @return integer */ public function getUserId() { return $this->userId; } /** * Set roleId * * @param integer $roleId * @return BranchUsers */ public function setRoleId($roleId) { $this->roleId = $roleId; return $this; } /** * Get roleId * * @return integer */ public function getRoleId() { return $this->roleId; } /** * Set branchId * * @param integer $id * @return BranchUsers */ public function setBranchId($id) { $this->branchId = $id; return $this; } /** * Get branchId * * @return integer */ public function getBranchId() { return $this->branchId; } }