Open
Conversation
주요 변경 사항:
- CrewMember에 상태(ACTIVE, EXPELLED)를 나타내는 `CrewMemberStatus` Enum 추가
- CrewMembers 애그리거트 내 추방 로직(expel) 구현
- 리더만 추방 가능
- 리더는 자신을 추방할 수 없음
- 추방된 크루원은 재가입 불가
- CrewController에 크루원 추방 API 엔드포인트(PUT /crews/{crewId}/expel) 추가
- 관련 비즈니스 로직에 대한 단위/통합 테스트 코드 작성
mandykr
approved these changes
Aug 2, 2025
src/main/java/com/retrip/crew/infra/adapter/in/presentation/rest/CrewController.java
Show resolved
Hide resolved
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
주요 변경 사항:
CrewMemberStatusEnum 추가🔍 PR 타입 선택
아래 타입 중 해당하는 하나를 선택해 주세요. 반드시 하나만 선택해 주세요.
feat: 새로운 기능 추가fix: 버그 수정docs: 문서 수정style: 코드 포맷팅, 세미콜론 누락, 코드 변경이 없는 경우refactor: 코드 리팩토링test: 테스트 코드 추가 또는 수정chore: 빌드 업무 수정, 패키지 매니저 수정 등 기타 작업📝 변경 사항 요약
변경 사항을 간단히 요약해 주세요.
🛠 관련 이슈
Resolves: #9
추가 설명 (선택 사항)
변경 사항에 대한 추가 설명을 작성해 주세요.