Skip to content

feat: 멘토에게 매칭된 멘티들 리스트를 불러오는 API 추가 #533

@Hexeong

Description

@Hexeong

어떤 기능인가요?

추가하려는 기능에 대해 간결하게 설명해주세요

  • feat: 멘토에게 매칭된 멘티들 리스트를 불러오는 API 추가

작업 상세 내용

  • Controller
  • Service
  • Repository

참고할만한 자료(선택)

  • 응닶값
// 해당 객체를 SliceResponse.list로 감싸서 응답을 보낼 계획
public record MatchedMenteeResponse(
        long id,

        @JsonInclude(NON_NULL)
        Long roomId, // mentoring.id로 chat_room.id 조회

        String nickname, // siteUser.nickname 조회
        String profileImageUrl, // siteUser.nickname 조회
        String universityName, // 멘티의 대표되는 대학 정보
        String lastConversation, // mentorings.id -> chat_room.id -> chat_message.content
        ZonedDateTime lastConversationTime // mentorings.id -> chat_room.id -> chat_message.modified_at
)

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions