-
Notifications
You must be signed in to change notification settings - Fork 186
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λ¨κ³ - λͺ¨λΈλ§ νκΈ° #437
base: moonhklee
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.
μλ
νμΈμ λ¬Ένλ!
λͺ¨λΈλ§ λ―Έμ
ꡬννλλΌ κ³ μνμ
¨μ΄μ π
λͺ κ°μ§ μ견 λλκ³ μΆμκ³³μ μ½λ©νΈ λ¨κ²Όμ΄μ :)
λ―Έμ
λκΉμ§ νμ΄ν
μ
λλ€ π€
κΆκΈν μ μμΌλ©΄ νΈνκ² DMμ΄λ μ½λ©νΈ λ¨κ²¨μ£ΌμΈμ!!
|
||
## λͺ¨λΈλ§ | ||
|
||
### μν | ||
|
||
- `Product`λ μλ³μ, `name`, `price`λ₯Ό κ°μ§λ€. |
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 κ° κ°μ§λ μμ±
μ λν΄μ μ ννν΄μ£Όμ
¨κ΅°μ :)
λ€λ₯Έ λͺ¨λΈμ ν΄μ£Όμ κ²μ²λΌ μμ±μ΄ κ°μ§λ νΉμ±(λΆλ³μ)μ ννν΄λ΄λ μ’κ² μ΄μ!
μλ₯Όλ€μ΄ λ€μκ³Ό κ°μ΄μ!
Product
μname
μ 1κΈμ μ΄μμ κ°μ§λ€.
| μ£Όλ¬Έ μ μ λκΈ° | 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.
λͺ¨λΈλ§ μ 체μ μΌλ‘ νμ
λ μ μν΄λ³΄λ©΄ μ’κ² μ΄μ :)
μλ₯Όλ€μ΄ λ€μκ³Ό κ°μ΄ μ μν΄λ³Ό μ μμ΄μ!
Product
λ₯Ό λ±λ‘ν μ μλ€.
Product
μname
μ λΉμμ΄ κ²μ¬λ₯Ό νμ¬ λΉμμ΄κ° μλ€λ©΄ λ±λ‘ν μ μλ€.
- `OrderLineItem`λ κ°κ²©κ³Ό μλμ κ°μ§λ€. | ||
- `OrderLineItem`μ μλμ μμμΌ μ μλ€. | ||
|
||
- `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
λΌλ κ²μ΄ μ νλ³λ‘ μ€λ³΅λλ μ΄λ¦μ΄λΌ
ꡬλΆμ μν΄μ μ νμ νμνλ λ°©λ²λ μμκ²κ°μμ!
맀μ₯ μ£Όλ¬Έ
EatInOrder
λ°°λ¬ μ£Όλ¬Έ
DeliveryOrder
- `OrderLineItem`λ κ°κ²©κ³Ό μλμ κ°μ§λ€. | ||
- `OrderLineItem`μ μλμ μμμΌ μ μλ€. | ||
|
||
- `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.
λͺ¨λΈλ§μ μ£Όλ¬Έ μν λ³κ²½ νλ¦μ νμν΄μ£Όμ μ μ΄ μ’λ€μ!! π π π
|
||
- `MenuGroup`μ μλ³μ, `name`μ κ°μ§λ€. | ||
- `Menu`λ μλ³μ, `name`, `price`, `MenuProducts`λ₯Ό κ°μ§λ€. | ||
- `Menu`λ `MenuGroup`μ μνλ€. |
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.
λ©λ΄ κ·Έλ£Ή, μ£Όλ¬Έ ν
μ΄λΈ
μ λ°λ‘ λͺ¨λΈλ§μ νμ§ μμΌμ μ΄μ λ κΆκΈν΄μ πββοΈ
(λ°μμ λ°λΌλκ²μ μλκ³ μ λ§ μλκ° κΆκΈν΄μ μ§λ¬Έλλ €μ!)
- `OrderLineItem`λ κ°κ²©κ³Ό μλμ κ°μ§λ€. | ||
|
||
- `Order`λ μ£Όλ¬Έ μ μ λκΈ° -> μ£Όλ¬Έ μ μ -> μλΉ μλ£ -> λ°°λ¬ -> λ°°λ¬ μλ£ -> μ£Όλ¬Έ μ’ λ£ μμλ‘ μ§νλλ€. | ||
- `Order`κ° μ μλλ©΄ `DeliveryAgency`κ° νΈμΆλλ€. |
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.
λ°°λ¬ μ£Όλ¬Έμμ μ€μν μ¬νλ μ±κ²¨μ£Όμ ¨κ΅°μ π
|
||
- `OrderTable`μ μλ³μ, `name`, `NumberOfGuests`λ₯Ό κ°μ§λ€. | ||
- `OrderTable`μ΄ λ°λμ μμ΄μΌνλ€. | ||
- `EmptyTable`μ `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.
μ¬μνμ§λ§ λ€μκ³Ό κ°μ΄ νννλκ²μ΄ μ΄ν΄νκΈ°μ μ’λ€κ³ μκ°ν΄μ
(λ€λ₯Έ λΆλΆμ λ¨μλ₯Ό ννν΄μ£Όμ κ²μΌλ‘ 보μ κΉλΉ‘νμ κ² κ°λ€μγ
γ
π€)
- `EmptyTable`μ `NumberOfGuests`κ° 0μ΄κ³ λ³κ²½ λΆκ°λ₯νλ€. | |
- `EmptyTable`μ `NumberOfGuests`κ° 0λͺ μ΄κ³ λ³κ²½ λΆκ°λ₯νλ€. |
λ¦μ§λ§ μλΆνλ립λλ€.