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