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> <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>

View File

@ -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")

View File

@ -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)