public enum IsNotEnum {
IS(1, "是")
, NOT(0, "否");
private int code;
private String name;
IsNotEnum(Integer code, String name) {
this.code = code;
this.name = name;
}
public int getCode() {
return code;
}
public void setCode(int code) {
this.code = code;
}
public String getName() {
return name;
}
public void setName(String name) {
this.name = name;
}
}