Merge branch '42-fix-missing-id-in-roomsaverequest' into 'dev'

fix of missing id

Closes #42

See merge request sa4-2020/the-sanmarinoes/backend!52
This commit is contained in:
Matteo Omenetti 2020-03-22 18:24:45 +01:00
commit 1204451e47

View file

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