sendTime change

This commit is contained in:
geek 2016-11-16 18:44:03 +09:00
parent ca0deca18c
commit b800e1929e

View File

@ -43,10 +43,10 @@ public class PortScanHistory {
private String description; private String description;
@Column(nullable = true) @Column(nullable = true)
private Date sendTime; private Date startDate;
@Column(nullable = true) @Column(nullable = true)
private Date resultTime; private Date endDate;
@Column(columnDefinition = "TIMESTAMP DEFAULT CURRENT_TIMESTAMP", nullable = false, insertable = false, updatable = false) @Column(columnDefinition = "TIMESTAMP DEFAULT CURRENT_TIMESTAMP", nullable = false, insertable = false, updatable = false)
private Date createDate; private Date createDate;
@ -104,20 +104,20 @@ public class PortScanHistory {
this.directionType = directionType; this.directionType = directionType;
} }
public Date getSendTime() { public Date getStartDate() {
return sendTime; return startDate;
} }
public void setSendTime(Date sendTime) { public void setStartDate(Date startDate) {
this.sendTime = sendTime; this.startDate = startDate;
} }
public Date getResultTime() { public Date getEndDate() {
return resultTime; return endDate;
} }
public void setResultTime(Date resultTime) { public void setEndDate(Date endDate) {
this.resultTime = resultTime; this.endDate = endDate;
} }
public String getDescription() { public String getDescription() {