Skip to content

Commit

Permalink
#56 [FIX] : 룸 디테일 api response에 방장의 알람 수정을 위해 알람 아이디 추가
Browse files Browse the repository at this point in the history
  • Loading branch information
hye-on committed Oct 17, 2023
1 parent 69d304a commit 5996866
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -46,6 +46,10 @@ public static class RoomData {
@Builder
@Data
public static class AlarmData {

@Schema(description = "룸에서 울리는 알람아이디",example = "2")
private Integer id;

@Schema(description = "미션의 한국말",example = "자동차")
private String missionKr;

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -86,6 +86,7 @@ public interface EntityDtoMapper {
@Mapping(target = "intro",source = "room.intro")
RoomDetailRes.RoomData toRoomDetailResRoomData(Alarm alarm);

@Mapping(target = "id" , source = "id")
@Mapping(target = "missionKr", source = "missionObject.kr")
RoomDetailRes.AlarmData toRoomDetailResAlarmData(Alarm alarm);
@Mapping(target = "userId",source = "user.id")
Expand Down

0 comments on commit 5996866

Please sign in to comment.