package cn.qinys.platform.upms.api.req;

import lombok.Data;

import jakarta.validation.constraints.NotEmpty;
import java.io.Serializable;

/**
 * 获取短信验证码
 *
 * @author tanlie
 * Date: 2024/2/5 9:25
 */
@Data
public class LoginSmsReq implements Serializable {
    /**
     * 验证码
     */
    @NotEmpty(message = "图片验证码不能为空")
    private String captchaCode;

    /**
     * 验证码key
     */
    @NotEmpty(message = "图片验证码key不能为空")
    private String captchaKey;

    /**
     * 用户名
     */
    @NotEmpty(message = "用户名不能为空")
    private String username;

    @NotEmpty(message = "密码不能为空")
    private String password;
}
