Skip to content
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

Open
wants to merge 2 commits into
base: jwoo-o
Choose a base branch
from

Conversation

jwoo-o
Copy link

@jwoo-o jwoo-o commented Feb 14, 2025

์•ˆ๋…•ํ•˜์„ธ์š” ๋ฆฌ๋ทฐ์–ด๋‹˜ 2๋‹จ๊ณ„ ๋ชจ๋ธ๋ง ํ•˜๊ธฐ ๋ฆฌ๋ทฐ ์š”์ฒญ ๋“œ๋ฆฝ๋‹ˆ๋‹ค.

์š”๊ตฌ์‚ฌํ•ญ์„ ๊ธฐ์ค€์œผ๋กœ ๋ชจ๋ธ๋ง ๋ฌธ์„œ๋ฅผ ์ž‘์„ฑํ•ด๋ดค์œผ๋ฉฐ,
ํฌ๊ฒŒ ์ƒํ’ˆ, ๋ฉ”๋‰ด, ๋งค์žฅ์ฃผ๋ฌธ, ๋ฐฐ๋‹ฌ์ฃผ๋ฌธ, ํฌ์žฅ์ฃผ๋ฌธ์œผ๋กœ ๋‚˜๋ˆ ๋ดค์Šต๋‹ˆ๋‹ค.

์ด๋ฒˆ ๋ฆฌ๋ทฐ๋„ ์ž˜ ๋ถ€ํƒ๋“œ๋ฆฝ๋‹ˆ๋‹ค.

doc : ๋ชจ๋ธ๋ง ๋ฌธ์„œ ์ž‘์„ฑ
Copy link

@Gomding Gomding left a 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
Comment on lines 192 to 193
- `Menu`์˜ ๊ฐ€๊ฒฉ์€ `Menu Product`์˜ ๊ธˆ์•ก์˜ ํ•ฉ๋ณด๋‹ค ์ ๊ฑฐ๋‚˜ ๊ฐ™์•„์•ผ ํ•œ๋‹ค.
- `Menu`์˜ ๊ฐ€๊ฒฉ์ด `Menu Product`์˜ ๊ธˆ์•ก์˜ ํ•ฉ๋ณด๋‹ค ํฌ๋ฉด `Menu Not Displayed`๊ฐ€ ๋œ๋‹ค.
Copy link

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
Comment on lines 182 to 185
### ์ƒํ’ˆ

- `Product`๋Š” `UUID` `Product Name`, `Product Price`์„ ๊ฐ€์ง€๊ณ  ์žˆ๋‹ค.
- `Product Name`์—๋Š” `profanity`๊ฐ€ ํฌํ•จ๋  ์ˆ˜ ์—†๋‹ค.
Copy link

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 | ๊ณ ๊ฐ์ด ์‹์‚ฌ๋ฅผ ์™„๋ฃŒํ•˜๊ณ  `์ฃผ๋ฌธํ…Œ์ด๋ธ”`์„ ๋– ๋‚œ ์ƒํƒœ |

## ๋ชจ๋ธ๋ง
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

๋ชจ๋ธ๋ง ์ „์ฒด์ ์œผ๋กœ ์†์„ฑ๊ณผ ๊ธฐ๋Šฅ์„ ๊ธฐ์ค€์œผ๋กœ ๋‚˜๋ˆ ๋ณด๋Š”๊ฒƒ์€ ์–ด๋– ์‹ ๊ฐ€์š”?
์†์„ฑ๊ณผ ๊ธฐ๋Šฅ์„ ๊ตฌ๋ถ„ํ•˜๋ฉด ์ „์ฒด์ ์œผ๋กœ ๊ฐ€๋…์„ฑ์ด ์ข‹์•„์งˆ๊ฑฐ๋ผ ์ƒ๊ฐํ–ˆ์–ด์š”!

### ์ƒํ’ˆ

#### ์†์„ฑ

#### ๊ธฐ๋Šฅ

