package org.dromara.web.common;

import io.swagger.v3.oas.annotations.media.Schema;
import jakarta.validation.constraints.NotBlank;
import lombok.Data;
import org.dromara.common.core.validate.AddGroup;

/**
 * @author lh
 */
@Data
@Schema(description = "用户登录信息")
public class UserRegisterParam {

	@Schema(description = "密码")
	private String passWord;

	@Schema(description = "邮箱")
	private String userMail;

	@Schema(description = "昵称")
	private String nickName;

	@Schema(description = "用户名")
	private String userName;

	@Schema(description = "手机号")
    @NotBlank(message = "手机号码不能为空", groups = { AddGroup.class})
	private String mobile;

	@Schema(description = "头像")
	private String img;

	@Schema(description = "校验登陆注册验证码成功的标识")
	private String checkRegisterSmsFlag;

	@Schema(description = "当账户未绑定时，临时的uid")
	private String tempUid;

	@Schema(description = "用户id")
	private Long userId;

    @Schema(description = "微信openId")
    private String openId;
}
