<?php
namespace app\admin\validate;
use think\Validate;
/**
* 
*/
class Config extends Validate
{
	
	protected $rule = [
		'title|配置名称'    => 'require|chsAlphaNum|min:2|unique:config',
		'name|配置标识'     => 'require|alphaNum|min:3|unique:config',
		'issys|系统配置'    => 'in:0,1',
		'torder|排序'        => '>:0|integer'
	];
}