package com.vincent.rsf.server.manager.enums; public enum WaveRuleType { Efficiency_First("1","效率优先"), First_In_First_Out("2","先进先出") ; public Integer type; public String desc; WaveRuleType(String type, String desc) { this.type = Integer.parseInt(type); this.desc = desc; } }