ing
This commit is contained in:
parent
3f9d6c05c2
commit
13d407043e
|
@ -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;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue
Block a user