package com.dora.dto;

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

import jakarta.validation.constraints.NotBlank;
import jakarta.validation.constraints.NotNull;

/**
 * OSS预签名URL请求DTO
 */
@Data
@Schema(description = "OSS预签名URL请求")
public class OssPresignedUrlRequest {

    @Schema(description = "文件名", example = "avatar.jpg", required = true)
    @NotBlank(message = "文件名不能为空")
    private String fileName;

    @Schema(description = "用户ID", example = "17543607206742139", required = true)
    @NotNull(message = "用户ID不能为空")
    private String userId;
} 