海南旅游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
603 B

<?php
namespace App\Common;
/**
* 代理商类型常量
* Class AgentType
* @package App\Common
*/
class AgentType
{
/** @var int 计调版旅行社 */
const OPERATOR = 1;
/** @var int 供应商旅行社 */
const SUPPLIER = 2;
/** @var int 组团版旅行社 */
const CLUSTER = 3;
public static function array(): array
{
return [
self::OPERATOR => '计调版旅行社',
self::SUPPLIER => '供应商旅行社',
self::CLUSTER => '组团版旅行社',
];
}
public static function key(): array
{
return [
self::OPERATOR,
self::SUPPLIER,
self::CLUSTER,
];
}
}