<?php

namespace app\mobile\validate;

use think\Validate;

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

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