-
Notifications
You must be signed in to change notification settings - Fork 1
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[feat] 음식 상품 수량 등록 #76
The head ref may contain hidden characters: "feature/59_june-777_\uC74C\uC2DD\uC0C1\uD488\uC218\uB7C9\uB4F1\uB85D"
Conversation
각각의 음식 상품은 재고 수량을 갖는다.
음식 상품을 생성할 땐 재고의 개수가 1개 이상이어야 함
- 생성자 파라미터에 재고수가 추가됨에 따라 수정함
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
1)메뉴를 등록할 때 재고 개수를 같이 입력한다.
2-1) 재고가 남아있으면 주문이 성공한다.
2-2) 재고가 소진되면 주문이 실패한다.
의 동작을 생각하고 계신걸까요?
점주에게 알림을 띄우지 않아도 되기 때문에 프로젝트 사이즈가 확실히 줄겠다고 생각하는데 다른 분들 의견도 한번 들어보는게 좋을 것 같아요.
@Hyeon-Uk @kimhyun5u
@Dr-KoKo
|
재고를 추가로 등록하는게 아니라 Menu 생성시점에 재고를 바로 입력받자는 말씀이신가보네요.
저는 점주가 재고를 갱신하는 기능을 생각했는데 "점주가 음식 상품을 등록할 때 함께 등록합니다"로 결정하시게 된 배경이 궁금합니다. 혹시 구현하시다보니 사이즈가 생각보다 크던가요? |
네네 맞습니다. 첫 번째 이유는 PR 단위를 짧게 가져가기 위함이였고, |
아하 알겠습니다. 금일 10시에 회의하면서 어디까지 쳐낼지 논의해보면 좋을 것 같네요. 알림기능을 완전히 쳐내는 것도 한 방안일 것 같아서 말씀드려봤습니다! |
좋습니다! |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
금일 논의를 거쳐 (점주의 승락/거절 절차 없이) 재고가 있으면 자동승락, 없으면 자동거절되게 요구사항이 변경되었습니다.
…식상품수량등록 # Conflicts: # src/test/java/camp/woowak/lab/cart/service/CartServiceTest.java # src/test/java/camp/woowak/lab/web/api/cart/CartApiControllerTest.java
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
테스트 빨리 고치시길 기원하겠습니다 :-) 🙏
754e122 fix 완료했습니다 🙏 |
💡 다음 이슈를 해결했어요.
Issue Link - #59
✅ 셀프 체크리스트