ip property name change
This commit is contained in:
parent
8c656cb4d8
commit
56fdb5832e
|
@ -17,11 +17,11 @@ public class DiscoveryHost {
|
||||||
@GeneratedValue(strategy = GenerationType.AUTO)
|
@GeneratedValue(strategy = GenerationType.AUTO)
|
||||||
private long id;
|
private long id;
|
||||||
|
|
||||||
@Column(name = "IP_ADDRESS",nullable = false)
|
@Column(name = "IP",nullable = false)
|
||||||
private long ipAddress;
|
private long ip;
|
||||||
|
|
||||||
@Column(name = "MAC_ADDRESS",nullable = false)
|
@Column(name = "MAC",nullable = false)
|
||||||
private long macAddress;
|
private long mac;
|
||||||
|
|
||||||
@ManyToOne
|
@ManyToOne
|
||||||
@JoinColumn(name = "ZONE_ID", nullable = false)
|
@JoinColumn(name = "ZONE_ID", nullable = false)
|
||||||
|
@ -66,8 +66,8 @@ public class DiscoveryHost {
|
||||||
|
|
||||||
public DiscoveryHost(){}
|
public DiscoveryHost(){}
|
||||||
public DiscoveryHost(long ip, long mac){
|
public DiscoveryHost(long ip, long mac){
|
||||||
this.ipAddress = ip;
|
this.ip = ip;
|
||||||
this.macAddress = mac;
|
this.mac = mac;
|
||||||
}
|
}
|
||||||
|
|
||||||
public long getId() {
|
public long getId() {
|
||||||
|
@ -78,24 +78,22 @@ public class DiscoveryHost {
|
||||||
this.id = id;
|
this.id = id;
|
||||||
}
|
}
|
||||||
|
|
||||||
public long getIpAddress() {
|
public long getIp() {
|
||||||
return ipAddress;
|
return ip;
|
||||||
}
|
}
|
||||||
|
|
||||||
public void setIpAddress(long ipAddress) {
|
public void setIp(long ip) {
|
||||||
this.ipAddress = ipAddress;
|
this.ip = ip;
|
||||||
}
|
}
|
||||||
|
|
||||||
public long getMacAddress() {
|
public long getMac() {
|
||||||
return macAddress;
|
return mac;
|
||||||
}
|
}
|
||||||
|
|
||||||
public void setMacAddress(long macAddress) {
|
public void setMac(long mac) {
|
||||||
this.macAddress = macAddress;
|
this.mac = mac;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
public Date getCreateDate() {
|
public Date getCreateDate() {
|
||||||
return createDate;
|
return createDate;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue
Block a user