This commit is contained in:
omenem 2020-03-22 18:19:41 +01:00
parent 1c8c4b61d9
commit 8813942cc5

View file

@ -6,6 +6,9 @@ import javax.validation.constraints.NotNull;
public class RoomSaveRequest { public class RoomSaveRequest {
/** Room identifier */
private long id;
@NotNull private Room.Icon icon; @NotNull private Room.Icon icon;
/** /**
@ -19,6 +22,14 @@ public class RoomSaveRequest {
/** The user given name of this room (e.g. 'Master bedroom') */ /** The user given name of this room (e.g. 'Master bedroom') */
@NotNull private String name; @NotNull private String name;
public long getId() {
return id;
}
public void setId(long id) {
this.id = id;
}
public String getName() { public String getName() {
return name; return name;
} }