feat: 데모 사업장 및 근로자 시드 데이터 확장 - #69
Merged
Merged
Conversation
- 기존 FOWOCO Demo Company의 계정 구성을 유지하고 근로자 5명을 추가한다. - FOWOCO Test Company를 별도 사업장으로 생성한다. - Test Company에 ADMIN, HR, VIEWER 계정을 각각 1명씩 추가한다. - Test Company에 근로자 5명을 추가한다. - 고정 UUID를 사용해 시드를 재실행해도 데이터가 중복되지 않도록 한다. - 예약된 ID나 이메일이 기존 데이터와 충돌하면 덮어쓰지 않고 실행을 중단한다. - Demo Seed 설정과 개발 문서를 두 사업장 기준으로 확장한다. - 단위 및 통합 테스트에서 회사 2개, 계정 23명, 근로자 10명을 검증한다.
krestar
commented
Jul 31, 2026
BcKmini
self-requested a review
July 31, 2026 02:25
BcKmini
previously approved these changes
Jul 31, 2026
- Demo Company에 상태별 데모 Task 5개를 추가한다. - AI 후보와 승인 대기, 근로자 응답 대기, 외부 처리 대기, 당일 완료 상태를 구성한다. - 마감일을 7일 이내, 30일 이내, 여유 구간으로 분산한다. - 근로자별 1~2개의 서류를 추가하고 MISSING, SUBMITTED, VERIFIED 상태를 포함한다. - 30일 이내 만료되는 근로자 서류를 추가한다. - 승인 대기 Task에 최근 AuditEvent 3개를 추가한다. - 고정 UUID와 충돌 검증으로 재실행 시 중복 생성을 방지한다. - 통합 테스트와 Demo Seed 개발 문서를 확장한다.
- 검색어가 없을 때 keyword 파라미터를 문자열로 명시적으로 캐스팅한다. - PostgreSQL에서 발생하던 lower(bytea) 오류를 방지한다. - Task 목록 조회가 500 응답을 반환하던 문제를 수정한다.
hywznn
approved these changes
Aug 3, 2026
hywznn
left a comment
Contributor
There was a problem hiding this comment.
그래도 채울 부분은 계속해서 ERD 정리하면서 채워주십쇼 다음 PR로 이어서 하신다는 것도 확인했습니다
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.
왜 필요한가요?
기존 Demo Seed는
FOWOCO Demo Company와 사용자 계정만 생성해 사업장별 근로자 조회 및 테넌트 분리 시나리오를 검증하기 어려웠습니다.두 개의 독립된 사업장과 각 사업장에 속한 근로자 데이터가 필요해 다음 시나리오를 재현할 수 있도록 확장합니다.
무엇이 바뀌나요?
FOWOCO Test Company를 별도 사업장으로 생성합니다.ADMIN,HR,VIEWER계정을 각각 1명씩 추가합니다.company_id에만 소속됩니다..env.example의 Demo Seed 설명을 확장했습니다.사업장별 생성 데이터
재실행 및 충돌 처리
어떻게 검증했나요?
./gradlew clean test./gradlew build/health와 Swagger UI 확인실행한 대상 테스트: