RoleEnum.php 505 B

12345678910111213141516171819202122
  1. <?php
  2. /*
  3. * This file is part of the Jiannei/lumen-api-starter.
  4. *
  5. * (c) Jiannei <longjian.huang@foxmail.com>
  6. *
  7. * This source file is subject to the MIT license that is bundled
  8. * with this source code in the file LICENSE.
  9. */
  10. namespace App\Repositories\Enums\Base;
  11. use Jiannei\Enum\Laravel\Contracts\LocalizedEnumContract;
  12. use Jiannei\Enum\Laravel\FlaggedEnum;
  13. class RoleEnum extends FlaggedEnum implements LocalizedEnumContract
  14. {
  15. const USER = 2;
  16. const PROJECT = 3;
  17. const ADMIN = 1;
  18. }