ing
This commit is contained in:
parent
309e95fc40
commit
29e54b6562
2
pom.xml
2
pom.xml
|
@ -13,7 +13,7 @@
|
||||||
<groupId>com.loafle.overflow</groupId>
|
<groupId>com.loafle.overflow</groupId>
|
||||||
<artifactId>commons-java</artifactId>
|
<artifactId>commons-java</artifactId>
|
||||||
<packaging>jar</packaging>
|
<packaging>jar</packaging>
|
||||||
<version>1.0.35-SNAPSHOT</version>
|
<version>1.0.36-SNAPSHOT</version>
|
||||||
<name>com.loafle.overflow.commons-java</name>
|
<name>com.loafle.overflow.commons-java</name>
|
||||||
|
|
||||||
<properties>
|
<properties>
|
||||||
|
|
|
@ -21,7 +21,7 @@ public class Probe {
|
||||||
private Domain domain;
|
private Domain domain;
|
||||||
private String probeKey;
|
private String probeKey;
|
||||||
private String encryptionKey;
|
private String encryptionKey;
|
||||||
private String displayName;
|
private String name;
|
||||||
private String cidr;
|
private String cidr;
|
||||||
private Date authorizeDate;
|
private Date authorizeDate;
|
||||||
private Member authorizeMember;
|
private Member authorizeMember;
|
||||||
|
@ -104,13 +104,13 @@ public class Probe {
|
||||||
this.encryptionKey = encryptionKey;
|
this.encryptionKey = encryptionKey;
|
||||||
}
|
}
|
||||||
|
|
||||||
@Column(name = "DISPLAY_NAME")
|
@Column(name = "NAME", nullable = false, length = 50)
|
||||||
public String getDisplayName() {
|
public String getName() {
|
||||||
return displayName;
|
return name;
|
||||||
}
|
}
|
||||||
|
|
||||||
public void setDisplayName(String displayName) {
|
public void setName(String name) {
|
||||||
this.displayName = displayName;
|
this.name = name;
|
||||||
}
|
}
|
||||||
|
|
||||||
@Column(name = "CIDR")
|
@Column(name = "CIDR")
|
||||||
|
|
|
@ -19,7 +19,7 @@ import java.util.List;
|
||||||
public class Sensor {
|
public class Sensor {
|
||||||
private Long id;
|
private Long id;
|
||||||
private Target target;
|
private Target target;
|
||||||
private String displayName;
|
private String name;
|
||||||
private String description;
|
private String description;
|
||||||
private MetaSensorStatus metaSensorStatus;
|
private MetaSensorStatus metaSensorStatus;
|
||||||
private MetaCrawler metaCrawler;
|
private MetaCrawler metaCrawler;
|
||||||
|
@ -98,13 +98,13 @@ public class Sensor {
|
||||||
this.itemCount = itemCount;
|
this.itemCount = itemCount;
|
||||||
}
|
}
|
||||||
|
|
||||||
@Column(name = "DISPLAY_NAME", nullable = false, length = 50)
|
@Column(name = "NAME", nullable = false, length = 50)
|
||||||
public String getDisplayName() {
|
public String getName() {
|
||||||
return displayName;
|
return name;
|
||||||
}
|
}
|
||||||
|
|
||||||
public void setDisplayName(String displayName) {
|
public void setName(String name) {
|
||||||
this.displayName = displayName;
|
this.name = name;
|
||||||
}
|
}
|
||||||
|
|
||||||
@Temporal(TemporalType.TIMESTAMP)
|
@Temporal(TemporalType.TIMESTAMP)
|
||||||
|
|
Loading…
Reference in New Issue
Block a user