📄 customdto.java~1~
字号:
package loginejb;
import java.io.Serializable;
public class CustomDTO
implements Serializable {
private Byte id;
public Byte getId() {
return id;
}
public void setId(Byte id) {
this.id = id;
}
public boolean equals(Object obj) {
if (this == obj) {
return true;
}
if (! (obj instanceof CustomDTO)) {
return false;
}
CustomDTO that = (CustomDTO) obj;
if (! (that.id == null ? this.id == null : that.id.equals(this.id))) {
return false;
}
return true;
}
public int hashCode() {
int result = 17;
result = 37 * result + this.id.hashCode();
return result;
}
public String toString() {
String returnString = "";
returnString += id;
return returnString;
}
}
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -