parent
f9086e7deb
commit
e84548fd1b
@ -0,0 +1,34 @@
|
||||
package com.luoo.user.dto.request;
|
||||
|
||||
import io.swagger.annotations.ApiModel;
|
||||
import io.swagger.annotations.ApiModelProperty;
|
||||
import lombok.Getter;
|
||||
import lombok.Setter;
|
||||
import java.io.Serializable;
|
||||
|
||||
import annotation.VerifyParam;
|
||||
import enums.VerifyRegexEnum;
|
||||
|
||||
/**
|
||||
* 期刊查询参数
|
||||
*/
|
||||
@Getter
|
||||
@Setter
|
||||
@ApiModel
|
||||
public class LoginReq implements Serializable {
|
||||
private static final long serialVersionUID = 1L;
|
||||
@ApiModelProperty(name = "mobile", value = "手机号", required = true)
|
||||
@VerifyParam(required = true, regex = VerifyRegexEnum.MOBILE)
|
||||
private String mobile;
|
||||
|
||||
@ApiModelProperty(name = "mobileCheckCode", value = "6位验证码", required = true)
|
||||
@VerifyParam(required = true, regex = VerifyRegexEnum.MOBILE_CHECK_CODE)
|
||||
String mobileCheckCode;
|
||||
|
||||
@ApiModelProperty(name = "deviceId", value = "设备id", required = true)
|
||||
@VerifyParam(required = true)
|
||||
private String deviceId;
|
||||
|
||||
@ApiModelProperty(name = "deviceBrand", value = "设备品牌", required = false)
|
||||
String deviceBrand;
|
||||
}
|
@ -0,0 +1,25 @@
|
||||
package com.luoo.user.dto.request;
|
||||
|
||||
import io.swagger.annotations.ApiModel;
|
||||
import io.swagger.annotations.ApiModelProperty;
|
||||
import lombok.Getter;
|
||||
import lombok.Setter;
|
||||
import java.io.Serializable;
|
||||
|
||||
import annotation.VerifyParam;
|
||||
|
||||
/**
|
||||
* 期刊查询参数
|
||||
*/
|
||||
@Getter
|
||||
@Setter
|
||||
@ApiModel
|
||||
public class TokenRefreshReq implements Serializable {
|
||||
private static final long serialVersionUID = 1L;
|
||||
@ApiModelProperty(name = "deviceId", value = "设备id", required = true)
|
||||
@VerifyParam(required = true)
|
||||
String deviceId;
|
||||
|
||||
@ApiModelProperty(name = "deviceBrand", value = "设备品牌", required = false)
|
||||
String deviceBrand;
|
||||
}
|
Loading…
Reference in new issue