package com.whyc.config; public enum EnumWorksheetType { ProductBom(1,"产品Bom"), Material(2,"散装件"), MaterialProduct(3,"散装件-产品"), ProductSoftware(4,"产品软件"), //追加流程卡,SOP ProductProcedure(11,"产品流程卡"), SOP(12,"标准操作指导书"); EnumWorksheetType(Integer type, String typeName) { this.type = type; this.typeName = typeName; } private Integer type; private String typeName; public Integer getType() { return type; } public void setType(Integer type) { this.type = type; } public String getTypeName() { return typeName; } public void setTypeName(String typeName) { this.typeName = typeName; } }