Replies: 2 comments 1 reply
-
|
확실히 문자열이 그냥 노출되는 경우가 많아서 열거체로 처리해야한다는 생각은 있었는데 매번 귀찮아서 미루긴 한거같네요 ㅎㅎ... |
Beta Was this translation helpful? Give feedback.
1 reply
-
|
저도 펀딩상태를 혼자 enum으로 만들기엔 좀 별로일것같아서 일단 문자열로 처리하긴했는데 좋은 생각인것 같습니다!! |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
이번 결제 기능을 구현하면서
String으로 정의되있던 주문 상태, 결제 수단 필드를 모두 열거체화 했습니다. 이렇게 열거체화가 되있지 않은 필드가 아직 남아있는데 맡은 분마다 다르게 열거체를 작성하면 헷갈릴거 같아 아래와 같은 규칙을 정하는건 어떨까요??OrderType.java
description으로 통일Beta Was this translation helpful? Give feedback.
All reactions