<?php
namespace app\admin\validate;

use think\Validate;
/**
 * 商品
 * Class Goods
 * @package app\admin\validate
 */
class Goods extends Validate{

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

    protected $message  =   [
        'name.require'                  => '请输入商品名称',
        'cls_id.require'                => '请先选择商品分类',
    ];
}
