<?php

namespace app\validate\blue;

use think\Validate;

class ExpertGroupValidate extends Validate
{


    protected $rule = [
        "truenname"     => "require",
        "mobile"        => "require|mobile",
        "city"          => "require",
        "city_path"     => "require",
        "team"          => "require",
    ];


    protected $message = [
        "truenname.require"     => "请输入姓名",
        "mobile.require"        => "请输入手机号码",
        "mobile.mobile"         => "手机号有误",
        "city.require"          => "请选择城市",
        "city_path.require"     => "请选择城市",
        "team.require"          => "请选择团队",
    ];
    protected $scene = [
        'add'  =>  ['truenname','mobile','city','city_path','team'],
    ];


}