|  |  |  | 
|---|
|  |  |  | */ | 
|---|
|  |  |  | boolean needPassword; | 
|---|
|  |  |  | int userType; | 
|---|
|  |  |  | Integer companyId; | 
|---|
|  |  |  |  | 
|---|
|  |  |  | public ShiroToken() { | 
|---|
|  |  |  | } | 
|---|
|  |  |  | public  ShiroToken( String username, String password, boolean needPassword,int userType) { | 
|---|
|  |  |  | public  ShiroToken( String username, String password, boolean needPassword,int userType,Integer companyId) { | 
|---|
|  |  |  | super(username,  password, false, (String)null); | 
|---|
|  |  |  | this.needPassword = needPassword; | 
|---|
|  |  |  | this.userType = userType; | 
|---|
|  |  |  | this.companyId = companyId; | 
|---|
|  |  |  | } | 
|---|
|  |  |  | public Integer getCompanyId() { | 
|---|
|  |  |  | return companyId; | 
|---|
|  |  |  | } | 
|---|
|  |  |  |  | 
|---|
|  |  |  | public void setCompanyId(Integer companyId) { | 
|---|
|  |  |  | this.companyId = companyId; | 
|---|
|  |  |  | } | 
|---|
|  |  |  |  | 
|---|
|  |  |  |  | 
|---|
|  |  |  | public boolean isNeedPassword() { | 
|---|
|  |  |  | return needPassword; | 
|---|