Skip to content

[feat] managementRole ACTIVE_MENTOR, OB_MENTOR 구분 #201

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 3 commits into
base: main
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
package ceos.backend.domain.management.domain;


import com.fasterxml.jackson.annotation.JsonCreator;
import com.fasterxml.jackson.annotation.JsonValue;
import java.util.stream.Stream;
Expand All @@ -15,7 +14,9 @@ public enum ManagementRole {
GENERAL_AFFAIRS("총무"),
PART_LEADER("파트장"),
MANAGEMENT("운영진"),
MENTOR("멘토");
MENTOR("멘토"),
ACTIVE_MENTOR("active 멘토"),
OB_MENTOR("OB 멘토");

@JsonValue private final String managementRole;

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ public class ManagementVo {
@NotEmpty(message = "임원진 이름을 입력해주세요")
private String name;

@Schema(defaultValue = "회장단", description = "임원진 역할(회장단/고문/총무/파트장/운영진/멘토)")
@Schema(defaultValue = "회장단", description = "임원진 역할(회장단/고문/총무/파트장/운영진/active멘토/ob멘토)")
@ValidEnum(target = ManagementRole.class)
private ManagementRole role;

Expand Down