public enum TestEnum
{
ENUM1("001" , "ENUM1" , "ooo"),
ENUM2("002" , "ENUM2" , "fff");
private String code;
private String content;
private String other;
private TestEnum(String code, String content, String other) {
this.code = code;
this.content = content;
this.other = other;
}
public String getCode() {
return code;
}
public void setCode(String code) {
this.code = code;
}
public String getContent() {
return content;
}
public void setContent(String content) {
this.content = content;
}
public String getOther() {
return other;
}
public void setOther(String other) {
this.other = other;
}
}