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