刘帅
2026-09-28 2914eea299ec5a1d6bfdf40b2743226ef9cbc5af
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
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;
    }
}