📄 loginkey.java
字号:
package zhxt.login.ejb;
/**
* Key class for Entity Bean: Login
*/
public class LoginKey implements java.io.Serializable {
static final long serialVersionUID = 3206093459760846163L;
public boolean ispass;
public String username;
/**
* Creates an empty key for Entity Bean: Login
*/
public LoginKey() {
}
/**
* Returns true if both keys are equal.
*/
public boolean equals(java.lang.Object otherKey) {
if (otherKey instanceof zhxt.login.ejb.LoginKey) {
zhxt.login.ejb.LoginKey o = (zhxt.login.ejb.LoginKey) otherKey;
return (super.equals(otherKey));
}
return false;
}
/**
* Returns the hash code for the key.
*/
public int hashCode() {
return (super.hashCode());
}
/**
* 写入代码
*/
public LoginKey(String username ,boolean ispass)
{
this.username = username;
this.ispass = ispass;
}
/**
* Returns the ispass.
* @return boolean
*/
public boolean isIspass() {
return ispass;
}
/**
* Sets the ispass.
* @param ispass The ispass to set
*/
public void setIspass(boolean ispass) {
this.ispass = ispass;
}
/**
* Returns the username.
* @return String
*/
public String getUsername() {
return username;
}
/**
* Sets the username.
* @param username The username to set
*/
public void setUsername(String username) {
this.username = username;
}
}
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -