package com.bonus.canteen.core.common.export.constant;

public enum ExportTaskWaitPolicy {
   JOIN(1, "加入等待"),
   DROP(2, "放弃等待");

   private final Integer key;
   private final String desc;

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

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

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

   // $FF: synthetic method
   private static ExportTaskWaitPolicy[] $values() {
      return new ExportTaskWaitPolicy[]{JOIN, DROP};
   }
}
