package com.seer.teach.user.admin.request;

import io.swagger.v3.oas.annotations.media.Schema;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.ToString;

import jakarta.validation.constraints.NotBlank;

/**
 * @Author: chenjiajian
 * @Data: 2025-05-14 15:19
 */
@Data
@AllArgsConstructor
@NoArgsConstructor
@ToString
@Schema(description = "管理员登录请求参数")
public class AdminUserLoginReq {
    @Schema(description = "用户名")
    @NotBlank(message = "用户名不能为空")
    private String username;

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