package com.dsh.account.model;
|
|
import io.swagger.annotations.ApiModel;
|
import io.swagger.annotations.ApiModelProperty;
|
|
/**
|
* 图形验证码响应。
|
*/
|
@ApiModel(value = "图形验证码")
|
public class ImageCaptchaVo {
|
|
@ApiModelProperty(value = "验证码唯一标识")
|
private String captchaId;
|
|
@ApiModelProperty(value = "PNG图片的Base64 Data URL")
|
private String image;
|
|
@ApiModelProperty(value = "有效期,单位:秒")
|
private Integer expireIn;
|
|
public ImageCaptchaVo(String captchaId, String image, Integer expireIn) {
|
this.captchaId = captchaId;
|
this.image = image;
|
this.expireIn = expireIn;
|
}
|
|
public String getCaptchaId() {
|
return captchaId;
|
}
|
|
public String getImage() {
|
return image;
|
}
|
|
public Integer getExpireIn() {
|
return expireIn;
|
}
|
}
|