RULE.php 472 B

123456789101112131415161718192021222324252627282930313233343536373839404142434445
  1. <?php
  2. namespace App\Module\Ulogic\Enum;
  3. use UCore\Enum\EnumCore;
  4. use UCore\Enum\EnumToInt;
  5. enum RULE: int
  6. {
  7. use EnumToInt,EnumCore;
  8. /**
  9. * 普通用户
  10. */
  11. case ROLE_USER = 1;
  12. //merchant
  13. /**
  14. * 服务商
  15. */
  16. case ROLE_MERCHANT = 20;
  17. /**
  18. * 会长
  19. */
  20. case ROLE_UNION = 30;
  21. /**
  22. * 服务商2
  23. */
  24. case ROLE_MERCHANT2 = 40;
  25. /**
  26. * 官方人员
  27. */
  28. const ROLE_MANAGER = 99;
  29. }