Skip to content

Conversation

@jucheonsu
Copy link
Contributor

@jucheonsu jucheonsu commented Oct 24, 2025

[feat] 솜커톤 API 컴퓨터공학부 내 전과 여부, 학생회비 납부 여부 추가

😺 Issue

🔄 변경 내용

[ feat ]

  • 엔티티

    • SomParticipantisTransferredInCS(Boolean), isPaid(Boolean) 필드 추가
  • 요청 DTO

    • SomParticipantRequestDtoisTransferredInCS(Boolean), isPaid(Boolean) 필드 추가
  • 응답 DTO

    • SomParticipantResponseDtoisTransferredInCS(Boolean), isPaid(Boolean) 필드 추가,
    • @Setter 제거 → Builder 기반 불변 객체로 변경
  • 서비스

    • SomParticipantServicecreateParticipant() 신규 Boolean 필드 처리 및 toResponseDto() 로직 수정

[ test ]

  • 테스트

    • SomParticipantServiceTestisTransferredInCS, isPaid 필드 추가 후 생성 · 조회 · 수정 · 삭제 테스트 수정
  • 테스트 검증

    • 모든 테스트 정상 동작 확인

✅ 체크리스트

  • 커밋 메시지가 컨벤션을 따르는가?
  • 필드가 정상적으로 반영되었는가?
  • Boolean 필드가 nullable로 설정되었는가?
  • 테스트가 모두 통과되는가?

🧪 테스트

  • 참가자 생성, 조회, 수정, 삭제 테스트 모두 성공
  • 기존 기능에 영향 없음 확인

💻 테스트 화면

image

- SomParticipantServiceTest : isTransferredInCS, isPaid 필드 추가
- 테스트 정상 동작 확인
- SomParticipant : isTransferredInCS(Boolean), isPaid(Boolean) 필드 추가
- SomParticipantRequestDto : isTransferredInCS(Boolean), isPaid(Boolean) 필드 추가
- SomParticipantResponseDto : isTransferredInCS(Boolean), isPaid(Boolean) 필드 추가, Setter 제거 → Builder 기반 불변 객체
- SomParticipantService : createParticipant에서 신규 Boolean 필드 처리 및 toResponseDto 로직 수정
@jucheonsu jucheonsu requested review from dohy-eon and hodoon October 24, 2025 05:16
@jucheonsu jucheonsu self-assigned this Oct 24, 2025
@jucheonsu jucheonsu added the FEAT label Oct 24, 2025
@jucheonsu jucheonsu changed the base branch from main to dev October 24, 2025 05:17
@jucheonsu jucheonsu changed the base branch from dev to main October 24, 2025 05:18
@jucheonsu jucheonsu changed the base branch from main to dev October 24, 2025 05:19
@jucheonsu jucheonsu changed the base branch from dev to main October 24, 2025 05:22
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[feat] 솜커톤 API 컴퓨터공학부 내 전과 여부, 학생회비 납부 여부 추가

2 participants