-
Notifications
You must be signed in to change notification settings - Fork 196
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
๐ 2๋จ๊ณ - ๋ชจ๋ธ๋ง ํ๊ธฐ #469
base: hoon25
Are you sure you want to change the base?
Changes from 2 commits
7e2d833
f71a9bf
627909e
e8c2691
ab62f19
2f07cc3
fef9661
9f2ec18
de38685
ee73b46
be5dbad
b3dc986
83aac6f
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Original file line number | Diff line number | Diff line change | ||||
---|---|---|---|---|---|---|
|
@@ -124,34 +124,83 @@ docker compose -p kitchenpos up -d | |||||
|
||||||
## ์ฉ์ด ์ฌ์ | ||||||
|
||||||
| ํ๊ธ๋ช | ์๋ฌธ๋ช | ์ค๋ช | | ||||||
|-------|--------------------------|---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------| | ||||||
| ์ํ | Product | ๋ฉ๋ด์ ์ํด์๋ ํ๋งค๋จ์ ex)์๋ ์นํจ | | ||||||
| ๋ฉ๋ด ๊ทธ๋ฃน | Menu Group | ๋ฉ๋ด์ ์์๊ฐ๋ ์ผ๋ก ๋น์ทํ ๋ฉ๋ด๋ค๋ผ๋ฆฌ ๋ฌถ์ฌ์๋ค ex)์ถ์ฒ๋ฉ๋ด | | ||||||
| ๋ฉ๋ด | Menu | ์๋์ด ์ฃผ๋ฌธํ๋ ๋จ์ ex)์นํจ ๋๋ง๋ฆฌ ์ธํธ | | ||||||
| ๋ฉ๋ด ์ํ | Menu Product | ๋ฉ๋ด์ ์ํ ์ํ | | ||||||
| ๋ฉ๋ด์ํ๊ฐ๊ฒฉ ํฉ | Total Menu Product Price | ๋ฉ๋ด์ ์ํ ์ํ๋ค์ ๊ฐ๊ฒฉ๊ณผ ์๋์ ๊ณฑํ ๊ฐ (๋ฉ๋ด์ ์ํ ์ํ์ (๊ฐ๊ฒฉ * ์๋)) | | ||||||
| ๋ฉ๋ด ๊ฐ๊ฒฉ | Menu Price | ๋ฉ๋ด๋ฅผ ํ๋งคํ๋ ๊ฐ๊ฒฉ | | ||||||
| ๋ ธ์ถ ๋ฉ๋ด | Displayed Menu | ์๋์๊ฒ ๋ณด์ด๋ ๋ฉ๋ด | | ||||||
| ๋น๋ ธ์ถ ๋ฉ๋ด | Not Displayed Menu | ์๋์๊ฒ ๋ณด์ด์ง ์๋ ๋ฉ๋ด | | ||||||
| ์ฃผ๋ฌธ ํ ์ด๋ธ | Order Table | ์ฃผ๋ฌธ์ ์ ๋ ฅํ๋ ํ ์ด๋ธ (ํ์ฌ๋ ํ์ฃผ๋ฌธ๋ง ์ ๊ณต) | | ||||||
| ๋น์ ์ ํ ์ด๋ธ | Not Occupied Table | ์๋์ด ๋งค์ฅ์ ํ ์ด๋ธ์์ ๋๊ฐ๋ค | | ||||||
| ์ ์ ํ ์ด๋ธ | Occupied Table | ์๋์ด ๋งค์ฅ์ ํ ์ด๋ธ์ ์์๋ค | | ||||||
| ์๋ | Guest | ์ฃผ๋ฌธ์ ํ๋ ์ฌ๋ | | ||||||
| ์๋ ์ | Number Of Guest | ํ ์ด๋ธ์ ์์ ์ฌ๋์ ์ | | ||||||
| ๋ฐฐ๋ฌ์ฃผ๋ฌธ | Delivery Order | ๋ฐฐ๋ฌ๋ก ์ฃผ๋ฌธํ๋ค | | ||||||
| ํฌ์ฅ์ฃผ๋ฌธ | TakeOut Order | ๋ฐฉ๋ฌธํด์ ํฌ์ฅํ๋ค | | ||||||
| ํ์ฃผ๋ฌธ | EatIn Order | ๋งค์ฅ ๋ด๋ถ์์ ๋จน๊ณ ๊ฐ๋ค | | ||||||
| ์ฃผ๋ฌธ ์ ํ | Order Type | ์ฃผ๋ฌธ๋ฐฉ์์ ์ข ๋ฅ๋ค (๋ฐฐ๋ฌ/ํฌ์ฅ/ํ) | | ||||||
| ๋ฐฐ๋ฌ ๋ํ์ฌ | Delivery Agency | ๋ฐฐ๋ฌ์ ๋ํํด์ฃผ๋ ์ ์ฒด | | ||||||
| ์ฃผ๋ฌธ ์ํ | Order Status | ์ฃผ๋ฌธ์ ์งํ ํํฉ (์ฃผ๋ฌธ๋๊ธฐ/์ฃผ๋ฌธ์ ์/์ฃผ๋ฌธ์๋น/๋ฐฐ๋ฌ์ค/๋ฐฐ๋ฌ์๋ฃ/์๋ฃ)<br/><br/> ๋ฐฐ๋ฌ์ฃผ๋ฌธ (์ฃผ๋ฌธ๋๊ธฐ -> ์ฃผ๋ฌธ์ ์ -> ์ฃผ๋ฌธ์๋น -> ๋ฐฐ๋ฌ์ค -> ๋ฐฐ๋ฌ์๋ฃ -> ์๋ฃ) <br/>ํ์ฃผ๋ฌธ (์ฃผ๋ฌธ๋๊ธฐ -> ์ฃผ๋ฌธ์ ์ -> ์ฃผ๋ฌธ์๋น -> ์๋ฃ) <br/>ํฌ์ฅ์ฃผ๋ฌธ (์ฃผ๋ฌธ๋๊ธฐ -> ์ฃผ๋ฌธ์ ์ -> ์ฃผ๋ฌธ์๋น -> ์๋ฃ) | | ||||||
| ์ฃผ๋ฌธ๋๊ธฐ | Waiting | ๋งค์ฅ์ด ์ฃผ๋ฌธ์ ์ ์ํ ์ํ | | ||||||
| ์ฃผ๋ฌธ์๋น | Served | ๋งค์ฅ์ด ์ฃผ๋ฌธ์ ์์ฑํ ์ํ | | ||||||
| ๋ฐฐ๋ฌ์ค | Delivering | ์ฃผ๋ฌธ์ ๋ํ ๋ฐฐ๋ฌ์ ์งํ์ค์ธ ์ํ | | ||||||
| ๋ฐฐ๋ฌ์๋ฃ | Delivered | ์ฃผ๋ฌธ์ ๋ํ ๋ฐฐ๋ฌ์ ์๋ฃํ ์ํ | | ||||||
| ์๋ฃ | Complete | ์ฃผ๋ฌธ์ ์งํ์ด ๋๋ ์ต์ข ์ํ | | ||||||
| ํ๊ธ๋ช | ์๋ฌธ๋ช | ์ค๋ช | | ||||||
|---------|-------------------------|--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------| | ||||||
| ์ํ | Product | ๋ฉ๋ด์ ์ํด์๋ ํ๋งค๋จ์ ex)์๋ ์นํจ | | ||||||
| ๋ฉ๋ด ๊ทธ๋ฃน | Menu Group | ๋ฉ๋ด์ ์์๊ฐ๋ ์ผ๋ก ๋น์ทํ ๋ฉ๋ด๋ค๋ผ๋ฆฌ ๋ฌถ์ฌ์๋ค ex)์ถ์ฒ๋ฉ๋ด | | ||||||
| ๋ฉ๋ด | Menu | ์๋์ด ์ฃผ๋ฌธํ๋ ๋จ์ ex)์นํจ ๋๋ง๋ฆฌ ์ธํธ | | ||||||
| ๋ฉ๋ด ์ํ | Menu Product | ๋ฉ๋ด์ ์ํ ์ํ | | ||||||
| ๋ฉ๋ด์ํ๊ฐ๊ฒฉ ํฉ | Total Menu Product Price | ๋ฉ๋ด์ ์ํ ์ํ๋ค์ ๊ฐ๊ฒฉ๊ณผ ์๋์ ๊ณฑํ ๊ฐ (๋ฉ๋ด์ ์ํ ์ํ์ (๊ฐ๊ฒฉ * ์๋)) | | ||||||
| ๋ฉ๋ด ๊ฐ๊ฒฉ | Menu Price | ๋ฉ๋ด๋ฅผ ํ๋งคํ๋ ๊ฐ๊ฒฉ | | ||||||
| ๋ ธ์ถ ๋ฉ๋ด | Displayed Menu | ์๋์๊ฒ ๋ณด์ด๋ ๋ฉ๋ด | | ||||||
| ๋น๋ ธ์ถ ๋ฉ๋ด | Not Displayed Menu | ์๋์๊ฒ ๋ณด์ด์ง ์๋ ๋ฉ๋ด | | ||||||
| ์ฃผ๋ฌธ ํ ์ด๋ธ | Order Table | ์ฃผ๋ฌธ์ ์ ๋ ฅํ๋ ํ ์ด๋ธ (ํ์ฌ๋ ํ์ฃผ๋ฌธ๋ง ์ ๊ณต) | | ||||||
| ๋น์ ์ ํ ์ด๋ธ | Not Occupied Table | ์๋์ด ๋งค์ฅ์ ํ ์ด๋ธ์์ ๋๊ฐ๋ค | | ||||||
| ์ ์ ํ ์ด๋ธ | Occupied Table | ์๋์ด ๋งค์ฅ์ ํ ์ด๋ธ์ ์์๋ค | | ||||||
| ์๋ | Guest | ์ฃผ๋ฌธ์ ํ๋ ์ฌ๋ | | ||||||
| ์๋ ์ | Number Of Guest | ํ ์ด๋ธ์ ์์ ์ฌ๋์ ์ | | ||||||
| ๋ฐฐ๋ฌ์ฃผ๋ฌธ | Delivery Order | ๋ฐฐ๋ฌ๋ก ์ฃผ๋ฌธํ๋ค | | ||||||
| ํฌ์ฅ์ฃผ๋ฌธ | TakeOut Order | ๋ฐฉ๋ฌธํด์ ํฌ์ฅํ๋ค | | ||||||
| ํ์ฃผ๋ฌธ | EatIn Order | ๋งค์ฅ ๋ด๋ถ์์ ๋จน๊ณ ๊ฐ๋ค | | ||||||
| ์ฃผ๋ฌธ ์ ํ | Order Type | ์ฃผ๋ฌธ๋ฐฉ์์ ์ข ๋ฅ๋ค (๋ฐฐ๋ฌ/ํฌ์ฅ/ํ) | | ||||||
| ๋ฐฐ๋ฌ ๋ํ์ฌ | Delivery Agency | ๋ฐฐ๋ฌ์ ๋ํํด์ฃผ๋ ์ ์ฒด | | ||||||
| ์ฃผ๋ฌธ ์ํ | Order Status | ์ฃผ๋ฌธ์ ์งํ ํํฉ (์ฃผ๋ฌธ๋๊ธฐ/์ฃผ๋ฌธ์ ์/์ฃผ๋ฌธ์๋น/๋ฐฐ๋ฌ์ค/๋ฐฐ๋ฌ์๋ฃ/์๋ฃ)<br/><br/> ๋ฐฐ๋ฌ์ฃผ๋ฌธ (์ฃผ๋ฌธ๋๊ธฐ -> ์ฃผ๋ฌธ์ ์ -> ์ฃผ๋ฌธ์๋น -> ๋ฐฐ๋ฌ์ค -> ๋ฐฐ๋ฌ์๋ฃ -> ์๋ฃ) <br/>ํ์ฃผ๋ฌธ (์ฃผ๋ฌธ๋๊ธฐ -> ์ฃผ๋ฌธ์ ์ -> ์ฃผ๋ฌธ์๋น -> ์๋ฃ) <br/>ํฌ์ฅ์ฃผ๋ฌธ (์ฃผ๋ฌธ๋๊ธฐ -> ์ฃผ๋ฌธ์ ์ -> ์ฃผ๋ฌธ์๋น -> ์๋ฃ) | | ||||||
| ์ฃผ๋ฌธ๋๊ธฐ | Waiting | ๊ณ ๊ฐ์ด ์ฃผ๋ฌธ์ ์์ฑํ ์ํ | | ||||||
| ์ฃผ๋ฌธ์ ์ | Accepted | ๋งค์ฅ์ด ์ฃผ๋ฌธ์ ์ ์ํ ์ํ | | ||||||
| ์ฃผ๋ฌธ์๋น | Served | ๋งค์ฅ์ด ์ฃผ๋ฌธ์ ์์ฑํ ์ํ | | ||||||
| ๋ฐฐ๋ฌ์ค | Delivering | ์ฃผ๋ฌธ์ ๋ํ ๋ฐฐ๋ฌ์ ์งํ์ค์ธ ์ํ | | ||||||
| ๋ฐฐ๋ฌ์๋ฃ | Delivered | ์ฃผ๋ฌธ์ ๋ํ ๋ฐฐ๋ฌ์ ์๋ฃํ ์ํ | | ||||||
| ์๋ฃ | Complete | ์ฃผ๋ฌธ์ ์งํ์ด ๋๋ ์ต์ข ์ํ | | ||||||
|
||||||
## ๋ชจ๋ธ๋ง | ||||||
|
||||||
### ์ฃผ๋ฌธ์ํ ๋ค์ด์ด๊ทธ๋จ | ||||||
![OrderStatus_Diagram.png](OrderStatus_Diagram.png) | ||||||
### Product | ||||||
- Product๋ ์๋ณ์์ price, name์ ๊ฐ์ง๋ค. | ||||||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. ์ฌ์ํ์ง๋ง ์ ์ฒด์ ์ผ๋ก ์ฉ์ด๋ ๋ฐฑํฑ๋ฌธ์(`) ๊ฐ์ธ์ ์ฝ๊ฒ ๊ตฌ๋ถ๋์ด ๋ณด์ด๊ฒ ํ๋ฉด ์ข์ ๊ฒ ๊ฐ์์.
Suggested change
|
||||||
- Product์ name์ ํ์๊ฐ์ด๊ณ , PurgomalumClient๋ฅผ ํตํด ๋น์์ด๊ฐ ํฌํจ๋์ด ์์ง ์์์ง ํ์ธํ๋ค. | ||||||
hoon25 marked this conversation as resolved.
Show resolved
Hide resolved
|
||||||
- Product์ price๋ฅผ ๋ณ๊ฒฝ | ||||||
- Product๋ฅผ ํฌํจํ Menu๋ค ์ค `MenuPrice <= ProductPrice * MenuProductQuantity`๋ฅผ ๋ง์กฑํ์ง ๋ชปํ๋ Menu๋ `Not Displayed`๋๋ค | ||||||
hoon25 marked this conversation as resolved.
Show resolved
Hide resolved
|
||||||
### MenuGroup | ||||||
- MenuGroup๋ ์๋ณ์์ name์ ๊ฐ์ง๋ค. | ||||||
- MenuGroup์ name์ ํ์๊ฐ์ด๋ค. | ||||||
hoon25 marked this conversation as resolved.
Show resolved
Hide resolved
|
||||||
### Menu | ||||||
- Menu๋ ์๋ณ์์ MenuGroup, price, name, displayed, MenuProducts๋ฅผ ๊ฐ์ง๋ค. | ||||||
- Menu์ name์ ํ์๊ฐ์ด๊ณ , PurgomalumClient๋ฅผ ํตํด ๋น์์ด๊ฐ ํฌํจ๋์ด ์์ง ์์์ง ํ์ธํ๋ค. | ||||||
- Menu๋ 1๊ฐ์ MenuProduct๋ฅผ ๋ฐ๋์ ๊ฐ์ง๋ค | ||||||
- MenuProduct์ quantity๋ 0๊ฐ ์ด์์ด์ด์ผ ํ๋ค. | ||||||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more.
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. ๋งคํํ ์ด๋ธ ์ฑํฅ์ ๊ฐ์ง ์์ฑ๋ค์ ๋ํด์๋ ๋ชจ๋ธ๋ง์ ์ ๋ถ ์ถ๊ฐ ์๋ฃํ์ด์! |
||||||
- Menu ์์ฑ | ||||||
- `MenuPrice <= ProductPrice * MenuProductQuantity`๋ฅผ ๋ง์กฑํ์ง ๋ชปํ๋ฉด Menu๋ ์์ฑ๋์ง ๋ชปํ๋ค | ||||||
hoon25 marked this conversation as resolved.
Show resolved
Hide resolved
|
||||||
- Price ๋ณ๊ฒฝ | ||||||
- `MenuPrice <= ProductPrice * MenuProductQuantity`๋ฅผ ๋ง์กฑํ์ง ๋ชปํ๋ฉด price๋ ๋ณ๊ฒฝ๋์ง ๋ชปํ๋ค | ||||||
### OrderTable | ||||||
- OrderTable์ ์๋ณ์์ name, numberOfGuests, occupied๋ฅผ ๊ฐ์ง๋ค. | ||||||
- OrderTable์ ์ด๊ธฐ๊ฐ์ numberOfGuests๋ 0๋ช , occupied๋ Not Occupied์ด๋ค. | ||||||
- OrderTable์ name์ ํ์๊ฐ์ด๋ค. | ||||||
- OrderTable Occupied ๋ณ๊ฒฝ | ||||||
- OrderTable์ Occupiedํ ๋ ์ ์ฝ์ ์๋ค | ||||||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. ์ ์ฝ์ด ์๋ ๊ฒ์ ๊ตณ์ด ๋ช ์ํ ํ์๊ฐ ์์๊น์? ๐ค There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. #469 (comment) ์ ๋์ผํ๊ฒ ๋ถ๋ฆฌํด์ ๋์ดํ์ด์! |
||||||
- OrderTable์ ์๋ฃ๋์ง ์์ Order๊ฐ ์กด์ฌํ๋ฉด NotOccupied ํ ์ ์๋ค | ||||||
- OrderTable์ numberOfGuests ๋ณ๊ฒฝ | ||||||
hoon25 marked this conversation as resolved.
Show resolved
Hide resolved
|
||||||
- OrderTable์ด Occupied์ผ ๋๋ง ๋ณ๊ฒฝํ ์ ์๋ค | ||||||
|
||||||
### Order | ||||||
- Order๋ ์๋ณ์์ orderType, orderStatus, orderMenus๋ฅผ ๊ฐ์ง๋ค. | ||||||
- EatInOrder๋ OrderTable๋ฅผ ๊ฐ์ง๋ค | ||||||
- DeliveryOrder๋ deliveryAddress๋ฅผ ๊ฐ์ง๋ค | ||||||
- TakeOutOrder๋ ์กด์ฌํ๋ค | ||||||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. ๋ญ๊ฐ ์ด์ง ๋ถ์์ฐ์ค๋ฌ์ด ๋ฌธ์ฅ์ฒ๋ผ ๋๊ปด์ง๋๋ฐ TakeOutOrder๋ผ๋ ์ฃผ๋ฌธ ์ ํ์ด ์๋ค๋ ๊ฑธ ๋ํ๋ด์ ๊ฑธ๊น์? There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. ๋๊ฐ์ง ์๊ฐ์ด ์์ฌ์ ์ ๋ ๊ฒ ํํ์ด ๋์๋ค์๐ข ๋ถ๋ฆฌํด์ ๋์ดํ์ด์! |
||||||
|
||||||
- Order๋ฅผ ์์ฑํ๋ฉด Waiting๊ฐ ๋๋ค | ||||||
- EatInOrder ์์ฑ | ||||||
- EatInOrder๋ Occupied์ธ OrderTable์ ๋ฑ๋กํด์ผํ๋ค | ||||||
- EatInOrder๋ OrderMenus์ quantity ์ ์ฝ์ด ์๋ค | ||||||
- DeliveryOrder ์์ฑ | ||||||
- DeliveryOrder๋ OrderMenus์ quantity๊ฐ 0๊ฐ ์ด์์ด์ด์ผ ํ๋ค | ||||||
- DeliveryOrder๋ deliveryAddress๊ฐ ํ์๊ฐ์ด๋ค | ||||||
- TakeOutOrder ์์ฑ | ||||||
- TakeOutOrder๋ OrderMenus์ quantity๊ฐ 0๊ฐ ์ด์์ด์ด์ผ ํ๋ค | ||||||
|
||||||
- Order๋ฅผ ์ ์ํ๋ฉด Accepted๋ก ๋ณ๊ฒฝํ๋ค | ||||||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more.
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. ๋ ์ง๊ด์ ์ธ ์ฉ์ด๋ก ๋ณด์ด๋ค์!! ๋ฐ์์๋ฃํ์ด์๐ |
||||||
- DeliveryOrder๋ `DeliveryAgency`๋ฅผ ํธ์ถํ๋ค | ||||||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more.
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. ๋ฐ์ ์๋ฃํ์ต๋๋ค! There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. +) ๋ฆฌ๋ทฐ์ด๋์
์ข ๋ ์ฌํํ๊ฒ ์ ์๊ฐ์ ๋จผ์ ์ ์ด๋ณด์๋ฉด ์ ๋
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more.
์คํธ! ํฅ๋ฏธ๋ก์ด ํ ๋ก ์ฃผ์ ๊ฐ ๋ ์ ์์ ๊ฒ ๊ฐ์์! ๐ฅ ํ์ง๋ง ์ ์ ๊ฒฝ์ฐ๋ ๋จ์ผ ์ฑ
์ ์์น(SRP)์ ๊ด์ ์์ ๋ค์ฌ๋ค ๋ณด์์ ๋ ์ฐฝํ๋์ DeliveryAgency๊ฐ ์ฌ๋ฌ ์ธ๋ถ ์๋น์ค์ ์ธํฐํ์ด์ค๋ผ๋ฉด ๊ฐ ์๋น์ค์ ์คํ์ด ๋ค๋ฅผ ์ ์๊ณ There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. ์น์ ํ ๋ฆฌ๋ทฐ ๊ฐ์ฌํฉ๋๋ค๐โโ๏ธ ์ ๋ ๋ค์ํ๋ฒ ๊ณ ๋ฏผํด๋ณด๋ ์ ๋ง ๋ง์ด ๋ณต์กํ๋ค๋ฉด ๊ทธ ์์ ์์๋ ๋ํ ์ฌํํ๊ฒ ์ธํฐํ์ด์ค ์คํ ๊น๋ํ๊ฒ ์ ํ๋๊ฒ ๋ฒ ์คํธ์ธ๊ฒ ๊ฐ์์! |
||||||
- Order๋ฅผ ์๋นํ๋ฉด Served๋ก ๋ณ๊ฒฝํ๋ค | ||||||
- DeliveryOrder์ ๋ฐฐ๋ฌ์ด ์์๋๋ฉด Delivering๋ก ๋ณ๊ฒฝํ๋ค | ||||||
- DeliveryOrder์ ๋ฐฐ๋ฌ์ด ์๋ฃ๋๋ฉด Delivered๋ก ๋ณ๊ฒฝํ๋ค | ||||||
- Order๋ฅผ ์๋ฃํ๋ฉด Complete๋ก ๋ณ๊ฒฝํ๋ค | ||||||
hoon25 marked this conversation as resolved.
Show resolved
Hide resolved
|
||||||
- EatInOrder๋ ๋ฑ๋ก๋ OrderTable์ ๋ชจ๋ Order๊ฐ ์๋ฃ๋ ์ํ๋ฉด, OrderTable์ NotOccupied๋ก ๋ณ๊ฒฝํ๊ณ numberOfGuests๋ฅผ 0๋ช ์ผ๋ก ๋ณ๊ฒฝํ๋ค |
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.
๋ชจ๋ธ๋ง ํ๊ธฐ
์๊ตฌ ์ฌํญ์ ์๋์ ๊ฐ์ ๋ด์ฉ์ด ์ ํ์๋ ๊ฒ ์ฒ๋ผ์ด๋ฒ ๋จ๊ณ๋ ์ฐฝํ๋์ด ์ด์ ๋จ๊ณ์์ ์์ฑํ์ ์๊ตฌ ์ฌํญ๊ณผ ์ฉ์ด ์ฌ์ ์ ๊ธฐ๋ฐ์ผ๋ก
๋ชจ๋ธ๋ง ํ๊ธฐ
๋ฏธ์ ์ด๋ผ์ด ์์น์ ๋ชจ๋ธ๋ง ๋ด์ฉ์ ์๋ก ์์ฑํด ์ฃผ์ ์ผ ํ ๊ฒ ๊ฐ์์. ๐
๋ค์ ์ ๋ฆฌํด ์ฃผ์๋ฉด ๋ณธ๊ฒฉ์ ์ผ๋ก ๋ฆฌ๋ทฐ ์์ํ ๊ฒ์!
์ด๋ฏธ ์๊ณ ๊ณ์๊ฒ ์ง๋ง ๋ชจ๋ธ๋งํ์๋ฉด์ ์๋กญ๊ฒ ๋์ถ๋๊ฑฐ๋ ๋ณ๊ฒฝ๋ ์ฌํญ๋ค์
๊ธฐ์กด ์๊ตฌ ์ฌํญ๊ณผ ์ฉ์ด ์ฌ์ ์๋ ๊ณ์ํด์ ๋ฐ์ํ์๋ฉด ๋ฉ๋๋ค.
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.
์ฐฝํ๋์ด ์๊ฐํ์๊ณ ๊ณ์๋ ๋ชจ๋ธ๋ง์ด๋ ๋ฌด์์ธ์ง ์๊ฐ์ ๋๋ ์ค ์ ์์ผ์ค๊น์? ๐
๋ชจ๋ธ๋ง์ ๋ํ ์ ์๊ฐ์ ๋จผ์ ๋ง์๋๋ฆฌ์๋ฉด
์ ์๋ ์๊ตฌ์ฌํญ๊ณผ ์ฉ์ด๋ฅผ ๊ธฐ๋ฐ์ผ๋ก ํ์ํ ๋๋ฉ์ธ ๊ฐ์ฒด์ ์์ฑ๊ณผ ์ํ๋ฅผ ๊ตฌ์ฑํด ๋ณด๊ณ
๊ฐ์ฒด ๊ฐ์ ๊ด๊ณ์ ํ๋์ ์ ์ํด ๋ณด๋ ์์ ์ด๋ผ ์๊ฐํฉ๋๋ค.
๋ ๋จ์ํ๊ฒ ํํํ์๋ฉด ๋น์ฆ๋์ค ์๊ตฌ์ฌํญ์ ์ํํธ์จ์ด๋ก ๊ตฌํํ๊ธฐ ์ํ ์ถ์ํ ๋ฐ ๊ตฌ์ฒดํ ๊ณผ์ ๊ฐ์์.
๊ทธ๋์ ๋ชจ๋ธ๋ง ํ์ค ๋ ์ฌ์ฉ ์ฉ์ด๋ฅผ ๋ฏธ์ ์ค๋ช ์์์ ๋์ ์๋ ํจํด์ฒ๋ผ ์๋ฌธ๋ณ์๋ช ํํ๋ก ๋์ฒดํ๊ฑฐ๋ ๊ฐ์ด ์ ์ด์ฃผ๋ฉด
๊ตฌํ๋จ๊ณ์์ ์ข ๋ ํธํ๊ฒ ์งํํ์ค ์ ์์๊ฑฐ์์.
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.
๋ชจ๋ธ๋ง ํ๊ธฐ
๋ฅผ ์ด๋ป๊ฒ ์งํํด์ผํ ์ง ๋ฏธ๋ฆฌ ์ง๋ฌธ์ ํ ๊ฑธ ๊ทธ๋ฌ๋ค์๐ข์ ๊ฐ ์๊ฐํ ๋ชจ๋ธ๋ง๋ ๋ฆฌ๋ทฐ์ด๋๊ณผ ๋น์ทํ๊ฒ
ํ์ค์ธ๊ณ์ ๋ฌธ์ ๋ฅผ ์ํํธ์จ์ด์ ๋ง๊ฒ ์ถ์ํ
๊ณผ์ ์ด๋ผ๊ณ ์๊ฐํฉ๋๋ค.๋ฆฌ๋ทฐ์ด๋์ด ์์ธํ๊ฒ ์ ์ด์ฃผ์
๋๋ฉ์ธ ๊ฐ์ฒด์ ์์ฑ๊ณผ ์ํ
,๊ฐ์ฒด๊ฐ์ ๊ด๊ณ์ ํ๋์ ์ ์
๋ถ๋ถ๋ ์ ๊ฒฝ์จ์ ์์ฑํด๋ณด์์ด์. ์น์ ํ ์ค๋ช ๊ฐ์ฌํฉ๋๋ค.๐