📄 productpk.java
字号:
package xian.bin.product;
import java.io.Serializable;
public class ProductPK
implements Serializable {
public String pID;
public ProductPK() {
}
public ProductPK(String pID) {
this.pID = pID;
}
public boolean equals(Object obj) {
if (this == obj) {
return true;
}
if (! (obj instanceof ProductPK)) {
return false;
}
ProductPK that = (ProductPK) obj;
if (! (that.pID == null ? this.pID == null : that.pID.equals(this.pID))) {
return false;
}
return true;
}
public int hashCode() {
int result = 17;
result = 37 * result + this.pID.hashCode();
return result;
}
}
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -