-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* ๐ Hotfix: ๋๊ธ ์์ request dto ์ถ๊ฐ (#149) * Hotfix : ๋๊ธ ์ญ์ ์ ๊ฒ์๋ฌผ์ ๋๊ธ ์ ์ฐจ๊ฐ ๋ก์ง ์์ (#151) * ๐ Hotfix: ๋๊ธ ์์ request dto ์ถ๊ฐ * ๐ Hotfix: ๋๊ธ ์ญ์ ์ ๊ฒ์๋ฌผ์ ๋๊ธ ์ ์ฐจ๊ฐ ๋ก์ง ์์ * Feat: ํ๋กํ ์ด๋ชจ์ง ์ค์ ๋ก์ง ๊ตฌํ (#153) * ๐๏ธ profile ์์ฑ์ Enum value ProfileEmoji ์์ฑ * ๐๏ธ profile ์์ฑ ProfileEmoji ์ค์ * โจ Feat: ํ์ ๊ฐ์ ๋ฐ ์ ๋ณด ์์ ์ ํ๋กํ ์ด๋ชจ์ง ์ค์ ๋ก์ง ์ถ๊ฐ
- Loading branch information
Showing
8 changed files
with
70 additions
and
19 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
34 changes: 34 additions & 0 deletions
34
src/main/java/com/codez4/meetfolio/domain/enums/ProfileEmoji.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,34 @@ | ||
package com.codez4.meetfolio.domain.enums; | ||
|
||
import com.fasterxml.jackson.annotation.JsonCreator; | ||
import lombok.Getter; | ||
import lombok.RequiredArgsConstructor; | ||
|
||
@Getter | ||
@RequiredArgsConstructor | ||
public enum ProfileEmoji { | ||
BACKEND, | ||
WEB, | ||
APP, | ||
DESIGN, | ||
AI, | ||
TOOL, | ||
MAN, | ||
WOMAN, | ||
MOUSE, | ||
KEYBOARD, | ||
FIRE, | ||
SPARKLE; | ||
|
||
@JsonCreator | ||
public static ProfileEmoji convert(String source) | ||
{ | ||
for (ProfileEmoji profileEmoji : ProfileEmoji.values()) { | ||
if (profileEmoji.name().equals(source)) { | ||
return profileEmoji; | ||
} | ||
} | ||
return null; | ||
} | ||
} | ||
|
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
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