-
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
π 3λ¨κ³ - κΈ°λ₯ μ°μ ν¨ν€μ§ ꡬμ±νκΈ° #433
base: deepredk
Are you sure you want to change the base?
Changes from all commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,4 @@ | ||
package kitchenpos.domain; | ||
package kitchenpos.legacy.domain; | ||
|
||
public enum OrderType { | ||
DELIVERY, TAKEOUT, EAT_IN | ||
|
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,4 @@ | ||
package kitchenpos.domain; | ||
package kitchenpos.menu.domain; | ||
|
||
import java.util.List; | ||
import java.util.Optional; | ||
|
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,4 @@ | ||
package kitchenpos.domain; | ||
package kitchenpos.menu.domain; | ||
|
||
import java.util.List; | ||
import java.util.Optional; | ||
|
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
package kitchenpos.order.common.domain; | ||
|
||
import java.util.List; | ||
|
||
public abstract class Order { | ||
|
||
protected List<OrderLineItem> orderLineItems; | ||
} |
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
package kitchenpos.order.common.domain; | ||
|
||
public class OrderLineItem { | ||
} |
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
package kitchenpos.order.delivery_order.application; | ||
|
||
public class DeliveryOrderService { | ||
} |
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
package kitchenpos.order.delivery_order.domain; | ||
|
||
import kitchenpos.order.common.domain.Order; | ||
|
||
public class DeliveryOrder extends Order { | ||
} | ||
Comment on lines
+1
to
+6
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. μμμ μ΄μ©ν΄μ£Όμ ¨κ΅°μ! |
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
package kitchenpos.order.delivery_order.domain; | ||
|
||
public interface DeliveryOrderRepository { | ||
} |
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
package kitchenpos.order.delivery_order.domain; | ||
|
||
public enum DeliveryOrderStatus { | ||
WAITING, ACCEPTED, SERVED, DELIVERING, DELIVERED, COMPLETED | ||
} |
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,4 @@ | ||
package kitchenpos.domain; | ||
package kitchenpos.order.delivery_order.domain; | ||
|
||
import java.util.List; | ||
import java.util.Optional; | ||
Comment on lines
+1
to
4
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. μ£Όλ¬Έ ν μ΄λΈμ΄ λ°°λ¬μ£Όλ¬Έμ ν¬ν¨?! π± |
||
|
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,4 @@ | ||
package kitchenpos.infra; | ||
package kitchenpos.order.delivery_order.infra; | ||
|
||
import org.springframework.stereotype.Component; | ||
|
||
Comment on lines
+1
to
4
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. λ°°λ¬ κ΅¬νμ²΄κ° μΈλΆ νλ‘κ·Έλ¨(ν΄λΌμ΄μΈνΈ)μμ μ°λ¦¬ λΉμ¦λμ€μμ κΌ μμμΌν κΉμ? π€ |
||
|
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
package kitchenpos.order.delivery_order.ui; | ||
|
||
public class DeliveryOrderRestController { | ||
} |
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
package kitchenpos.order.eat_in_order.application; | ||
|
||
public class EatInOrderService { | ||
} |
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,9 +1,9 @@ | ||
package kitchenpos.application; | ||
package kitchenpos.order.eat_in_order.application; | ||
|
||
import kitchenpos.domain.OrderRepository; | ||
import kitchenpos.domain.OrderStatus; | ||
import kitchenpos.domain.OrderTable; | ||
import kitchenpos.domain.OrderTableRepository; | ||
import kitchenpos.legacy.domain.OrderRepository; | ||
import kitchenpos.legacy.domain.OrderStatus; | ||
import kitchenpos.order.delivery_order.domain.OrderTable; | ||
import kitchenpos.order.delivery_order.domain.OrderTableRepository; | ||
import org.springframework.stereotype.Service; | ||
Comment on lines
+1
to
7
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. 맀μ₯μ£Όλ¬Έμ λ κ±°μμ λ°°λ¬μ£Όλ¬Έμ΄ λ€μμ¬ μλ κ² κ°μμ π± |
||
import org.springframework.transaction.annotation.Transactional; | ||
|
||
|
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
package kitchenpos.order.eat_in_order.domain; | ||
|
||
import kitchenpos.order.common.domain.Order; | ||
|
||
public class EatInOrder extends Order { | ||
} |
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
package kitchenpos.order.eat_in_order.domain; | ||
|
||
public interface EatInOrderRepository { | ||
} |
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
package kitchenpos.order.eat_in_order.domain; | ||
|
||
public enum EatInOrderStatus { | ||
WAITING, ACCEPTED, SERVED, COMPLETED | ||
} |
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
package kitchenpos.order.eat_in_order.ui; | ||
|
||
public class EatInOrderRestController { | ||
} |
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
package kitchenpos.order.take_out_order.application; | ||
|
||
public class TakeOutOrderService { | ||
} |
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
package kitchenpos.order.take_out_order.domain; | ||
|
||
import kitchenpos.order.common.domain.Order; | ||
|
||
public class TakeOutOrder extends Order { | ||
} |
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
package kitchenpos.order.take_out_order.domain; | ||
|
||
public interface TakeOutOrderRepository { | ||
} |
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
package kitchenpos.order.take_out_order.domain; | ||
|
||
public enum TakeOutOrderStatus { | ||
WAITING, ACCEPTED, SERVED, COMPLETED | ||
} |
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
package kitchenpos.order.take_out_order.ui; | ||
|
||
public class TakeOutOrderRestController { | ||
} |
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,11 +1,11 @@ | ||
package kitchenpos.application; | ||
package kitchenpos.product.application; | ||
|
||
import kitchenpos.domain.Menu; | ||
import kitchenpos.domain.MenuProduct; | ||
import kitchenpos.domain.MenuRepository; | ||
import kitchenpos.domain.Product; | ||
import kitchenpos.domain.ProductRepository; | ||
import kitchenpos.infra.PurgomalumClient; | ||
import kitchenpos.menu.domain.Menu; | ||
import kitchenpos.menu.domain.MenuProduct; | ||
import kitchenpos.menu.domain.MenuRepository; | ||
import kitchenpos.product.domain.Product; | ||
import kitchenpos.product.domain.ProductRepository; | ||
import kitchenpos.common.infra.PurgomalumClient; | ||
Comment on lines
+1
to
+8
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. νμ¬ product ν¨ν€μ§μμ menu ν¨ν€μ§μ λν μμ‘΄μ΄ μ§νλκ³ μλλ°μ, μ΄λ₯Ό μμ¨λ§ν λ°©λ²μ 무μμ΄ μμκΉμ? |
||
import org.springframework.stereotype.Service; | ||
import org.springframework.transaction.annotation.Transactional; | ||
|
||
|
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 λ product μ λν μμ‘΄μ μ΄λμ λ κ°μ§ μ μλ€κ³ μκ°ν΄μ!
λ€λ§ νμ΅μ μν΄μ λΆλ¦¬λ₯Ό μλν΄λ³΄λ κ²λ μ’μ κ² κ°μλ°... μ΄λ€ λ°©λ²μ΄ μμκΉμ? π