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

OrderCommanRepository에서 saveOrderInAdvance추가 #97

Conversation

daadaadaah
Copy link
Collaborator

@daadaadaah daadaadaah commented Jul 3, 2023

What

스크린샷 2023-07-04 오전 1 21 41

Comment

  • mybatis 코드 때문에 코드양이 좀 되네요😅

/**
* OrderStatus 는 주문 상태를 관리하는 Enum 클래스이다.
* TODO : 일단 생각나는 상태들만 추가하였고, 추후에 확장성을 고려해서 더 다양한 상태를 담을 수 있고, 상태 간의 전환에 대한 예외처리도 생각해볼 예정
*/
public enum OrderStatus {
Copy link

Choose a reason for hiding this comment

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

OrderStatus가 여러가지 상태를 동시에 가져야 할 경우는 없을까요?
(여기서 그렇지 않더라도) 만약 그런 경우라면, 어떤 방식을 사용할 수 있을까요?

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