<?php

namespace app\mobile\validate;

use think\Validate;

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

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