package io.dto;

import io.swagger.v3.oas.annotations.media.Schema;
import jakarta.validation.constraints.NotBlank;
import lombok.Data;
/**
 * 登录表单
 *

 */
@Data
@Schema(title = "登录表单")
public class LoginDTO {
    @Schema(title = "用户名")
    @NotBlank(message="用户名不能为空~")
    private String username;

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

}
