From 241e1af1d0adbf80bb29a2fbd65ebfa29aa6e761 Mon Sep 17 00:00:00 2001 From: enbraining Date: Mon, 1 Jan 2024 21:48:01 +0900 Subject: [PATCH] =?UTF-8?q?=EB=B3=B4=EB=93=9C=EA=B2=8C=EC=9E=84=20DTO=20?= =?UTF-8?q?=EC=9D=B4=EB=A6=84=20=EC=B6=94=EA=B0=80?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../gapple/weeingback/domain/boardgame/domain/Boardgame.java | 2 ++ .../weeingback/domain/member/entity/NumberNameWithId.java | 2 ++ 2 files changed, 4 insertions(+) diff --git a/src/main/java/com/gapple/weeingback/domain/boardgame/domain/Boardgame.java b/src/main/java/com/gapple/weeingback/domain/boardgame/domain/Boardgame.java index 78460b5..db5b87f 100644 --- a/src/main/java/com/gapple/weeingback/domain/boardgame/domain/Boardgame.java +++ b/src/main/java/com/gapple/weeingback/domain/boardgame/domain/Boardgame.java @@ -38,6 +38,7 @@ public ToBoardgameDto toDto(Boardgame boardgame){ member.getGrade(), member.getClassroom(), member.getNumber(), + member.getName(), member.getId().toString() )) ); @@ -49,6 +50,7 @@ public ToBoardgameDto toDto(Boardgame boardgame){ creator.getGrade(), creator.getClassroom(), creator.getNumber(), + creator.getName(), creator.getId().toString() ), players); diff --git a/src/main/java/com/gapple/weeingback/domain/member/entity/NumberNameWithId.java b/src/main/java/com/gapple/weeingback/domain/member/entity/NumberNameWithId.java index 3384187..94caa56 100644 --- a/src/main/java/com/gapple/weeingback/domain/member/entity/NumberNameWithId.java +++ b/src/main/java/com/gapple/weeingback/domain/member/entity/NumberNameWithId.java @@ -13,5 +13,7 @@ public class NumberNameWithId { private Long number; + private String name; + private String id; }