diff --git a/src/main/java/com/loafle/overflow/module/discovery/model/Host.java b/src/main/java/com/loafle/overflow/module/discovery/model/Host.java index d4196af..2d5b7f2 100644 --- a/src/main/java/com/loafle/overflow/module/discovery/model/Host.java +++ b/src/main/java/com/loafle/overflow/module/discovery/model/Host.java @@ -8,7 +8,7 @@ import java.util.Date; public class Host { private long id; - private long ip; + private String ip; private long mac; private String os; private Date discoveredDate; @@ -17,11 +17,6 @@ public class Host { public Host(){} - public Host(long ip, long mac){ - this.ip = ip; - this.mac = mac; - } - public long getId() { return id; } @@ -30,11 +25,11 @@ public class Host { this.id = id; } - public long getIp() { + public String getIp() { return ip; } - public void setIp(long ip) { + public void setIp(String ip) { this.ip = ip; }