This commit is contained in:
crusader 2018-06-11 21:56:20 +09:00
parent 309e95fc40
commit 29e54b6562
3 changed files with 13 additions and 13 deletions

View File

@ -13,7 +13,7 @@
<groupId>com.loafle.overflow</groupId>
<artifactId>commons-java</artifactId>
<packaging>jar</packaging>
<version>1.0.35-SNAPSHOT</version>
<version>1.0.36-SNAPSHOT</version>
<name>com.loafle.overflow.commons-java</name>
<properties>

View File

@ -21,7 +21,7 @@ public class Probe {
private Domain domain;
private String probeKey;
private String encryptionKey;
private String displayName;
private String name;
private String cidr;
private Date authorizeDate;
private Member authorizeMember;
@ -104,13 +104,13 @@ public class Probe {
this.encryptionKey = encryptionKey;
}
@Column(name = "DISPLAY_NAME")
public String getDisplayName() {
return displayName;
@Column(name = "NAME", nullable = false, length = 50)
public String getName() {
return name;
}
public void setDisplayName(String displayName) {
this.displayName = displayName;
public void setName(String name) {
this.name = name;
}
@Column(name = "CIDR")

View File

@ -19,7 +19,7 @@ import java.util.List;
public class Sensor {
private Long id;
private Target target;
private String displayName;
private String name;
private String description;
private MetaSensorStatus metaSensorStatus;
private MetaCrawler metaCrawler;
@ -98,13 +98,13 @@ public class Sensor {
this.itemCount = itemCount;
}
@Column(name = "DISPLAY_NAME", nullable = false, length = 50)
public String getDisplayName() {
return displayName;
@Column(name = "NAME", nullable = false, length = 50)
public String getName() {
return name;
}
public void setDisplayName(String displayName) {
this.displayName = displayName;
public void setName(String name) {
this.name = name;
}
@Temporal(TemporalType.TIMESTAMP)