Skip to content

Commit

Permalink
adding the conference id.
Browse files Browse the repository at this point in the history
  • Loading branch information
chenry committed Mar 13, 2015
1 parent 15c6d00 commit 484c593
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 0 deletions.
Expand Up @@ -14,6 +14,7 @@ public static RoomView build(Room data) {
view.setId(data.getId());
view.setShortDesc(data.getShortDesc());
view.setFullDesc(data.getFullDesc());
view.setConferenceId(data.getConference().getId());

return view;
}
Expand Down
9 changes: 9 additions & 0 deletions src/main/java/com/ioextendedgr/web/viewDto/RoomView.java
Expand Up @@ -3,6 +3,7 @@
public class RoomView {

private Integer id;
private Integer conferenceId;
private String shortDesc;
private String fullDesc;

Expand All @@ -29,4 +30,12 @@ public String getFullDesc() {
public void setFullDesc(String fullDesc) {
this.fullDesc = fullDesc;
}

public Integer getConferenceId() {
return conferenceId;
}

public void setConferenceId(Integer conferenceId) {
this.conferenceId = conferenceId;
}
}

0 comments on commit 484c593

Please sign in to comment.