package com.bonus.canteen.core.customer.constants;


import com.bonus.canteen.core.common.converter.LeExcelFieldConvertor;
import com.bonus.canteen.core.common.converter.LeExcelFieldEnum;

public enum CustOrgAdjustStateEnum implements LeExcelFieldEnum<CustOrgAdjustStateEnum> {
   SUCCESS(1, "成功"),
   FAIL(2, "失败"),
   TO_BE_EXECUTED(3, "待执行");

   private final Integer key;
   private final String desc;

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

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

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

   // $FF: synthetic method
   private static CustOrgAdjustStateEnum[] $values() {
      return new CustOrgAdjustStateEnum[]{SUCCESS, FAIL, TO_BE_EXECUTED};
   }

   public static class ExcelConvertor extends LeExcelFieldConvertor<CustOrgAdjustStateEnum> {
      public ExcelConvertor() {
         super(CustOrgAdjustStateEnum.class);
      }
   }
}
