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.
🎯 이슈 번호
#4 [Feature] 공통 응답 및 entity 양식 추가
💡 작업 내용
💡 자세한 설명
공통으로 상속할 DataEntity 추가
공통 응답 양식 추가
ErrorCode 통합 문서 추가
앞으로 생성되는 모든 entity에 대해 DataEntity를 상속해주면 자동으로 생성 일자 및 수정일자가 붙습니다.
ErrorCode에 상황별로 Enum이름을 지정하고 실패여부, code, message를 작성하여 사용하면됩니다.
Controller단에서 응답시 CommonResponse를 생성 후 return 하면 공통양식이 적용됩니다.
📗 참고 자료 (선택)
📢 리뷰 요구 사항 (선택)
🚩 후속 작업 (선택)
✅ 셀프 체크리스트