package com.bonus.core.account.v3.constants;

public enum AccSubClearOpSourceEnum {
   CLEAR_MANUAL(1, "web手动清空"),
   CLEAR_BATCH(2, "web批量清空"),
   CLEAR_RULE(3, "补贴定时规则"),
   CANCEL_CLEAR(4, "注销清空"),
   CLEAR_OPEN(5, "OpenApi"),
   CLEAR_EXPIRED(6, "过期清空");

   private final Integer key;
   private final String desc;

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

   public static String getDesc(Integer key) {
      AccSubClearOpSourceEnum[] var1 = values();
      int var2 = var1.length;

      for(int var3 = 0; var3 < var2; ++var3) {
         AccSubClearOpSourceEnum temp = var1[var3];
         if (temp.getKey().equals(key)) {
            return temp.getDesc();
         }
      }

      return "";
   }

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

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

   // $FF: synthetic method
   private static AccSubClearOpSourceEnum[] $values() {
      return new AccSubClearOpSourceEnum[]{CLEAR_MANUAL, CLEAR_BATCH, CLEAR_RULE, CANCEL_CLEAR, CLEAR_OPEN, CLEAR_EXPIRED};
   }
}
