package com.bonus.core.marketing.v2.constants;


import com.bonus.core.marketing.util.ICommonEnum;

public enum MarketDeviceTreeEnum implements ICommonEnum {
   MERCHANT(-1, "商户", "merchant"),
   AREA(0, "区域", "area"),
   CANTEEN(1, "食堂", "canteen"),
   STALL(2, "档口", "stall"),
   SUPERMARKET(3, "超市", "supermarket"),
   DEVICE(50, "设备", "device"),
   MOBILE(100, "移动端", "mobile_device"),
   OFFLINE_SUPERMARKET(150, "线下超市", "offline_supermarket"),
   ONLINE_SUPERMARKET(151, "线上超市", "online_supermarket"),
   BUFFET(200, "自助餐", "buffet"),
   BUFFET_CODE(201, "扫码绑盘", "buffet_code"),
   BUS(250, "班车", "bus"),
   BUS_LINE(251, "班车线路", "bus_line");

   private final Integer key;
   private final String value;
   private final String desc;

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

   @Override
   public String getValue() {
      return this.value;
   }

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

   private MarketDeviceTreeEnum(final Integer key, final String value, final String desc) {
      this.key = key;
      this.value = value;
      this.desc = desc;
   }

   // $FF: synthetic method
   private static MarketDeviceTreeEnum[] $values() {
      return new MarketDeviceTreeEnum[]{MERCHANT, AREA, CANTEEN, STALL, SUPERMARKET, DEVICE, MOBILE, OFFLINE_SUPERMARKET, ONLINE_SUPERMARKET, BUFFET, BUFFET_CODE, BUS, BUS_LINE};
   }
}
