package com.ishop.mobile.pojo;
|
|
import com.walker.web.param.ParamRequest;
|
|
/**
|
* 移动端登录请求参数。
|
* @author 时克英
|
* @date 2023-06-28
|
*/
|
public class LoginParam extends ParamRequest {
|
|
public String getPhone() {
|
return phone;
|
}
|
|
public void setPhone(String phone) {
|
this.phone = phone;
|
}
|
|
public String getCaptcha() {
|
return captcha;
|
}
|
|
public void setCaptcha(String captcha) {
|
this.captcha = captcha;
|
}
|
|
public String getPassword() {
|
return password;
|
}
|
|
public void setPassword(String password) {
|
this.password = password;
|
}
|
|
public Long getSpreadPid() {
|
return spreadPid;
|
}
|
|
public void setSpreadPid(Long spreadPid) {
|
this.spreadPid = spreadPid;
|
}
|
|
public String getUuid() {
|
return uuid;
|
}
|
|
public void setUuid(String uuid) {
|
this.uuid = uuid;
|
}
|
|
private String uuid;
|
|
// @ApiModelProperty(value = "手机号", required = true)
|
// @NotBlank(message = "手机号不能为空")
|
// @Pattern(regexp = RegularConstants.PHONE_TWO, message = "手机号码格式错误")
|
private String phone;
|
|
// @ApiModelProperty(value = "验证码", required = true)
|
// @Pattern(regexp = RegularConstants.VALIDATE_CODE_NUM_SIX, message = "验证码格式错误,验证码必须为6位数字")
|
private String captcha;
|
|
// @ApiModelProperty(value = "密码", required = true, example = "1~[6,18]")
|
private String password;
|
|
// @ApiModelProperty(value = "推广人id")
|
private Long spreadPid;
|
|
@Override
|
public String toString() {
|
return "LoginParam{" +
|
"uuid='" + uuid + '\'' +
|
", phone='" + phone + '\'' +
|
", captcha='" + captcha + '\'' +
|
", password='" + password + '\'' +
|
", spreadPid=" + spreadPid +
|
'}';
|
}
|
}
|