package com.bonus.canteen.core.supply.constant;

public enum DrpOrderGoodsStatusEnum {
   WAIT_COMMIT(1, "待提交"),
   IS_COMMIT(2, "已提交");

   private final Integer key;
   private final String value;

   private DrpOrderGoodsStatusEnum(Integer key, String value) {
      this.key = key;
      this.value = value;
   }

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

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

      return null;
   }

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

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

   // $FF: synthetic method
   private static DrpOrderGoodsStatusEnum[] $values() {
      return new DrpOrderGoodsStatusEnum[]{WAIT_COMMIT, IS_COMMIT};
   }
}
