package com.softwarebr.nunu.json.api.user;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import org.hibernate.validator.constraints.Length;

/**
 * 注册检查结果
 * @Author lilin
 * @Date 2020-02-17 14:07:07
 */
@Data
@ApiModel
public class CheckRegisterParam {

    @ApiModelProperty(value = "手机号码", required = true, example = "15220276660")
    @Length(min = 11, max = 11, message = "手机号码输入不正确")
    private String phone;

    @ApiModelProperty(value = "第三方登录类型 1.pc微信 2.h5微信", example = "1")
    Integer type;
}
