📄 syfxtasklogid.java
字号:
package com.syfxapp.pojo;
import java.util.Date;
/**
* SyfxTaskLogId entity. @author MyEclipse Persistence Tools
*/
public class SyfxTaskLogId implements java.io.Serializable {
// Fields
private String ny;
private Date starttime;
private Date endtime;
// Constructors
/** default constructor */
public SyfxTaskLogId() {
}
/** full constructor */
public SyfxTaskLogId(String ny, Date starttime, Date endtime) {
this.ny = ny;
this.starttime = starttime;
this.endtime = endtime;
}
// Property accessors
public String getNy() {
return this.ny;
}
public void setNy(String ny) {
this.ny = ny;
}
public Date getStarttime() {
return this.starttime;
}
public void setStarttime(Date starttime) {
this.starttime = starttime;
}
public Date getEndtime() {
return this.endtime;
}
public void setEndtime(Date endtime) {
this.endtime = endtime;
}
public boolean equals(Object other) {
if ((this == other))
return true;
if ((other == null))
return false;
if (!(other instanceof SyfxTaskLogId))
return false;
SyfxTaskLogId castOther = (SyfxTaskLogId) other;
return ((this.getNy() == castOther.getNy()) || (this.getNy() != null
&& castOther.getNy() != null && this.getNy().equals(
castOther.getNy())))
&& ((this.getStarttime() == castOther.getStarttime()) || (this
.getStarttime() != null
&& castOther.getStarttime() != null && this
.getStarttime().equals(castOther.getStarttime())))
&& ((this.getEndtime() == castOther.getEndtime()) || (this
.getEndtime() != null
&& castOther.getEndtime() != null && this.getEndtime()
.equals(castOther.getEndtime())));
}
public int hashCode() {
int result = 17;
result = 37 * result + (getNy() == null ? 0 : this.getNy().hashCode());
result = 37 * result
+ (getStarttime() == null ? 0 : this.getStarttime().hashCode());
result = 37 * result
+ (getEndtime() == null ? 0 : this.getEndtime().hashCode());
return result;
}
}
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -