[#44] Domain(Facility, Reservation) 및 코드 개선 #45
Merged
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.
개요
Domain에서 필요한 필드 그리고 필요없는 필드를 추려 ERD를 다시 도출하고 로직을 수정하였으며, 위 과정에서 코드 리팩토링도 함께 진행하였습니다.
작업사항
minUser(최소수용인원)
maxUser(최대수용인원)
추가,facilityType(시설유형)
제거startDateTime(시작시간)
endDateTime(종료시간)
➡️date(날짜)
startTime(시작시간)
endTime(종료시간)
으로 분리numOfUser(예약인원)
및 수용인원 validation 추가bool값
)으로 이용가능여부를 알려줌.변경로직