package com.xunhong.erp.turbo.api.user.dto.qry;


import com.alibaba.cola.dto.DTO;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Builder;
import lombok.Data;
import lombok.EqualsAndHashCode;

@Data
@Builder
@Schema(title = "验证码")
@EqualsAndHashCode(callSuper = true)
public class Captcha extends DTO {

	/**
	 * 验证的令牌
	 */
	@Schema(title = "验证的令牌", example = "123456")
	private String token;

	/**
	 * 验证码类型
	 */
	@Schema(title = "验证码类型", example = "geetest")
	private String captchaType;

	/**
	 * 用户滑动验证码的位置数据，JSON格式
	 */
	@Schema(title = "用户滑动验证码的位置数据，JSON格式", example = "{\"x\":\"123\",\"y\":\"456\"}")
	private String pointJson;

	/**
	 * 客户端的唯一标识符
	 */
	@Schema(title = "客户端的唯一标识符", example = "123456")
	private String clientUid;

	/**
	 * 时间戳，用于防止重放攻击
	 */
	@Schema(title = "时间戳，用于防止重放攻击", example = "123456")
	private Long ts;
}
