-
Notifications
You must be signed in to change notification settings - Fork 199
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๋จ๊ณ - ๋ชจ๋ธ๋ง ํ๊ธฐ #485
base: jwoo-o
Are you sure you want to change the base?
Conversation
doc : ๋ชจ๋ธ๋ง ๋ฌธ์ ์์ฑ
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.
์๋
ํ์ธ์ ์ง์ฐ๋ ๐
๋ฏธ์
์งํํ๋๋ผ ๊ณ ์ํ์
จ์ด์!! ๐
๋ช๊ฐ์ง ์ฝ๋ฉํธ ๋จ๊ฒผ์ผ๋ ํ์ธ๋ถํ๋๋ ค์!
๊ถ๊ธํ ์ ์์ผ๋ฉด ์ธ์ ๋ DM์ด๋ ์ฝ๋ฉํธ ๋จ๊ฒจ์ฃผ์ธ์ ๐
README.md
Outdated
- `Menu`์ ๊ฐ๊ฒฉ์ `Menu Product`์ ๊ธ์ก์ ํฉ๋ณด๋ค ์ ๊ฑฐ๋ ๊ฐ์์ผ ํ๋ค. | ||
- `Menu`์ ๊ฐ๊ฒฉ์ด `Menu Product`์ ๊ธ์ก์ ํฉ๋ณด๋ค ํฌ๋ฉด `Menu Not Displayed`๊ฐ ๋๋ค. |
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.
Menu
์ ๊ฐ๊ฒฉ -> Menu Price
์ฉ์ด๋ฅผ ์ฌ์ฉํด๋ณผ ์ ์๊ฒ ๊ตฐ์
README.md
Outdated
### ์ํ | ||
|
||
- `Product`๋ `UUID` `Product Name`, `Product Price`์ ๊ฐ์ง๊ณ ์๋ค. | ||
- `Product Name`์๋ `profanity`๊ฐ ํฌํจ๋ ์ ์๋ค. |
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.
Product Price
์ ๋ํ ์ ์ฝ ์ฌํญ๋ ๋ชจ๋ธ๋ง์ ํฌํจ์ํค๋ฉด ์ข๊ฒ ์ด์!
README.md
Outdated
@@ -168,10 +170,53 @@ docker compose -p kitchenpos up -d | |||
| ์ฃผ๋ฌธ ํ ์ด๋ธ | order table | ๋งค์ฅ์์ ์ฃผ๋ฌธ์ด ๋ฐ์ํ๋ ํ ์ด๋ธ | | |||
| ์ฃผ๋ฌธ ์ข ๋ฅ(๋งค์ฅ) | EAT_IN | ๋งค์ฅ ์ฃผ๋ฌธ ์ข ๋ฅ. | | |||
| ๋ฐฉ๋ฌธํ ์๋ ์ | number of guests | ๋งค์ฅ ํ ์ด๋ธ์ ์์ ์๋ ์ | | |||
| ์ฃผ๋ฌธ ์ํ | Order Status | ์ฃผ๋ฌธ์ ์ํ๋ฅผ ๋ํ๋ธ๋ค. | | |||
| ์ฃผ๋ฌธ ์ํ ํ๋ฆ | WAITING, ACCEPTED, SERVED, COMPLETED | ์ฃผ๋ฌธ์ ์ํ ํ๋ฆ | | |||
| ์ฃผ๋ฌธ ์ํ(์ ์ ๋๊ธฐ์ค) | WAITING | ๊ณ ๊ฐ์ด ์ฃผ๋ฌธ์ ์์ฒญ ํ ์ํ | | |||
| ์ฃผ๋ฌธ ์ํ(์ ์ ์๋ฃ) | ACCEPTED | ๊ณ ๊ฐ์ ์ฃผ๋ฌธ์ด ์ ์ ์๋ฃ๋ ์ํ. | | |||
| ์ฃผ๋ฌธ ์ํ(์๋น ์๋ฃ) | SERVED | ๊ณ ๊ฐ์ ์ฃผ๋ฌธ์ด ๋งค์ฅ ์ฃผ๋ฌธ์ด ์ฃผ๋ฌธ ํ ์ด๋ธ์ ์๋น์๋ฃ๋ ์ํ. | | |||
| ์ฃผ๋ฌธ ์ํ(์ฃผ๋ฌธ ์๋ฃ) | COMPLETED | ๊ณ ๊ฐ์ด ์์ฌ๋ฅผ ์๋ฃํ๊ณ `์ฃผ๋ฌธํ ์ด๋ธ`์ ๋ ๋ ์ํ | | |||
|
|||
## ๋ชจ๋ธ๋ง |
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.
ํด๋น ๋ด์ฉ์ผ๋ก ์ ์ฉํ๋๋ก ํ๊ฒ ์ต๋๋ค.
README.md
Outdated
@@ -168,10 +170,53 @@ docker compose -p kitchenpos up -d | |||
| ์ฃผ๋ฌธ ํ ์ด๋ธ | order table | ๋งค์ฅ์์ ์ฃผ๋ฌธ์ด ๋ฐ์ํ๋ ํ ์ด๋ธ | | |||
| ์ฃผ๋ฌธ ์ข ๋ฅ(๋งค์ฅ) | EAT_IN | ๋งค์ฅ ์ฃผ๋ฌธ ์ข ๋ฅ. | | |||
| ๋ฐฉ๋ฌธํ ์๋ ์ | number of guests | ๋งค์ฅ ํ ์ด๋ธ์ ์์ ์๋ ์ | | |||
| ์ฃผ๋ฌธ ์ํ | Order Status | ์ฃผ๋ฌธ์ ์ํ๋ฅผ ๋ํ๋ธ๋ค. | | |||
| ์ฃผ๋ฌธ ์ํ ํ๋ฆ | WAITING, ACCEPTED, SERVED, COMPLETED | ์ฃผ๋ฌธ์ ์ํ ํ๋ฆ | | |||
| ์ฃผ๋ฌธ ์ํ(์ ์ ๋๊ธฐ์ค) | WAITING | ๊ณ ๊ฐ์ด ์ฃผ๋ฌธ์ ์์ฒญ ํ ์ํ | | |||
| ์ฃผ๋ฌธ ์ํ(์ ์ ์๋ฃ) | ACCEPTED | ๊ณ ๊ฐ์ ์ฃผ๋ฌธ์ด ์ ์ ์๋ฃ๋ ์ํ. | | |||
| ์ฃผ๋ฌธ ์ํ(์๋น ์๋ฃ) | SERVED | ๊ณ ๊ฐ์ ์ฃผ๋ฌธ์ด ๋งค์ฅ ์ฃผ๋ฌธ์ด ์ฃผ๋ฌธ ํ ์ด๋ธ์ ์๋น์๋ฃ๋ ์ํ. | | |||
| ์ฃผ๋ฌธ ์ํ(์ฃผ๋ฌธ ์๋ฃ) | COMPLETED | ๊ณ ๊ฐ์ด ์์ฌ๋ฅผ ์๋ฃํ๊ณ `์ฃผ๋ฌธํ ์ด๋ธ`์ ๋ ๋ ์ํ | | |||
|
|||
## ๋ชจ๋ธ๋ง |
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.
์ ๋ ๊ทธ๋ ๊ฒ ์๊ฐ๋ฉ๋๋ค.
README.md
Outdated
### ๋ฐฐ๋ฌ ์ฃผ๋ฌธ | ||
|
||
- `Order`๋ `UUID` `OrderStatus`, ์ฃผ๋ฌธ ์๊ฐ, `Delivery Address`, `Order Line Item`๋ฅผ ๊ฐ์ง๋ค. | ||
- `Menu`๊ฐ `Menu Displayed`์ด๋ฉฐ ๋ฉ๋ด ๊ฐ๊ฒฉ๊ณผ ์ผ์นํ๋ฉด `Order`๊ฐ ์์ฑ๋๋ค. |
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.
Menu
๊ฐMenu Displayed
์ด๋ฉฐ ๋ฉ๋ด ๊ฐ๊ฒฉ๊ณผ ์ผ์นํ๋ฉดOrder
๊ฐ ์์ฑ๋๋ค.
ํด๋น ๋ฌธ์ฅ์ ์๋ฆฌ๋ด์ ์ฝ์ด๋ณด๋ฉด ๋ง์ง๋ง์ด ์ด์ํ๋ค๊ณ ์๊ฐํ์ด์
๋ง์น ์กฐ๊ฑด์ ๋ง์กฑํ๋ฉด Order ๊ฐ ์์ฐ์ค๋ฝ๊ฒ ์์ฑ๋๋๊ฒ ์ฒ๋ผ ๋๊ปด์ ธ์์!
์๋์ ๊ฐ์ด ํ์ด์ฐ๋๊ฒ์ ์ด๋ป๊ฒ ์๊ฐํ์๋์?
- `Order`๋ฅผ ์์ฑํ ์ ์๋ค.
- `Order` ์์ฑ์ ๊ดํ ๋ถ๊ฐ ์ ๋ณด1
- `Order` ์์ฑ์ ๊ดํ ๋ถ๊ฐ ์ ๋ณด2
README.md
Outdated
### ๋ฐฐ๋ฌ ์ฃผ๋ฌธ | ||
|
||
- `Order`๋ `UUID` `OrderStatus`, ์ฃผ๋ฌธ ์๊ฐ, `Delivery Address`, `Order Line Item`๋ฅผ ๊ฐ์ง๋ค. | ||
- `Menu`๊ฐ `Menu Displayed`์ด๋ฉฐ ๋ฉ๋ด ๊ฐ๊ฒฉ๊ณผ ์ผ์นํ๋ฉด `Order`๊ฐ ์์ฑ๋๋ค. |
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.
- Order ์์ ๋ฐ๋ผ๋ณด๋ ๋ฉ๋ด
- Menu ์์ ๋ฐ๋ผ๋ณด๋ ๋ฉ๋ด
๋ ์ ๊ฐ์๊ฒ์ผ๋ก ์๊ฐํ๊ณ ๊ณ์๋์ง ๊ถ๊ธํด์!
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.
์๋
ํ์ธ์ ์ง์ฐ๋ ๐
๋ช๊ฐ์ง ์ถ๊ฐ๋ก ์ฝ๋ฉํธ ๋จ๊ฒผ์ผ๋ ํ์ธ ๋ถํ๋๋ ค์!! ๐
๊ถ๊ธํ ์ ์์ผ๋ฉด ์ธ์ ๋ DM ์ด๋ ์ฝ๋ฉํธ ๋จ๊ฒจ์ฃผ์ธ์~
| ์ฃผ๋ฌธ ์ํ | Order Status | ์ฃผ๋ฌธ์ ์ํ๋ฅผ ๋ํ๋ธ๋ค. | | ||
| ์ฃผ๋ฌธ ์ํ ํ๋ฆ | WAITING, ACCEPTED, SERVED, COMPLETED | ์ฃผ๋ฌธ์ ์ํ ํ๋ฆ | |
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.
์ฃผ๋ฌธ ์ํ ํ๋ฆ์ ์ฃผ๋ฌธ ์ํ์ ์ค๋ช
์ ์์น ์์ผ๋ณด๋๊ฒ๋ ์ข๋ค๊ณ ์๊ฐํด์!
์ฃผ๋ฌธ ์ํ ํ๋ฆ์ด๋ผ๋ ๊ฒ์ ์ฉ์ด๋ก์จ ์กด์ฌํ๊ธฐ๋ณด๋ค ์ฃผ๋ฌธ ์ํ์ ๋ํ ์ค๋ช
์ ์ผ๋ถ๋ก ๋ณด์ฌ์์ ๐
| ์ฃผ๋ฌธ ์ํ | Order Status | ์ฃผ๋ฌธ์ ์ํ๋ฅผ ๋ํ๋ธ๋ค. | | |
| ์ฃผ๋ฌธ ์ํ ํ๋ฆ | WAITING, ACCEPTED, SERVED, COMPLETED | ์ฃผ๋ฌธ์ ์ํ ํ๋ฆ | | |
| ์ฃผ๋ฌธ ์ํ | Order Status | ๋งค์ฅ ์ฃผ๋ฌธ์ ์ํ๋ฅผ ๋ํ๋ธ๋ค. ์ ์ ๋๊ธฐ์ค -> ์ ์ ์๋ฃ -> ์๋น ์๋ฃ -> ์ฃผ๋ฌธ ์๋ฃ ์์๋ก ์งํ๋๋ค | |
- `Order`๋ ์ ์ ๋๊ธฐ์ค โ ์ ์ ์๋ฃ โ ์๋น ์๋ฃ โ ์ฃผ๋ฌธ ์๋ฃ ์์๋ก ์งํํ๋ค. | ||
|
||
#### ๊ธฐ๋ฅ | ||
- `Order Table `์ ์ถ๊ฐ `Order`๋ `Order Table`์ ์์ด๋ฉฐ ๋ชจ๋ `Order`๊ฐ ์๋ฃ๋๋ฉด `Not Occupied`์ด ๋๋ค. |
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.
Order Table
์ ์ถ๊ฐOrder
๋Order Table
์ ์์ด๋ฉฐ ๋ชจ๋Order
๊ฐ ์๋ฃ๋๋ฉดNot Occupied
์ด ๋๋ค.
ํด๋น ๋ฌธ์ฅ์ ์ด์ํ๊ฒ ๋๊ปด์ก์ด์!
ํ๋ก์ ํธ ๊ด๊ณ์ ์ ์์ด ์ดํดํ ์ ์๋ ๊ธฐ๋ฅ ์ค๋ช
์ธ์ง ๊ณ ๋ฏผ๋ฉ๋๋ค :)
์ง์ฐ๋์ ์ด๋ป๊ฒ ์๊ฐํ๋์?
|
||
#### ๊ธฐ๋ฅ | ||
- `Order Table `์ ์ถ๊ฐ `Order`๋ `Order Table`์ ์์ด๋ฉฐ ๋ชจ๋ `Order`๊ฐ ์๋ฃ๋๋ฉด `Not Occupied`์ด ๋๋ค. | ||
- `Not Occupied`์ธ ๊ฒฝ์ฐ `Number Of Guests`๋ 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.
Not Occupied
์ธ ๊ฒฝ์ฐNumber Of Guests
๋ 0์ด๋ฉฐ ๋ณ๊ฒฝํ ์ ์๋ค.
ํด๋น ๊ธฐ๋ฅ์ ์ค๋ช
ํ๊ธฐ ์ํด์๋ Order Table
์ Number Of Guests
๋ฅผ ๋ณ๊ฒฝํ ์ ์๋ค๋ ๊ฒ๋ ์ถ๊ฐํด์ผํ ๊ฒ ๊ฐ์์!
#### ๊ธฐ๋ฅ | ||
- `Order Table `์ ์ถ๊ฐ `Order`๋ `Order Table`์ ์์ด๋ฉฐ ๋ชจ๋ `Order`๊ฐ ์๋ฃ๋๋ฉด `Not Occupied`์ด ๋๋ค. | ||
- `Not Occupied`์ธ ๊ฒฝ์ฐ `Number Of Guests`๋ 0์ด๋ฉฐ ๋ณ๊ฒฝํ ์ ์๋ค. | ||
- `Order Line Item`์ `Menu`๊ฐ `Menu Displayed`์ด๋ฉฐ `Menu Price`๊ณผ ์ผ์นํ๋ฉด `Order`๊ฐ ์์ฑํ๋ค. |
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.
Order Line Item
์Menu
๊ฐMenu Displayed
์ด๋ฉฐMenu Price
๊ณผ ์ผ์นํ๋ฉดOrder
๊ฐ ์์ฑํ๋ค.
์ฃผ๋ฌธ ์ปจํ
์คํธ์์ Order Line Item
์ Menu
๋ ๋ฉ๋ด ์ปจํ
์คํธ์ Menu
์ ๊ฐ์ ๊ฐ๋
์ผ๊น์?
์ง์ฐ๋์ ์ด๋ป๊ฒ ๋ฐ๋ผ๋ณด๊ณ ๊ณ์ ์ง ๊ถ๊ธํด์!
#### ๊ธฐ๋ฅ | ||
- `Order Table `์ ์ถ๊ฐ `Order`๋ `Order Table`์ ์์ด๋ฉฐ ๋ชจ๋ `Order`๊ฐ ์๋ฃ๋๋ฉด `Not Occupied`์ด ๋๋ค. | ||
- `Not Occupied`์ธ ๊ฒฝ์ฐ `Number Of Guests`๋ 0์ด๋ฉฐ ๋ณ๊ฒฝํ ์ ์๋ค. | ||
- `Order Line Item`์ `Menu`๊ฐ `Menu Displayed`์ด๋ฉฐ `Menu Price`๊ณผ ์ผ์นํ๋ฉด `Order`๊ฐ ์์ฑํ๋ค. |
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.
Order Line Item
์Menu
๊ฐMenu Displayed
์ด๋ฉฐMenu Price
๊ณผ ์ผ์นํ๋ฉดOrder
๊ฐ ์์ฑํ๋ค.
์ ๋ ์ด ๋ฌธ์ฅ์ด ์ ์ดํด๊ฐ ๋์ง ์๋๋ค๊ณ ์๊ฐํ์ด์!
์๋์ ๊ฐ์ด ํ์ด์ ์ค๋ช ํ๋ ๊ฒ์ ์ด๋ ์ ๊ฐ์?
- ๊ณ ๊ฐ์ด ์ฃผ๋ฌธ์ ์์ฒญํ๋ฉด
Waiting
์ํ์Order
๋ฅผ ์์ฑํ๋ค.Order Line Item
์ ํฌํจ๋ ๋ฉ๋ด๋Menu Displayed
์ํ์ฌ์ผํ๋ค.Order Line Item
์ ๊ฐ๊ฒฉ์ ํ์ฌMenu
์Menu Price
์ ์ผ์นํด์ผํ๋ค.
#### ๊ธฐ๋ฅ | ||
- `Menu`๊ฐ `Menu Displayed`์ด๋ฉฐ ๋ฉ๋ด ๊ฐ๊ฒฉ๊ณผ ์ผ์นํ๋ฉด `Order`๊ฐ ์์ฑ๋๋ค. | ||
- `Order`๊ฐ ์ ์๋๋ฉด `Delivery Agent`๊ฐ ํธ์ถ๋๋ค. |
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.
์ฃผ๋ฌธ ์ ์ฒด์ ์ผ๋ก ๊ธฐ๋ฅ์ ๋ํ ๋ชจ๋ธ๋ง์ด ๋ถ์คํ ๊ฒ ๊ฐ์์!
์ง์ฐ๋์ด ํ์
ํ ์๊ตฌ์ฌํญ์ ๋ ์ฌ๋ฆฌ๋ฉด์ ์ฉ์ด์ฌ์ ๊ณผ ํจ๊ป ์ ์ ๋ฆฌํด๋ณด์๋๊ฒ๋ ์ข์ ๊ฒ ๊ฐ์์ ๐
์๋ ํ์ธ์ ๋ฆฌ๋ทฐ์ด๋ 2๋จ๊ณ ๋ชจ๋ธ๋ง ํ๊ธฐ ๋ฆฌ๋ทฐ ์์ฒญ ๋๋ฆฝ๋๋ค.
์๊ตฌ์ฌํญ์ ๊ธฐ์ค์ผ๋ก ๋ชจ๋ธ๋ง ๋ฌธ์๋ฅผ ์์ฑํด๋ดค์ผ๋ฉฐ,
ํฌ๊ฒ ์ํ, ๋ฉ๋ด, ๋งค์ฅ์ฃผ๋ฌธ, ๋ฐฐ๋ฌ์ฃผ๋ฌธ, ํฌ์ฅ์ฃผ๋ฌธ์ผ๋ก ๋๋ ๋ดค์ต๋๋ค.
์ด๋ฒ ๋ฆฌ๋ทฐ๋ ์ ๋ถํ๋๋ฆฝ๋๋ค.