Copy link
Author

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 | ๊ณ ๊ฐ์ด ์‹์‚ฌ๋ฅผ ์™„๋ฃŒํ•˜๊ณ  `์ฃผ๋ฌธํ…Œ์ด๋ธ”`์„ ๋– ๋‚œ ์ƒํƒœ |

## ๋ชจ๋ธ๋ง
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

๊ฐ ํ•ญ๋ชฉ์—๋‹ค ์šฉ์–ด์‚ฌ์ „๊ณผ ๋ชจ๋ธ๋ง์„ ์œ„์น˜์‹œํ‚ค๋ฉด ์ฝ๊ธฐ ์ข‹์„๊ฒƒ ๊ฐ™์•„์š”!
๋ชจ๋ธ๋ง์„ ์ฝ๋‹ค๊ฐ€ ์šฉ์–ด๊ฐ€ ๊ถ๊ธˆํ•˜๋ฉด ์Šคํฌ๋กค์„ ์œ„์•„๋ž˜ ์™•๋ณตํ•˜๋Š” ๋ถˆํŽธํ•จ์ด ์žˆ์–ด์„œ์š” ๐Ÿ˜ƒ

Copy link
Author

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`๊ฐ€ ์ƒ์„ฑ๋œ๋‹ค.
Copy link

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`๊ฐ€ ์ƒ์„ฑ๋œ๋‹ค.
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

  • Order ์—์„œ ๋ฐ”๋ผ๋ณด๋Š” ๋ฉ”๋‰ด
  • Menu ์—์„œ ๋ฐ”๋ผ๋ณด๋Š” ๋ฉ”๋‰ด

๋‘˜ ์„ ๊ฐ™์€๊ฒƒ์œผ๋กœ ์ƒ๊ฐํ•˜๊ณ  ๊ณ„์‹œ๋Š”์ง€ ๊ถ๊ธˆํ•ด์š”!

Copy link

@Gomding Gomding left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

์•ˆ๋…•ํ•˜์„ธ์š” ์ง„์šฐ๋‹˜ ๐Ÿ™‡
๋ช‡๊ฐ€์ง€ ์ถ”๊ฐ€๋กœ ์ฝ”๋ฉ˜ํŠธ ๋‚จ๊ฒผ์œผ๋‹ˆ ํ™•์ธ ๋ถ€ํƒ๋“œ๋ ค์š”!! ๐Ÿ™

๊ถ๊ธˆํ•œ ์  ์žˆ์œผ๋ฉด ์–ธ์ œ๋“  DM ์ด๋‚˜ ์ฝ”๋ฉ˜ํŠธ ๋‚จ๊ฒจ์ฃผ์„ธ์š”~

Comment on lines +155 to +156
| ์ฃผ๋ฌธ ์ƒํƒœ | Order Status | ์ฃผ๋ฌธ์˜ ์ƒํƒœ๋ฅผ ๋‚˜ํƒ€๋‚ธ๋‹ค. |
| ์ฃผ๋ฌธ ์ƒํƒœ ํ๋ฆ„ | WAITING, ACCEPTED, SERVED, COMPLETED | ์ฃผ๋ฌธ์˜ ์ƒํƒœ ํ๋ฆ„ |
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

์ฃผ๋ฌธ ์ƒํƒœ ํ๋ฆ„์€ ์ฃผ๋ฌธ ์ƒํƒœ์˜ ์„ค๋ช…์— ์œ„์น˜ ์‹œ์ผœ๋ณด๋Š”๊ฒƒ๋„ ์ข‹๋‹ค๊ณ  ์ƒ๊ฐํ•ด์š”!
์ฃผ๋ฌธ ์ƒํƒœ ํ๋ฆ„์ด๋ผ๋Š” ๊ฒƒ์€ ์šฉ์–ด๋กœ์จ ์กด์žฌํ•˜๊ธฐ๋ณด๋‹ค ์ฃผ๋ฌธ ์ƒํƒœ์— ๋Œ€ํ•œ ์„ค๋ช…์˜ ์ผ๋ถ€๋กœ ๋ณด์—ฌ์„œ์š” ๐Ÿ˜ƒ

Suggested change
| ์ฃผ๋ฌธ ์ƒํƒœ | Order Status | ์ฃผ๋ฌธ์˜ ์ƒํƒœ๋ฅผ ๋‚˜ํƒ€๋‚ธ๋‹ค. |
| ์ฃผ๋ฌธ ์ƒํƒœ ํ๋ฆ„ | WAITING, ACCEPTED, SERVED, COMPLETED | ์ฃผ๋ฌธ์˜ ์ƒํƒœ ํ๋ฆ„ |
| ์ฃผ๋ฌธ ์ƒํƒœ | Order Status | ๋งค์žฅ ์ฃผ๋ฌธ์˜ ์ƒํƒœ๋ฅผ ๋‚˜ํƒ€๋‚ธ๋‹ค. ์ ‘์ˆ˜ ๋Œ€๊ธฐ์ค‘ -> ์ ‘์ˆ˜ ์™„๋ฃŒ -> ์„œ๋น™ ์™„๋ฃŒ -> ์ฃผ๋ฌธ ์™„๋ฃŒ ์ˆœ์„œ๋กœ ์ง„ํ–‰๋œ๋‹ค |

- `Order`๋Š” ์ ‘์ˆ˜ ๋Œ€๊ธฐ์ค‘ โžœ ์ ‘์ˆ˜ ์™„๋ฃŒ โžœ ์„œ๋น™ ์™„๋ฃŒ โžœ ์ฃผ๋ฌธ ์™„๋ฃŒ ์ˆœ์„œ๋กœ ์ง„ํ–‰ํ•œ๋‹ค.

#### ๊ธฐ๋Šฅ
- `Order Table `์˜ ์ถ”๊ฐ€ `Order`๋Š” `Order Table`์— ์Œ“์ด๋ฉฐ ๋ชจ๋“  `Order`๊ฐ€ ์™„๋ฃŒ๋˜๋ฉด `Not Occupied`์ด ๋œ๋‹ค.
Copy link

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์ด๋ฉฐ ๋ณ€๊ฒฝํ•  ์ˆ˜ ์—†๋‹ค.
Copy link

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`๊ฐ€ ์ƒ์„ฑํ•œ๋‹ค.
Copy link

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`๊ฐ€ ์ƒ์„ฑํ•œ๋‹ค.
Copy link

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 ์™€ ์ผ์น˜ํ•ด์•ผํ•œ๋‹ค.

Comment on lines +205 to +207
#### ๊ธฐ๋Šฅ
- `Menu`๊ฐ€ `Menu Displayed`์ด๋ฉฐ ๋ฉ”๋‰ด ๊ฐ€๊ฒฉ๊ณผ ์ผ์น˜ํ•˜๋ฉด `Order`๊ฐ€ ์ƒ์„ฑ๋œ๋‹ค.
- `Order`๊ฐ€ ์ ‘์ˆ˜๋˜๋ฉด `Delivery Agent`๊ฐ€ ํ˜ธ์ถœ๋œ๋‹ค.
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

์ฃผ๋ฌธ ์ „์ฒด์ ์œผ๋กœ ๊ธฐ๋Šฅ์— ๋Œ€ํ•œ ๋ชจ๋ธ๋ง์ด ๋ถ€์‹คํ•œ ๊ฒƒ ๊ฐ™์•„์š”!
์ง„์šฐ๋‹˜์ด ํŒŒ์•…ํ•œ ์š”๊ตฌ์‚ฌํ•ญ์„ ๋– ์˜ฌ๋ฆฌ๋ฉด์„œ ์šฉ์–ด์‚ฌ์ „๊ณผ ํ•จ๊ป˜ ์ž˜ ์ •๋ฆฌํ•ด๋ณด์‹œ๋Š”๊ฒƒ๋„ ์ข‹์„ ๊ฒƒ ๊ฐ™์•„์š” ๐Ÿ™

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants