Browse Source

add createTime and updateTime

pull/1/MERGE
ligang 6 years ago
parent
commit
f5662e2d1c
  1. 29
      escheduler-dao/src/main/java/cn/escheduler/dao/model/Queue.java

29
escheduler-dao/src/main/java/cn/escheduler/dao/model/Queue.java

@ -16,6 +16,8 @@
*/ */
package cn.escheduler.dao.model; package cn.escheduler.dao.model;
import java.util.Date;
/** /**
* queue * queue
*/ */
@ -34,6 +36,15 @@ public class Queue {
*/ */
private String queue; private String queue;
/**
* create time
*/
private Date createTime;
/**
* update time
*/
private Date updateTime;
public int getId() { public int getId() {
return id; return id;
} }
@ -58,12 +69,30 @@ public class Queue {
this.queue = queue; this.queue = queue;
} }
public Date getCreateTime() {
return createTime;
}
public void setCreateTime(Date createTime) {
this.createTime = createTime;
}
public Date getUpdateTime() {
return updateTime;
}
public void setUpdateTime(Date updateTime) {
this.updateTime = updateTime;
}
@Override @Override
public String toString() { public String toString() {
return "Queue{" + return "Queue{" +
"id=" + id + "id=" + id +
", queueName='" + queueName + '\'' + ", queueName='" + queueName + '\'' +
", queue='" + queue + '\'' + ", queue='" + queue + '\'' +
", createTime=" + createTime +
", updateTime=" + updateTime +
'}'; '}';
} }
} }

Loading…
Cancel
Save