海南旅游SAAS
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

38 lines
604 B

4 years ago
4 years ago
4 years ago
4 years ago
4 years ago
4 years ago
4 years ago
  1. <?php
  2. namespace App\Common;
  3. /**
  4. * 代理商类型常量
  5. * Class AgentType
  6. * @package App\Common
  7. */
  8. class AgentType
  9. {
  10. /** @var int 组团版旅行社 */
  11. const OPERATOR = 1;
  12. /** @var int 供应商旅行社 */
  13. const SUPPLIER = 2;
  14. /** @var int 计调版旅行社 */
  15. const CLUSTER = 3;
  16. public static function array(): array
  17. {
  18. return [
  19. self::OPERATOR => '组团版旅行社',
  20. self::SUPPLIER => '供应商旅行社',
  21. self::CLUSTER => '计调版旅行社',
  22. ];
  23. }
  24. public static function key(): array
  25. {
  26. return [
  27. self::OPERATOR,
  28. self::SUPPLIER,
  29. self::CLUSTER,
  30. ];
  31. }
  32. }