<?php
namespace app\admin\validate;

use think\Validate;
/**
 * 商品分类
 * Class Master
 * @package app\admin\validate
 */
class GoodsCls extends Validate{

    protected $rule =   [
        'name'          => 'require',
        'sort'          => 'require',
    ];

    protected $message  =   [
        'name.require'              => '请输入分类名',
        'sort.require'              => '请输入分类排序',
    ];
}
