|
|
|
@ -62,9 +62,13 @@ public class EventDto {
|
|
|
|
|
this.createDate = event.getCreateDate();
|
|
|
|
|
this.updateDate = event.getUpdateDate();
|
|
|
|
|
this.description = event.getDescription();
|
|
|
|
|
this.paperDto = new PaperDto(event.getPaper());
|
|
|
|
|
this.recipients = convert(event.getRecipients(), UserDto::new);
|
|
|
|
|
this.conferenceDto = new ConferenceDto(event.getConference());
|
|
|
|
|
if (paperDto != null) {
|
|
|
|
|
this.paperDto = new PaperDto(event.getPaper());
|
|
|
|
|
}
|
|
|
|
|
if (conferenceDto != null) {
|
|
|
|
|
this.conferenceDto = new ConferenceDto(event.getConference());
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
public Integer getId() {
|
|
|
|
|