forked from codestates-seb/seb45_main_011
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request codestates-seb#348 from NtoZero/dev-be
[BE] β¨ μ€μκ° μ±ν ꡬν
- Loading branch information
Showing
133 changed files
with
7,499 additions
and
280 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Large diffs are not rendered by default.
Oops, something went wrong.
Binary file not shown.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
24 changes: 24 additions & 0 deletions
24
server/src/main/java/com/growstory/domain/account/constants/AccountGrade.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,24 @@ | ||
package com.growstory.domain.account.constants; | ||
|
||
import lombok.Getter; | ||
|
||
// μλ¬ΌμΉ΄λκ°μμ μν λ±κΈ μ λ | ||
// 50κ° λ―Έλ§ - λΈλ‘ μ¦ κ°λλ | ||
// 50κ° μ΄μ - μ€λ² κ°λλ | ||
// 100κ° μ΄μ - 골λ κ°λλ | ||
public enum AccountGrade { | ||
GRADE_BRONZE(1, "λΈλ‘ μ¦ κ°λλ"), | ||
GRADE_SILVER(2, "μ€λ² κ°λλ"), | ||
GRADE_GOLD(3, "골λ κ°λλ"); | ||
|
||
@Getter | ||
private int stepNumber; | ||
|
||
@Getter | ||
private String stepDescription; | ||
|
||
AccountGrade(int stepNumber, String stepDescription) { | ||
this.stepNumber = stepNumber; | ||
this.stepDescription = stepDescription; | ||
} | ||
} |
22 changes: 22 additions & 0 deletions
22
server/src/main/java/com/growstory/domain/account/constants/Status.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,22 @@ | ||
package com.growstory.domain.account.constants; | ||
|
||
import lombok.Getter; | ||
|
||
public enum Status { | ||
ADMIN(1, "ADMIN"), | ||
USER(2, "USER"), | ||
SOCIAL_USER(3, "SOCIAL_USER"), | ||
BANNED_USER(4, "BANNED_USER"), | ||
GUEST_USER(5, "GUEST_USER"); | ||
|
||
@Getter | ||
private int stepNumber; | ||
|
||
@Getter | ||
private String stepDescription; | ||
|
||
Status(int stepNumber, String stepDescription) { | ||
this.stepNumber = stepNumber; | ||
this.stepDescription = stepDescription; | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.