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


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

public enum RuleRechargeComputeTypeEnum implements ICommonEnum {
   COMPUTE_TYPE_AMOUNT(1, "金额"),
   COMPUTE_TYPE_RATIO(2, "比例");

   private Integer key;
   private String value;

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

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

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

   // $FF: synthetic method
   private static RuleRechargeComputeTypeEnum[] $values() {
      return new RuleRechargeComputeTypeEnum[]{COMPUTE_TYPE_AMOUNT, COMPUTE_TYPE_RATIO};
   }
}
