package enumeration; import lombok.Getter; /** * 设备厂商 * * @author:xp * @date:2024/8/26 19:37 */ @Getter public enum DeviceType { HK(0, "海康"), DH(1, "大华"), YS(2, "宇视"), ; private final Integer type; private final String desc; DeviceType(Integer type, String desc) { this.type = type; this.desc = desc; } }