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

class Cmsmodels extends Validate
{
	
	protected $rule = [
		'title|模型名称'    => 'require|chsDash|unique:cmsmodels|min:2',
		'name|模型标识'     => 'require|alphaNum|lower|unique:cmsmodels|min:3',
		'modeltype|类型'    => 'integer',
		'torder|排序'        => '>:0|integer'
	];
}