package com.bonus.canteen.core.common.enums;

public enum AgreeMentEnum {
   HTTP(1, "HTTP协议"),
   MQTT(2, "MQTT协议");

   private final Integer key;
   private final String desc;

   private AgreeMentEnum(Integer key, String desc) {
      this.key = key;
      this.desc = desc;
   }

   public Integer getKey() {
      return this.key;
   }

   public String getDesc() {
      return this.desc;
   }

   // $FF: synthetic method
   private static AgreeMentEnum[] $values() {
      return new AgreeMentEnum[]{HTTP, MQTT};
   }
}
