Minor Changes

This commit is contained in:
omenem 2020-04-12 18:45:32 +02:00
parent 0872d7654f
commit b3b7afea2a
3 changed files with 4 additions and 4 deletions

View file

@ -7,7 +7,7 @@ public class RegularLightSaveRequest {
private boolean on; private boolean on;
/** Device identifier */ /** Device identifier */
private long id; private Long id;
/** /**
* The room this device belongs in, as a foreign key id. To use when updating and inserting from * The room this device belongs in, as a foreign key id. To use when updating and inserting from

View file

@ -4,11 +4,11 @@ import javax.validation.constraints.NotNull;
public class SecurityCameraSaveRequest { public class SecurityCameraSaveRequest {
/** The state of this switch */ /** The state of this Security Camera */
private boolean on; private boolean on;
/** Device identifier */ /** Device identifier */
private long id; private Long id;
/** /**
* The room this device belongs in, as a foreign key id. To use when updating and inserting from * The room this device belongs in, as a foreign key id. To use when updating and inserting from

View file

@ -13,7 +13,7 @@ public class SecurityCamera extends Switchable {
this.on = false; this.on = false;
} }
@Column(name = "camera", nullable = false) @Column(name = "camera_on", nullable = false)
@NotNull @NotNull
private boolean on; private boolean on;