package com.yuanchu.limslaboratory.enums; /** * @Author 张宾 * @Date 2023/8/30 */ public enum InterfaceType { /** * 接口类型 */ SELECT("select",0), ADD("add",1), UPDATE("update",2), DELETE("delete",3), NUll(); private String type; private Integer num; public String getType() { return type; } InterfaceType() { } public void setType(String type) { this.type = type; } public Integer getNum() { return this.num; } public void setNum(Integer num) { this.num = num; } InterfaceType(String type, Integer num) { this.type = type; this.num = num; } }