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:
commit
1204451e47
1 changed files with 11 additions and 0 deletions
|
@ -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;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue