Home - mash-up-kr/mahsup-manage-backend GitHub Wiki
ENUM TYPE
ROLE
public enum Role {
MEMBER(1, "λμ리μ"),
TEAM_LEADER(2, "νμ₯"),
VICE_TEAM_LEADER(3, "λΆνμ₯"),
GENERAL_AFFAIRS(4, "μ΄λ¬΄"),
CHIEF(6, "λ¨μ₯"),
VICE_CHIEF(5, "λΆλ¨μ₯");
private int code;
private String description;
Role(int code, String description) {
this.code = code;
this.description = description;
}
public int getCode() {
return this.code;
}
public String getDescription() {
return this.description;
}
}
STATUS
public enum Status {
ACTIVATED(1, "νλ"),
DEACTIVATED(2, "ν΄μ"),
EXITED(3, "νν΄");
private int code;
private String description;
Status(int code, String description) {
this.code = code;
this.description = description;
}
public int getCode() {
return this.code;
}
public String getDescription() {
return this.description;
}
}
TEAM
public enum Team {
BACKEND(1, "μλ²"),
ANDROID(2, "μλλ‘μ΄λ"),
IOS(3, "μμ΄μ€μμ€"),
DESGIGN(4, "λμμΈ");
private int code;
private String description;
Team(int code, String description) {
this.code = code;
this.description = description;
}
public int getCode() {
return this.code;
}
public String getDescription() {
return this.description;
}
}
NOTICE TYPE
public enum NoticeType {
PUBLIC(1, "μ 체"),
TEAM_STUDY(2, "ν μ€ν°λ"),
PROJECT(3, "νλ‘μ νΈ");
private int code;
private String description;
NoticeType(int code, String description) {
this.code = code;
this.description = description;
}
private int getCode() {
return this.code;
}
public String getDescription() {
return description;
}
}