package tech.glinfo.enbao.modules.appuser.form;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotBlank;

/**
 * 注册表单
 *
 * @author linzhenjie@gltech.com
 */
@Data
@ApiModel(value = "注册表单")
public class WxRegisterForm {

    @ApiModelProperty(value = "手机号码")
    @NotBlank(message="手机号码不能为空")
    private String phone;


    @ApiModelProperty(value = "昵称")
    @NotBlank(message="昵称不能为空")
    private String nickname;

    @ApiModelProperty(value = "openId")
    @NotBlank(message="openId不能为空")
    private String openId;

    @ApiModelProperty(value = "头像")
    private String headImgUrl;
}
