-
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๋จ๊ณ - ๋ชจ๋ธ๋ง ํ๊ธฐ #478
base: sumiini
Are you sure you want to change the base?
Conversation
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๋จ๊ณ ์ ์งํํด์ฃผ์
จ์ต๋๋ค.๐
๋ช๊ฐ์ง ์ฝ๋ฉํธ๋ฅผ ๋จ๊ฒผ๋๋ฐ ํ์ธ ๋ถํ๋๋ ค์!
์ถ๊ฐ๋ก, 1๋จ๊ณ ์ฝ๋ฉํธ๊ฐ ๋ฐ์๋์ง ์์ ๊ฒ ๊ฐ์ ์ด ๋ถ๋ถ๋ ํจ๊ผ ํ์ธ ๋ถํ๋๋ฆฝ๋๋ค.
๊ถ๊ธํ์ ์ ์์ผ์๋ฉด ํธํ๊ฒ ๋๊ธ์ด๋ DM์ผ๋ก ์ฐ๋ฝ์ฃผ์ธ์.
|
||
### `๋ฉ๋ด ๋ฑ๋กํ๊ธฐ(create menu)` ์ ์ฑ | ||
- ํ๋ ์ด์์ `์ํ(product)`์ด ํฌํจ๋ ๊ฒฝ์ฐ์๋ง `๋ฉ๋ด(menu)`๋ฅผ ๋ฑ๋กํ ์ ์๋ค. | ||
- `๋ฉ๋ด ๊ฐ๊ฒฉ(menu price)`์ด `๋ฉ๋ด ์ํ(menu product)` ๊ฐ๊ฒฉ ํฉ๋ณด๋ค ํฌ๊ฑฐ๋ ๊ฐ์์ผ ๋ฑ๋ก์ด ๊ฐ๋ฅํ๋ค. |
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 table)`์ `์ฃผ๋ฌธ ํ ์ด๋ธ ์ํ(order table status)`, `๋ฐฉ๋ฌธ ์๋ ์(number of guests)`๋ฅผ ๊ฐ์ง๋ค. |
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 status)๋ผ๋ ์ฉ์ด๊ฐ ์๋กญ๊ฒ ์๊ธด ๊ฒ ๊ฐ์์!
ํ์ํ ๋ถ๋ถ๋ค์ ์ฉ์ด์ฌ์ ์ ์ ์ํด๋ณด๋ ๊ฒ ์ด๋จ๊น์?
### `์ฃผ๋ฌธ ํ ์ด๋ธ ๋ฑ๋กํ๊ธฐ(create order table)` ์ ์ฑ | ||
- `์ฃผ๋ฌธ ํ ์ด๋ธ ์ด๋ฆ(order table name)`์ด ๋น์ด ์์ง ์์ ๊ฒฝ์ฐ `์ฃผ๋ฌธ ํ ์ด๋ธ(order table)`์ ๋ฑ๋กํ ์ ์๋ค. |
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 table)`์ ์ฌ์ฉ ์ค ์ํ๋ก ๋ณ๊ฒฝํ ์ ์๋ค. | ||
|
||
### `์ฃผ๋ฌธ ํ ์ด๋ธ ์น์ฐ๊ธฐ(clear order table)` ์ ์ฑ | ||
- ์๋ฃ๋์ง ์์ `์ฃผ๋ฌธ(order)`์ด ์๋ ๊ฒฝ์ฐ `์ฃผ๋ฌธ ํ ์ด๋ธ ์น์ฐ๊ธฐ(clear order table)`๋ก ์ค์ ํ ์ ์๋ค. |
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.
์ฃผ๋ฌธ ํ
์ด๋ธ ์น์ฐ๊ธฐ(clear order table)๋ ๊ธฐ๋ฅ์ด๋ค๋ผ๊ณ ์ฉ์ด์ฌ์ ์ ๋ช
์ํด์ฃผ์
จ๋๋ฐ,
์ค์ ํ๋ค๋ผ๋ ๋ฌธ๋งฅ์ด ์ด๋ค ์ํ๋ฅผ ๋ํ๋ด๋ ๊ฒ ๊ฐ์์ :) ์ด๋ป๊ฒ ํ์ด๋ณผ ์ ์์๊น์?
README.md
Outdated
- `์ฃผ๋ฌธ ๋ชฉ๋ก(find order list)`์ ์กฐํํ ์ ์๋ค. | ||
|
||
### `์ฃผ๋ฌธ ๋ฑ๋ก(create order)`ํ๊ธฐ ์ ์ฑ | ||
- ํ๋ ์ด์์ `๋ฉ๋ด(menu)`๊ฐ ํฌํจ๋ ๊ฒฝ์ฐ์๋ง `์ฃผ๋ฌธ(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.
๋ฉ๋ด
๋ณด๋จ ์ ์ํ์ ์ฃผ๋ฌธํญ๋ชฉ
์ด ๋ ์ ํฉํ ๊ฒ ๊ฐ์๋ฐ ์ด๋ป๊ฒ ์๊ฐํ์ค๊น์??
๊ทธ๋ฆฌ๊ณ ๋ ๋ค์ํ ์ ์ฑ
๋ค์ด ์๋ ๊ฒ ๊ฐ์๋ฐ ํ์ธ ๋ถํ๋๋ฆด๊ฒ์!
README.md
Outdated
### ์ฃผ๋ฌธ ์ํ (order status) ๋ณ๊ฒฝ ์ ์ฑ | ||
- `๋๊ธฐ(waiting)` ์ํ์ ์ฃผ๋ฌธ๋ง `์ฃผ๋ฌธ ์๋ฝ(accepted)`ํ ์ ์๋ค. | ||
- `์ฃผ๋ฌธ ์๋ฝ(accepted)`๋ ์ฃผ๋ฌธ๋ง `์ฃผ๋ฌธ ์ ๊ณต(served)`ํ ์ ์๋ค. | ||
- `์ฃผ๋ฌธ ์ ๊ณต(served)`๋ ์ฃผ๋ฌธ๋ง `๋ฐฐ๋ฌ ์ค(delivering)`์ผ๋ก ๋ณ๊ฒฝํ ์ ์๋ค. | ||
- `๋ฐฐ๋ฌ ์ค(delivering)`์ธ ์ฃผ๋ฌธ๋ง `๋ฐฐ๋ฌ ์๋ฃ(delivered)`ํ ์ ์๋ค. | ||
- `๋ฐฐ๋ฌ ์๋ฃ(delivered)`๋ ์ฃผ๋ฌธ๋ง `์ฃผ๋ฌธ ์๋ฃ(completed)`ํ ์ ์๋ค. | ||
- `ํฌ์ฅ ์ฃผ๋ฌธ(take out order)` ๋ฐ `๋งค์ฅ ์ฃผ๋ฌธ(table order)`์ ๊ฒฝ์ฐ `์ฃผ๋ฌธ ์ ๊ณต(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.
ํ์๋ณ๋ก ํ์ด๋ณด๋ ๊ฑด ์ด๋จ๊น์?
served ์ํ์ด๋ฉด ์ฃผ๋ฌธ ์ ํ๊ณผ ์๊ด์์ด ๋ฐฐ๋ฌ์ค์ผ๋ก ๋ณ๊ฒฝ๋ ์ ์์ ๊ฒ ๊ฐ์์!
README.md
Outdated
- `๋ฐฐ๋ฌ ์ฃผ๋ฌธ(delivery order)`์ `๋ฐฐ๋ฌ ์ฃผ์(delivery address)`๋ฅผ ๊ฐ์ง๋ค. | ||
- `๋ฐฐ๋ฌ ๋ํ์ฌ ํธ์ถํ๊ธฐ(call delivery agency)`๋ฅผ ํตํด ๋ฐฐ๋ฌ์ ์์ฒญํ ์ ์๋ค. | ||
- `๋ฐฐ๋ฌ ์ฃผ์(delivery address)`๋ ๋น์ ๋ ์ ์๋ค. |
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 type), ์ฃผ๋ฌธ ์ํ(order status), ์ฃผ๋ฌธ ํญ๋ชฉ(order item), ๋ฐฐ๋ฌ ์ฃผ์(delivery address)๋ฅผ ๊ฐ์ง๋ค.
-`๋ฐฐ๋ฌ ์ฃผ์(delivery address)`๋ ๋น์ ๋ ์ ์๋ค.
...
ํ์
- `๋ฐฐ๋ฌ ๋ํ์ฌ ํธ์ถํ๊ธฐ(call delivery agency)`๋ฅผ ํตํด ๋ฐฐ๋ฌ์ ์์ฒญํ ์ ์๋ค.
...
|
||
|
||
```mermaid | ||
sequenceDiagram |
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.
๋ค์ด์ด๊ทธ๋จ์ ํตํด ๋ชจ๋ธ๋ง ํด๋ณด์
จ๊ตฐ์๐๐ป๐๐ป
ํ ๋์ ํ์
ํ๊ธฐ ์ข์ ๊ฒ ๊ฐ์์!
์๋ ํ์ธ์ ๋ฆฌ๋ทฐ์ด๋!
๋ชจ๋ธ๋งํ์ฌ ๋ฆฌ๋ทฐ ์์ฒญ๋๋ฆฝ๋๋ค ๐