package com.erp.user.dto.auth;

import jakarta.validation.constraints.NotBlank;
import lombok.Data;

/**
 * 登录请求
 */
@Data
public class LoginRequest {
    
    @NotBlank(message = "用户名不能为空")
    private String username;
    
    @NotBlank(message = "密码不能为空")
    private String password;
    
    /**
     * 图形验证码key
     */
    private String captchaKey;
    
    /**
     * 图形验证码答案
     */
    private String captchaCode;
}
