Skip to content

Commit 082ffd7

Browse files
committed
refactor : Enum 변경 (Difficulty + 해당 난이도 점수정보 포함)
1 parent 4dfea14 commit 082ffd7

File tree

1 file changed

+7
-5
lines changed
  • src/main/java/org/ezcode/codetest/domain/problem/model/enums

1 file changed

+7
-5
lines changed

src/main/java/org/ezcode/codetest/domain/problem/model/enums/Difficulty.java

Lines changed: 7 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -9,11 +9,13 @@
99

1010
@Getter
1111
public enum Difficulty {
12-
BRONZE("브론즈", 20),
13-
SILVER("실버", 40),
14-
GOLD("골드", 60),
15-
PLATINUM("플래티넘", 80),
16-
DIAMOND("다이아", 100);
12+
LV1("1", 10),
13+
LV2("2", 20),
14+
LV3("3", 40),
15+
LV4("4", 80),
16+
LV5("5", 160),
17+
LV6("6", 320),
18+
LV7("7",640);
1719

1820
private final String difficulty;
1921

0 commit comments

Comments
 (0)