fixed
date
This commit is contained in:
parent
9ef8cbdca5
commit
710518b454
|
@ -18,8 +18,8 @@ import java.util.Date;
|
||||||
public class NoAuthProbe {
|
public class NoAuthProbe {
|
||||||
private long id;
|
private long id;
|
||||||
private String hostName;
|
private String hostName;
|
||||||
private Integer macAddress;
|
private long macAddress;
|
||||||
private Integer ipAddress;
|
private long ipAddress;
|
||||||
private AuthType status;
|
private AuthType status;
|
||||||
private String tempProbeKey;
|
private String tempProbeKey;
|
||||||
private Date createDate;
|
private Date createDate;
|
||||||
|
@ -37,7 +37,6 @@ public class NoAuthProbe {
|
||||||
this.id = id;
|
this.id = id;
|
||||||
}
|
}
|
||||||
|
|
||||||
@Basic
|
|
||||||
@Column(name = "HOST_NAME", nullable = true, length = 50)
|
@Column(name = "HOST_NAME", nullable = true, length = 50)
|
||||||
public String getHostName() {
|
public String getHostName() {
|
||||||
return hostName;
|
return hostName;
|
||||||
|
@ -47,27 +46,26 @@ public class NoAuthProbe {
|
||||||
this.hostName = hostName;
|
this.hostName = hostName;
|
||||||
}
|
}
|
||||||
|
|
||||||
@Basic
|
|
||||||
@Column(name = "MAC_ADDRESS", nullable = true)
|
@Column(name = "MAC_ADDRESS", nullable = true)
|
||||||
public Integer getMacAddress() {
|
public long getMacAddress() {
|
||||||
return macAddress;
|
return macAddress;
|
||||||
}
|
}
|
||||||
|
|
||||||
public void setMacAddress(Integer macAddress) {
|
public void setMacAddress(long macAddress) {
|
||||||
this.macAddress = macAddress;
|
this.macAddress = macAddress;
|
||||||
}
|
}
|
||||||
|
|
||||||
@Basic
|
|
||||||
@Column(name = "IP_ADDRESS", nullable = true)
|
@Column(name = "IP_ADDRESS", nullable = true)
|
||||||
public Integer getIpAddress() {
|
public long getIpAddress() {
|
||||||
return ipAddress;
|
return ipAddress;
|
||||||
}
|
}
|
||||||
|
|
||||||
public void setIpAddress(Integer ipAddress) {
|
public void setIpAddress(long ipAddress) {
|
||||||
this.ipAddress = ipAddress;
|
this.ipAddress = ipAddress;
|
||||||
}
|
}
|
||||||
|
|
||||||
@Basic
|
|
||||||
@Column(name = "STATUS", nullable = false)
|
@Column(name = "STATUS", nullable = false)
|
||||||
@Enumerated(EnumType.STRING)
|
@Enumerated(EnumType.STRING)
|
||||||
public AuthType getStatus() {
|
public AuthType getStatus() {
|
||||||
|
@ -78,8 +76,7 @@ public class NoAuthProbe {
|
||||||
this.status = status;
|
this.status = status;
|
||||||
}
|
}
|
||||||
|
|
||||||
@Basic
|
@Column(name = "TEMP_PROBE_KEY", nullable = false, length = 50)
|
||||||
@Column(name = "TEMP_PROBE_KEY", nullable = true, length = 50)
|
|
||||||
public String getTempProbeKey() {
|
public String getTempProbeKey() {
|
||||||
return tempProbeKey;
|
return tempProbeKey;
|
||||||
}
|
}
|
||||||
|
@ -89,7 +86,7 @@ public class NoAuthProbe {
|
||||||
}
|
}
|
||||||
|
|
||||||
@Temporal(TemporalType.TIMESTAMP)
|
@Temporal(TemporalType.TIMESTAMP)
|
||||||
@Column(name = "CREATE_DATE", nullable = false)
|
@Column(name = "CREATE_DATE", nullable = false, columnDefinition = "TIMESTAMP DEFAULT CURRENT_TIMESTAMP", insertable = false, updatable = false)
|
||||||
public Date getCreateDate() {
|
public Date getCreateDate() {
|
||||||
return createDate;
|
return createDate;
|
||||||
}
|
}
|
||||||
|
@ -98,7 +95,6 @@ public class NoAuthProbe {
|
||||||
this.createDate = createDate;
|
this.createDate = createDate;
|
||||||
}
|
}
|
||||||
|
|
||||||
@Basic
|
|
||||||
@Column(name = "API_KEY", nullable = true, length = 50)
|
@Column(name = "API_KEY", nullable = true, length = 50)
|
||||||
public String getApiKey() {
|
public String getApiKey() {
|
||||||
return apiKey;
|
return apiKey;
|
||||||
|
|
Loading…
Reference in New Issue
Block a user