target-metatargetstatus

This commit is contained in:
insanity 2018-06-22 19:49:26 +09:00
parent ca845e02b9
commit f2ad2c26ea
2 changed files with 10 additions and 10 deletions

View File

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

View File

@ -38,9 +38,9 @@ public class Target {
@Column(name = "SENSOR_COUNT", nullable = false)
private Integer sensorCount;
// @ManyToOne
// @JoinColumn(name = "META_TARGET_STATUS_ID", nullable = false)
// private MetaTargetStatus metaTargetStatus;
@ManyToOne
@JoinColumn(name = "META_TARGET_STATUS_ID", nullable = false)
private MetaTargetStatus metaTargetStatus;
@Temporal(TemporalType.TIMESTAMP)
@Column(name = "CREATE_DATE", nullable = false, columnDefinition = "TIMESTAMP DEFAULT CURRENT_TIMESTAMP", insertable = false, updatable = false)
@ -53,13 +53,13 @@ public class Target {
return id;
}
// public MetaTargetStatus getMetaTargetStatus() {
// return metaTargetStatus;
// }
public MetaTargetStatus getMetaTargetStatus() {
return metaTargetStatus;
}
// public void setMetaTargetStatus(MetaTargetStatus metaTargetStatus) {
// this.metaTargetStatus = metaTargetStatus;
// }
public void setMetaTargetStatus(MetaTargetStatus metaTargetStatus) {
this.metaTargetStatus = metaTargetStatus;
}
public void setId(Long id) {
this.id = id;