<?php

namespace app\api\validate;

use think\Validate;

class CourseUserWorkValidate extends BaseValidate
{
    protected $rule = [
        'work_id' => 'require',
        'user_work_id' => 'require',
        'status' => 'require',


    ];

    protected $message = [
        'work_id.require' => '作业id不能为空',
        'user_work_id.require' => '作业id不能为空',
        'status.require' => '请选择考核'

    ];


}