📄 prod_pb_infoentpk.java~2~
字号:
package product;
import java.io.*;
public class prod_pb_infoEntPK
implements Serializable {
public String p_id;
public prod_pb_infoEntPK() {
}
public prod_pb_infoEntPK(String p_id) {
this.p_id = p_id;
}
public boolean equals(Object obj) {
if (obj != null) {
if (this.getClass().equals(obj.getClass())) {
prod_pb_infoEntPK that = (prod_pb_infoEntPK) obj;
return ( ( (this.p_id == null) && (that.p_id == null)) ||
(this.p_id != null && this.p_id.equals(that.p_id)));
}
}
return false;
}
public int hashCode() {
return p_id.hashCode();
}
}
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -