<?php

/**
 *
 * @copyright ©2020 点小铺
 * @author  hanj
 * @link: https://dyuit.com
 * Created by VSCode
 */

namespace app\common\enum;

/**
 * 小票打印机类型 枚举类
 * Class Printer
 * @package app\common\enum
 */
class PrinterType extends EnumBasics
{
    /* @const FEI_E_YUN 飞鹅打印机 */
    const FEI_E_YUN = 'FEI_E_YUN';

    /* @const PRINT_CENTER 365云打印 */
    const PRINT_CENTER = 'PRINT_CENTER';

    /**
     * 获取打印机类型名称
     * @return array
     */
    public static function getTypeName()
    {
        return [
            self::FEI_E_YUN => '飞鹅打印机',
            self::PRINT_CENTER => '365云打印',
        ];
    }

}