package com.bonus.canteen.core.autth.enums;

public enum DataPermissionTypeEnum {
   PERMISSION_ORG(1),
   PERMISSION_CANTEEN(2),
   PERMISSION_STALL(3),
   PERMISSION_CANTEEN_STALL(4),
   PERMISSION_WAREHOUSE(5),
   PERMISSION_SUPERMARKET(6),
   PERMISSION_AREA(7);

   private final Integer key;

   private DataPermissionTypeEnum(Integer key) {
      this.key = key;
   }

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

   // $FF: synthetic method
   private static DataPermissionTypeEnum[] $values() {
      return new DataPermissionTypeEnum[]{PERMISSION_ORG, PERMISSION_CANTEEN, PERMISSION_STALL, PERMISSION_CANTEEN_STALL, PERMISSION_WAREHOUSE, PERMISSION_SUPERMARKET, PERMISSION_AREA};
   }
}
