<?php

namespace app\admin\validate;

use think\Validate;

class SlideValidate extends Validate
{
    protected $rule = [
        'tab'      => 'require',
        'title'    => 'require',
        'image'    => 'require',
        'priority' => 'require',
    ];

    protected $message = [
        'tab'      => '位置不能为空',
        'title'    => '名称不能为空',
        'image'    => '图标不能为空',
        'priority' => '排序不能为空',
    ];

}