📄 transformer.java
字号:
package yuwu.cn.com.vo;
public class Transformer {
private long commId; //变压器ID
private String frontName;//通讯主机名
private String protocolId;//协议ID
private String commAddress;//变压器地址
private String name;//变压器客户名
//private Date useDate;//使用时间
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;
}
}
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -