stationvo.java
来自「js 异步加载 tree 采用ajax技术」· Java 代码 · 共 66 行
JAVA
66 行
package yuwu.cn.com.vo;
/**
*变电站表
*/
public class StationVO {
private long stationId;
private String stationName;
private String stationAddress;
public StationVO() {
}
public String getStationAddress() {
return stationAddress;
}
public void setStationAddress(String stationAddress) {
this.stationAddress = stationAddress;
}
public long getStationId() {
return stationId;
}
public void setStationId(long stationId) {
this.stationId = stationId;
}
public String getStationName() {
return stationName;
}
public void setStationName(String stationName) {
this.stationName = stationName;
}
@Override
public int hashCode() {
final int PRIME = 31;
int result = 1;
result = PRIME * result + (int) (stationId ^ (stationId >>> 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 StationVO other = (StationVO) obj;
if (stationId != other.stationId)
return false;
return true;
}
}
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?