fix
This commit is contained in:
parent
46bb2e7d26
commit
c9395404e0
1 changed files with 1 additions and 1 deletions
|
@ -26,7 +26,7 @@ public abstract class Trigger<D extends Device> {
|
||||||
@ApiModelProperty(hidden = true)
|
@ApiModelProperty(hidden = true)
|
||||||
private long id;
|
private long id;
|
||||||
|
|
||||||
@ManyToOne(targetEntity = OutputDevice.class)
|
@ManyToOne(targetEntity = Device.class)
|
||||||
@JoinColumn(name = "device_id", updatable = false, insertable = false)
|
@JoinColumn(name = "device_id", updatable = false, insertable = false)
|
||||||
@GsonExclude
|
@GsonExclude
|
||||||
private D device;
|
private D device;
|
||||||
|
|
Loading…
Reference in a new issue