Minor Changes
This commit is contained in:
parent
0872d7654f
commit
b3b7afea2a
3 changed files with 4 additions and 4 deletions
|
@ -7,7 +7,7 @@ public class RegularLightSaveRequest {
|
|||
private boolean on;
|
||||
|
||||
/** 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
|
||||
|
|
|
@ -4,11 +4,11 @@ import javax.validation.constraints.NotNull;
|
|||
|
||||
public class SecurityCameraSaveRequest {
|
||||
|
||||
/** The state of this switch */
|
||||
/** The state of this Security Camera */
|
||||
private boolean on;
|
||||
|
||||
/** 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
|
||||
|
|
|
@ -13,7 +13,7 @@ public class SecurityCamera extends Switchable {
|
|||
this.on = false;
|
||||
}
|
||||
|
||||
@Column(name = "camera", nullable = false)
|
||||
@Column(name = "camera_on", nullable = false)
|
||||
@NotNull
|
||||
private boolean on;
|
||||
|
||||
|
|
Loading…
Reference in a new issue