<?php
namespace app\common\validate;

use think\Validate;

class ConveyCate extends Validate{

    protected $rule = [
        'title|名称'  =>  'require|length:1,200',
        'time_id|时间代码'  =>  'require',
        'cate|运送对象'  =>  'require',
    ];

    protected $message = [
        'title.length' => '名称必须200字以内',
    ];

    protected $scene = [

    ];

}