ys.artifact-network.1.0.0.source-code.enum.btl Maven / Gradle / Ivy
package ${packageName}.structs;
/**
* ${enum.remark}
*/
public enum ${enum.enumName}{
<%for(field in enum.fields){%>
/** ${field.value.remark} */
<%if(!fieldLP.last){%>
${field.key}(${field.value.name}),
<%}else{%>
${field.key}(${field.value.name});
<%}%>
<%}%>
private int code;
private ${enum.enumName}(int code) {
this.code = code;
}
public int getCode() {
return code;
}
}