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단계 - λͺ¨λΈλ§ ν•˜κΈ° #488

Open
wants to merge 2 commits into
base: seovalue
Choose a base branch
from

Conversation

seovalue
Copy link

μž˜λΆ€νƒλ“œλ €μš”!

@HackSung
Copy link

λ―Όμ •λ‹˜μ΄ μƒκ°ν•˜μ‹œκ³  κ³„μ‹œλŠ” λͺ¨λΈλ§μ΄λž€ 무엇인지 생각을 λ‚˜λˆ μ£Όμ‹€ 수 μžˆμ„κΉŒμš”? πŸ˜„
λͺ¨λΈλ§μ— 정닡은 μ—†μ§€λ§Œ 제 생각을 λ¨Όμ € λ§μ”€λ“œλ¦¬μžλ©΄
μ •μ˜λœ μš”κ΅¬μ‚¬ν•­κ³Ό μš©μ–΄λ₯Ό 기반으둜 ν•„μš”ν•œ 도메인 객체의 속성과 μƒνƒœλ₯Ό ꡬ성해 보고
객체 κ°„μ˜ 관계와 행동을 μ •μ˜ν•΄ λ³΄λŠ” μž‘μ—…μ΄λΌ μƒκ°ν•©λ‹ˆλ‹€.
더 λ‹¨μˆœν•˜κ²Œ ν‘œν˜„ν•˜μžλ©΄ λΉ„μ¦ˆλ‹ˆμŠ€ μš”κ΅¬μ‚¬ν•­μ„ μ†Œν”„νŠΈμ›¨μ–΄λ‘œ κ΅¬ν˜„ν•˜κΈ° μœ„ν•œ 좔상화 및 ꡬ체화 κ³Όμ • κ°™μ•„μš”.

Copy link

@HackSung HackSung left a comment

Choose a reason for hiding this comment

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

μ•ˆλ…•ν•˜μ„Έμš” λ―Όμ •λ‹˜,
λͺ¨λΈλ§ ν•˜κΈ°κ°€ μ²˜μŒμ—λŠ” μ•½κ°„ 막막할 수 μžˆλŠ”λ° 잘 μ‹œμž‘ν•΄ μ£Όμ‹  것 κ°™μ•„μš”. πŸ‘
같이 κ³ λ―Όν•΄ λ³Ό λ§Œν•œ 뢀뢄에 μ½”λ©˜νŠΈλ₯Ό λ“œλ ΈμœΌλ‹ˆ ν™•μΈλΆ€νƒλ“œλ €μš”~ πŸ™

@@ -149,3 +149,41 @@ docker compose -p kitchenpos up -d
| μ†λ‹˜ 수 | Guest Count | ν…Œμ΄λΈ”μ— μ°©μ„ν•œ μ†λ‹˜μ˜ 수 |

## λͺ¨λΈλ§

Choose a reason for hiding this comment

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

λ―Όμ •λ‹˜κ»˜μ„œ μž‘μ„±ν•΄μ£Όμ‹  λͺ¨λΈλ§μ„ μ‚΄νŽ΄λ³΄λ©΄ 주둜 λ„λ©”μΈμ˜ 속성(μƒνƒœ) μœ„μ£Όλ‘œ λ˜μ–΄ μžˆλŠ” 것 κ°™μ•„μš”.
μ €λŠ” 여기에 μ»¨ν…μŠ€νŠΈλ³„λ‘œ ν•„μš”ν•œ μ •μ±…(μ œμ•½μ‚¬ν•­)κ³Ό ν–‰μœ„(κΈ°λŠ₯)도 λͺ…μ‹œκ°€ 되면 λ”μš± 쒋을 것 κ°™λ‹€κ³  μƒκ°ν•©λ‹ˆλ‹€.
각 λ„λ©”μΈλ³„λ‘œ 속성(μƒνƒœ), ν–‰μœ„(κΈ°λŠ₯), μ •μ±…(μ œμ•½μ‚¬ν•­)으둜 μΉ΄ν…Œκ³ λ¦¬λ₯Ό λ‚˜λˆ μ„œ μž‘μ„±ν•˜λ©΄ ν•œ λˆˆμ— νŒŒμ•…ν•˜κΈ°μ—λ„ μ’‹κ΅¬μš”.

Choose a reason for hiding this comment

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

μš”κ΅¬μ‚¬ν•­μ— λͺ…μ‹œλœ μ œμ•½μ‚¬ν•­μ΄ λͺ¨λΈλ§μ—μ„œλŠ” λΉ μ Έ μžˆλŠ” 게 λ³΄μ΄λ„€μš”. 예)가격, μˆ˜λŸ‰, 메뉴 μˆ¨κΉ€μ— λŒ€ν•œ μ œμ•½ 사항듀
λͺ¨λΈλ§ μ „μ²΄μ μœΌλ‘œ 점검 ν•œλ²ˆ λΆ€νƒλ“œλ¦΄κ»˜μš”.
λͺ¨λΈλ§μ„ 보고 μ½”λ“œλ₯Ό μž‘μ„±ν•  λ•Œ ν•„μš”ν•œ 정보라고 μƒκ°λ˜κ±°λ“ μš”.

Comment on lines +167 to +168
- `Order`λŠ” μ‹λ³„μžμ™€ μ£Όλ¬Έ μœ ν˜•, μ£Όλ¬Έ μƒνƒœλ₯Ό 가진닀.
- `Order`λŠ” μ—¬λŸ¬ 개의 `OrderItem`을 가진닀.

Choose a reason for hiding this comment

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

μ£Όλ¬Έ μΌμ‹œλŠ” ν•„μš” μ—†μ„κΉŒμš”?

- `DeliveryOrder`λŠ” 배달 μ£Όμ†Œ 정보λ₯Ό μΆ”κ°€λ‘œ 가진닀.
- `DeliveryOrder`λŠ” 배달 λŒ€ν–‰μ‚¬λ₯Ό ν˜ΈμΆœν•œλ‹€.
- `DeliveryOrders`λŠ” μ ‘μˆ˜ λŒ€κΈ° > μ ‘μˆ˜ > μ„œλΉ™ > 배달 쀑 > 배달 μ™„λ£Œ > μ™„λ£Œ 순으둜 μ§„ν–‰λœλ‹€.
- `TakeoutOrder`λŠ” 포μž₯ μ£Όλ¬Έ 정보λ₯Ό μΆ”κ°€λ‘œ 가진닀.

Choose a reason for hiding this comment

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

μΆ”κ°€λ‘œ κ°€μ Έμ•Όν•˜λŠ” 포μž₯ μ£Όλ¬Έ 정보가 μ–΄λ–€κ±΄κ°€μš”? πŸ€”

- `DeliveryOrders`λŠ” μ ‘μˆ˜ λŒ€κΈ° > μ ‘μˆ˜ > μ„œλΉ™ > 배달 쀑 > 배달 μ™„λ£Œ > μ™„λ£Œ 순으둜 μ§„ν–‰λœλ‹€.
- `TakeoutOrder`λŠ” 포μž₯ μ£Όλ¬Έ 정보λ₯Ό μΆ”κ°€λ‘œ 가진닀.
- `TakeoutOrders`λŠ” μ ‘μˆ˜ λŒ€κΈ° > μ ‘μˆ˜ > μ„œλΉ™ > μ™„λ£Œ 순으둜 μ§„ν–‰λœλ‹€.
- `EatInOrder`λŠ” 맀μž₯ μ£Όλ¬Έ 정보λ₯Ό μΆ”κ°€λ‘œ 가진닀.

Choose a reason for hiding this comment

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

EatainOrderκ°€ μΆ”κ°€λ‘œ κ°€μ Έμ•Όν•  맀μž₯ μ£Όλ¬Έ μ •λ³΄λŠ” 무엇인지 ꡬ체적으둜 λͺ…μ‹œν•˜λŠ” 건 μ–΄λ–¨κΉŒμš”?


### ν…Œμ΄λΈ” 관리
- `OrderTable`은 μ‹λ³„μžμ™€ 이름, ν…Œμ΄λΈ” μƒνƒœλ₯Ό 가진닀.
- `OrderTable`은 μ†λ‹˜ 수λ₯Ό 가진닀.

Choose a reason for hiding this comment

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

μ†λ‹˜μˆ˜λ„ μš©μ–΄μ‚¬μ „μ— μ •μ˜λ˜μ–΄ μžˆλŠ”λ° 일관성 μΈ‘λ©΄μ—μ„œ μš©μ–΄μ‚¬μ „μ˜ 영문λͺ…을 μ‚¬μš©ν•˜λŠ” 건 μ–΄λ–€κ°€μš”?

- `Product`λŠ” μ‹λ³„μžμ™€ 이름, 가격을 가진닀.
- `Product`λŠ” μ—¬λŸ¬ 개의 `Menu`에 속할 수 μžˆλ‹€.
- `Product`λŠ” μ—¬λŸ¬ 개의 `OrderItem`에 속할 수 μžˆλ‹€.
- `Menu`λŠ” μ‹λ³„μžμ™€ 이름, 가격, μƒνƒœλ₯Ό 가진닀.

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