package com.lesingle.creation.dto.publicuser;

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

/**
 * 公众用户登录 DTO
 */
@Data
@Schema(description = "公众用户登录请求")
public class PublicLoginDTO {

    @NotBlank(message = "用户名不能为空")
    @Schema(description = "用户名/手机号")
    private String username;

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