<?php

namespace app\enterprise\validate;

use think\Validate;

/**
 * Description of TalentInfo
 * 先不用。分两步等下通不过
 * @author sgq
 */
class TalentInfo extends Validate {

    protected $rule = [
        'name' => 'require',
        'sex' => 'require|number|between:1,2',
        'email' => 'email',
    ];
    protected $message = [
        'name.require' => '名称必须',
        'email' => '邮箱格式错误',
    ];

}
