Skip to content

Commit

Permalink
#91 Fix: 팀원 ResponsetDTO 수정
Browse files Browse the repository at this point in the history
  • Loading branch information
insa658723 committed Aug 5, 2024
1 parent 71c3a9c commit bb6a0d6
Show file tree
Hide file tree
Showing 2 changed files with 14 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ public class TeamMemberRequestDTO {
@Builder
@AllArgsConstructor
@NoArgsConstructor
public static class AddTeamMemberDTO {
public static class AddTeamMemberDTO { //팀원 추가
private Long teamId;
private Long memberId;
private MemberRole memberRole;
Expand All @@ -21,7 +21,7 @@ public static class AddTeamMemberDTO {
@Builder
@AllArgsConstructor
@NoArgsConstructor
public static class RemoveTeamMemberDTO {
public static class RemoveTeamMemberDTO { //팀원 삭제
private Long teamId;
private Long memberId;
}
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
package com.codiary.backend.global.web.dto.TeamMember;

import com.codiary.backend.global.domain.enums.MemberRole;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Getter;
Expand All @@ -15,4 +16,15 @@ public static class TeamMemberViewResponseDTO {
Long teamMemberId;

}

@Getter
@Builder
@AllArgsConstructor
@NoArgsConstructor
public static class TeamMemberDTO {
private Long teamMemberId;
private Long teamId;
private Long memberId;
private MemberRole memberRole;
}
}

0 comments on commit bb6a0d6

Please sign in to comment.