<?php
namespace app\seller\validate;
use think\Validate;
use think\Db;

class Category extends Validate{
  protected $rule = [
        'title'  =>  'require|max:125',
		
    ];

    protected $message = [
        'title.require'  =>  '名称必须',
        
    ];

    protected $scene = [
        'add'   =>  ['title'],
        'edit'  =>  ['title'],
    ];   
	
}
