<?php

namespace App\Enum;

interface Role {
  const ROLE_USER         =   'ROLE_USER';
  const ROLE_ADMIN        =   'ROLE_ADMIN';
  const ROLE_SUPER_ADMIN  =   'ROLE_SUPER_ADMIN';
  const ROLE_STORE        =   'ROLE_STORE';
  const ROLE_STORE_ADMIN  =   'ROLE_STORE_ADMIN';
  const ROLE_DELIVERY     =   'ROLE_DELIVERY';

  const ROLES = [
      self::ROLE_USER         => 'User',
      self::ROLE_ADMIN        => 'Admin',
      self::ROLE_SUPER_ADMIN  => 'Super Admin',
      self::ROLE_STORE        => 'Restaurant',
      self::ROLE_STORE_ADMIN  => 'Admin Restaurant',
      self::ROLE_DELIVERY     => 'Delivery',
  ];

  const ROLES_KEY = [
    self::ROLE_USER,
    self::ROLE_ADMIN,
    self::ROLE_SUPER_ADMIN,
    self::ROLE_STORE,
    self::ROLE_STORE_ADMIN,
    self::ROLE_DELIVERY,
  ];
}