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

public enum AccExceptionRecordStatusEnum {
   PENDING(1, "待处理"),
   FIRST_SUCC(2, "首次成功"),
   FAIL(3, "失败"),
   SECOND_SUCC(4, "二次成功");

   private final Integer key;
   private final String desc;

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

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

      for(int var3 = 0; var3 < var2; ++var3) {
         AccExceptionRecordStatusEnum 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 AccExceptionRecordStatusEnum[] $values() {
      return new AccExceptionRecordStatusEnum[]{PENDING, FIRST_SUCC, FAIL, SECOND_SUCC};
   }
}
