<?php

namespace app\common\validate;

use think\Validate;

class Supply extends Validate
{
    protected $rule = [
        'mnumber'		=>  'require',
		'wnumber'		=>  'require',
		'province'		=>  'require',
		'city'			=>  'require',
		'district'		=>  'require',
		'agegroup'		=>  'require',
		'descity'		=>  'require',
		'candate'		=>  'require',
		'telephone'		=>  'require'
    ];
	
	protected $message  =   [
		'mnumber.require'		=> "男女人数不能为空",
		'wnumber.require'		=> "男女人数不能为空",
		'province.require'		=> "人员所在地不能为空",
		'city.require'			=> "人员所在地不能为空",
		'district.require'		=> "人员所在地不能为空",
		'agegroup.require'		=> "年龄范围不能为空",
		'descity.require'		=> "期望工作地点不能为空",
		'candate.require'		=> "可到岗日期不能为空",
		'telephone.require'		=> "咨询电话不能为空"
    ];

}