This commit is contained in:
omenem 2020-04-26 13:29:14 +02:00
parent 46bb2e7d26
commit c9395404e0

View file

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