<?php
namespace app\workerapi\validate;
use app\common\validate\BaseValidate;

/**
 * @author 林海涛
 * @date ${DATA}
 */

class DictValidate extends BaseValidate
{
    protected $rule = [
        'type' => 'require|array',
    ];

    protected $message = [
        'type.require' => '字典类型名称必填',
        'type.array' => '字典类型名称值必须是数组',
    ];
}