package com.bicloud.pojo.dto;

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

/**
 * 登录请求DTO
 */
@Data
@Schema(description = "登录请求")
public class LoginDto {

    @Schema(description = "登录标识（手机号/邮箱/用户名）", example = "13800138000")
    @NotBlank(message = "登录标识不能为空")
    private String identifier;

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