diff --git a/main/src/main/java/org/sopt/makers/crew/main/entity/meeting/enums/MeetingCategory.java b/main/src/main/java/org/sopt/makers/crew/main/entity/meeting/enums/MeetingCategory.java index c81c8f65..8bdf0522 100644 --- a/main/src/main/java/org/sopt/makers/crew/main/entity/meeting/enums/MeetingCategory.java +++ b/main/src/main/java/org/sopt/makers/crew/main/entity/meeting/enums/MeetingCategory.java @@ -1,28 +1,29 @@ package org.sopt.makers.crew.main.entity.meeting.enums; import java.util.Arrays; + import org.sopt.makers.crew.main.global.exception.BadRequestException; public enum MeetingCategory { - STUDY("스터디"), - LECTURE("강연"), - LIGHTNING("번개"), - EVENT("행사"), - SEMINAR("세미나"); + STUDY("스터디"), + LECTURE("강연"), + LIGHTNING("번쩍"), + EVENT("행사"), + SEMINAR("세미나"); - private final String value; + private final String value; - MeetingCategory(String value) { - this.value = value; - } + MeetingCategory(String value) { + this.value = value; + } - public static MeetingCategory ofValue(String dbData) { - return Arrays.stream(MeetingCategory.values()).filter(v -> v.getValue().equals(dbData)) - .findFirst().orElseThrow(() -> new BadRequestException( - String.format("MeetingCategory 클래스에 value = [%s] 값을 가진 enum 객체가 없습니다.", dbData))); - } + public static MeetingCategory ofValue(String dbData) { + return Arrays.stream(MeetingCategory.values()).filter(v -> v.getValue().equals(dbData)) + .findFirst().orElseThrow(() -> new BadRequestException( + String.format("MeetingCategory 클래스에 value = [%s] 값을 가진 enum 객체가 없습니다.", dbData))); + } - public String getValue() { - return value; - } + public String getValue() { + return value; + } } \ No newline at end of file diff --git a/main/src/main/java/org/sopt/makers/crew/main/entity/user/enums/UserPart.java b/main/src/main/java/org/sopt/makers/crew/main/entity/user/enums/UserPart.java index 6ffa4c33..27a4868f 100644 --- a/main/src/main/java/org/sopt/makers/crew/main/entity/user/enums/UserPart.java +++ b/main/src/main/java/org/sopt/makers/crew/main/entity/user/enums/UserPart.java @@ -30,9 +30,7 @@ public enum UserPart { GENERAL_AFFAIRS("총무"), OPERATION_LEADER("운영 팀장"), MEDIA_LEADER("미디어 팀장"), - MAKERS_LEADER("메이커스 팀장"), - // 메이커스 리드는 임시조치 입니다. 플그와의 싱크 맞춘 후에는 삭제 필요 - MAKERS_LEADER_TEMP("메이커스 리드"); + MAKERS_LEADER("메이커스 팀장"); private final String value;