From 313acd8b2872e0601815efee0803678190768d7b Mon Sep 17 00:00:00 2001 From: taejin1221 Date: Sun, 1 Sep 2024 17:41:58 +0900 Subject: [PATCH] =?UTF-8?q?Feat:=20/api/auth/member=20=EA=B4=80=EB=A0=A8?= =?UTF-8?q?=20DTO=20=EC=9E=91=EC=84=B1?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Related to: #2 --- .../domain/dto/response/MemberInfoResponse.java | 14 ++++++++++++++ .../dto/response/MemberIntroduceResponse.java | 10 ++++++++++ .../domain/dto/response/MemberListResponse.java | 12 ++++++++++++ .../domain/dto/response/ResponseDTO.java | 12 ++++++++++++ 4 files changed, 48 insertions(+) create mode 100644 src/main/java/kaboo/kaboo_auth/domain/dto/response/MemberInfoResponse.java create mode 100644 src/main/java/kaboo/kaboo_auth/domain/dto/response/MemberIntroduceResponse.java create mode 100644 src/main/java/kaboo/kaboo_auth/domain/dto/response/MemberListResponse.java create mode 100644 src/main/java/kaboo/kaboo_auth/domain/dto/response/ResponseDTO.java diff --git a/src/main/java/kaboo/kaboo_auth/domain/dto/response/MemberInfoResponse.java b/src/main/java/kaboo/kaboo_auth/domain/dto/response/MemberInfoResponse.java new file mode 100644 index 0000000..474b47d --- /dev/null +++ b/src/main/java/kaboo/kaboo_auth/domain/dto/response/MemberInfoResponse.java @@ -0,0 +1,14 @@ +package kaboo.kaboo_auth.domain.dto.response; + +import kaboo.kaboo_auth.domain.Course; +import lombok.AllArgsConstructor; +import lombok.Getter; + +@Getter +@AllArgsConstructor +public class MemberInfoResponse { + private String koreaName; + private String englishName; + private int classNum; + private Course course; +} diff --git a/src/main/java/kaboo/kaboo_auth/domain/dto/response/MemberIntroduceResponse.java b/src/main/java/kaboo/kaboo_auth/domain/dto/response/MemberIntroduceResponse.java new file mode 100644 index 0000000..bc91986 --- /dev/null +++ b/src/main/java/kaboo/kaboo_auth/domain/dto/response/MemberIntroduceResponse.java @@ -0,0 +1,10 @@ +package kaboo.kaboo_auth.domain.dto.response; + +import lombok.AllArgsConstructor; +import lombok.Getter; + +@Getter +@AllArgsConstructor +public class MemberIntroduceResponse { + private String introduce; +} diff --git a/src/main/java/kaboo/kaboo_auth/domain/dto/response/MemberListResponse.java b/src/main/java/kaboo/kaboo_auth/domain/dto/response/MemberListResponse.java new file mode 100644 index 0000000..48fff0f --- /dev/null +++ b/src/main/java/kaboo/kaboo_auth/domain/dto/response/MemberListResponse.java @@ -0,0 +1,12 @@ +package kaboo.kaboo_auth.domain.dto.response; + +import lombok.AllArgsConstructor; +import lombok.Getter; + +@Getter +@AllArgsConstructor +public class MemberListResponse { + private int classNum; + private int memberNum; + private MemberInfoResponse[] memberList; +} diff --git a/src/main/java/kaboo/kaboo_auth/domain/dto/response/ResponseDTO.java b/src/main/java/kaboo/kaboo_auth/domain/dto/response/ResponseDTO.java new file mode 100644 index 0000000..6190dd1 --- /dev/null +++ b/src/main/java/kaboo/kaboo_auth/domain/dto/response/ResponseDTO.java @@ -0,0 +1,12 @@ +package kaboo.kaboo_auth.domain.dto.response; + +import lombok.AllArgsConstructor; +import lombok.Getter; + +@Getter +@AllArgsConstructor +public class ResponseDTO { + private boolean success; + private String message; + private T data; +}