

package io.modules.security.dto;

import io.swagger.v3.oas.annotations.media.Schema;
import jakarta.validation.constraints.NotBlank;
import lombok.Data;

import java.io.Serializable;

/**
 * 登录表单
 *

 */
@Data
@Schema(title = "登录表单")
public class LoginDTO implements Serializable {
    private static final long serialVersionUID = 1L;

    @Schema(title = "用户名", required = true)
    @NotBlank(message="用户名不能为空~")
    private String username;

    @Schema(title = "密码")
    @NotBlank(message="密码不能为空")
    private String password;

//    @Schema(title = "验证码")
//    @NotBlank(message="验证不能为空")
//    private String captcha;

    @Schema(title = "唯一标识")
    @NotBlank(message="唯一标识不能为空")
    private String uuid;

}
