<?php

namespace app\api\validate;

use think\Validate;

class ShCourseClassCategoryValidate extends BaseValidate
{
    protected $rule = [
        'course_id' => 'require',
        'title' => 'require',
        'cate_id' => 'require',
    ];

    protected $message = [
        'course_id.require' => '课程id不能为空',
        'title.require' => '课程名称不能为空',
        'cate_id.require' => '章节id不能为空',
    ];


}