From b800e1929e40b45ea352844fb12e3da82da8eb22 Mon Sep 17 00:00:00 2001 From: geek Date: Wed, 16 Nov 2016 18:44:03 +0900 Subject: [PATCH] sendTime change --- .../discoveryhost/entity/PortScanHistory.java | 20 +++++++++---------- 1 file changed, 10 insertions(+), 10 deletions(-) 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() {