This commit is contained in:
crusader 2018-03-18 20:46:02 +09:00
parent 3f9d6c05c2
commit 13d407043e

View File

@ -8,7 +8,7 @@ import java.util.Date;
public class Host { public class Host {
private long id; private long id;
private long ip; private String ip;
private long mac; private long mac;
private String os; private String os;
private Date discoveredDate; private Date discoveredDate;
@ -17,11 +17,6 @@ public class Host {
public Host(){} public Host(){}
public Host(long ip, long mac){
this.ip = ip;
this.mac = mac;
}
public long getId() { public long getId() {
return id; return id;
} }
@ -30,11 +25,11 @@ public class Host {
this.id = id; this.id = id;
} }
public long getIp() { public String getIp() {
return ip; return ip;
} }
public void setIp(long ip) { public void setIp(String ip) {
this.ip = ip; this.ip = ip;
} }