📄 logininfo.java
字号:
/*
* LoginInfo.java
*
* Created on 2006年10月19日, 下午10:58
*
* To change this template, choose Tools | Template Manager
* and open the template in the editor.
*/
package TiKuMS;
/**
*
* @author hp
*/
public class LoginInfo {
private boolean logined=false;
private int userID=0;
private String userName;
private String userType;
/** Creates a new instance of LoginInfo */
public void login(int userID,String userName,String userType)
{
logined=true;
this.userID=userID;
this.userName=userName;
this.userType=userType;
}
public void logout()
{
logined=false;
this.userID=0;
this.userName="";
this.userType="";
}
public LoginInfo() {
}
public boolean isLogined() {
return logined;
}
public int getUserID() {
return userID;
}
public String getUserName() {
return userName;
}
public String getUserType() {
return userType;
}
}
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -