diff --git a/src/main/java/com/loafle/bridge/discoveryhost/entity/PortScanHistory.java b/src/main/java/com/loafle/bridge/discoveryhost/entity/PortScanHistory.java index 0eaa4bd..3d4b85d 100644 --- a/src/main/java/com/loafle/bridge/discoveryhost/entity/PortScanHistory.java +++ b/src/main/java/com/loafle/bridge/discoveryhost/entity/PortScanHistory.java @@ -43,10 +43,10 @@ public class PortScanHistory { private String description; @Column(nullable = true) - private Date sendTime; + private Date startDate; @Column(nullable = true) - private Date resultTime; + private Date endDate; @Column(columnDefinition = "TIMESTAMP DEFAULT CURRENT_TIMESTAMP", nullable = false, insertable = false, updatable = false) private Date createDate; @@ -104,20 +104,20 @@ public class PortScanHistory { this.directionType = directionType; } - public Date getSendTime() { - return sendTime; + public Date getStartDate() { + return startDate; } - public void setSendTime(Date sendTime) { - this.sendTime = sendTime; + public void setStartDate(Date startDate) { + this.startDate = startDate; } - public Date getResultTime() { - return resultTime; + public Date getEndDate() { + return endDate; } - public void setResultTime(Date resultTime) { - this.resultTime = resultTime; + public void setEndDate(Date endDate) { + this.endDate = endDate; } public String getDescription() {