Skip to content

Commit

Permalink
Feat: /api/auth/member 관련 DTO 작성
Browse files Browse the repository at this point in the history
  • Loading branch information
Taejin1221 committed Sep 2, 2024
1 parent 43818db commit 313acd8
Show file tree
Hide file tree
Showing 4 changed files with 48 additions and 0 deletions.
Original file line number Diff line number Diff line change
@@ -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;
}
Original file line number Diff line number Diff line change
@@ -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;
}
Original file line number Diff line number Diff line change
@@ -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;
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
package kaboo.kaboo_auth.domain.dto.response;

import lombok.AllArgsConstructor;
import lombok.Getter;

@Getter
@AllArgsConstructor
public class ResponseDTO<T> {
private boolean success;
private String message;
private T data;
}

0 comments on commit 313acd8

Please sign in to comment.