<?php
/**
* @author 龙虾 <15108148@qq.com>
* @version 2.0 2020-08-06
* @copyright 睿谷信息 <www.rgxx.com>
*/
namespace app\admin\validate;
use think\Validate;

class Usermenu extends Validate
{
	
	protected $rule = [
		'name|栏目名称'    => 'require',
		'action|入口方法'=> 'unique:usermenu|alphaNum|min:3',
		'status|栏目开关'  => 'in:0,1',
		'torder|排序'       => '>:0|integer'
	];
}