?? transformer.java
字號:
package yuwu.cn.com.vo;
public class Transformer {
private long commId; //變壓器ID
private String frontName;//通訊主機(jī)名
private String protocolId;//協(xié)議ID
private String commAddress;//變壓器地址
private String name;//變壓器客戶名
//private Date useDate;//使用時(shí)間
private long lineId;//線路ID
public Transformer(){
}
public String getCommAddress() {
return commAddress;
}
public void setCommAddress(String commAddress) {
this.commAddress = commAddress;
}
public long getCommId() {
return commId;
}
public void setCommId(long commId) {
this.commId = commId;
}
public String getFrontName() {
return frontName;
}
public void setFrontName(String frontName) {
this.frontName = frontName;
}
public long getLineId() {
return lineId;
}
public void setLineId(long lineId) {
this.lineId = lineId;
}
public String getName() {
return name;
}
public void setName(String name) {
this.name = name;
}
public String getProtocolId() {
return protocolId;
}
public void setProtocolId(String protocolId) {
this.protocolId = protocolId;
}
@Override
public int hashCode() {
final int PRIME = 31;
int result = 1;
result = PRIME * result + (int) (commId ^ (commId >>> 32));
return result;
}
@Override
public boolean equals(Object obj) {
if (this == obj)
return true;
if (obj == null)
return false;
if (getClass() != obj.getClass())
return false;
final Transformer other = (Transformer) obj;
if (commId != other.commId)
return false;
return true;
}
}
?? 快捷鍵說明
復(fù)制代碼
Ctrl + C
搜索代碼
Ctrl + F
全屏模式
F11
切換主題
Ctrl + Shift + D
顯示快捷鍵
?
增大字號
Ctrl + =
減小字號
Ctrl + -