target-metatargetstatus
This commit is contained in:
parent
ca845e02b9
commit
f2ad2c26ea
2
pom.xml
2
pom.xml
|
@ -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>
|
||||
|
|
|
@ -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;
|
||||
|
|
Loading…
Reference in New Issue
Block a user