| 12345678910111213141516171819202122232425262728293031 |
- <?php
- namespace common\enums;
- /**
- * 系统开发模式
- *
- * Class DevPatternEnum
- * @package common\enums
- * @author jianyan74 <751393839@qq.com>
- */
- class DevPatternEnum extends BaseEnum
- {
- const B2C = 'b2c';
- const B2B2C = 'b2b2c';
- const SAAS = 'saas';
- const BLANK = 'blank';
- /**
- * @return array
- */
- public static function getMap(): array
- {
- return [
- self::B2C => '单商户(B2C)',
- self::B2B2C => '多商户(B2B2C)',
- self::SAAS => '软件即服务(SAAS)',
- self::BLANK => '全部不可见',
- ];
- }
- }
|