<?php

namespace app\mainapp\validate;

use think\Validate;

class WorkerReportValidate extends Validate
{
    protected $rule = [
        'recruit_id' => 'require',
        'realname'   => 'require',
        'mobile'     => 'require|mobile',
    ];

    protected $message = [
        'recruit_id' => '数据异常，请重试',
        'realname'   => '请填写姓名',
        'mobile'     => '手机号格式不对',
    ];
}