cloud.tianai.captcha.request.CaptchaRequest Maven / Gradle / Ivy
package cloud.tianai.captcha.request;
import cloud.tianai.captcha.template.slider.validator.SliderCaptchaTrack;
import lombok.Data;
import javax.validation.Valid;
import javax.validation.constraints.Min;
import javax.validation.constraints.NotEmpty;
import javax.validation.constraints.NotNull;
/**
* @Author: 天爱有情
* @Date 2020/6/19 16:26
* @Description 验证码请求对象
*/
@Data
public class CaptchaRequest {
@NotEmpty(message = "验证码ID不能为空")
private String id;
@NotNull(message = "滑动轨迹不能为空")
private SliderCaptchaTrack sliderCaptchaTrack;
@Valid
private T form;
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy