package com.dora.dto;

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

import java.util.Date;

/**
 * OSS预签名URL响应DTO
 */
@Data
@Schema(description = "OSS预签名URL响应")
public class OssPresignedUrlResponse {

    @Schema(description = "HTTP方法", example = "PUT")
    private String method;

    @Schema(description = "过期时间", example = "2024-01-01T12:00:00.000Z")
    private String expiration;

    @Schema(description = "预签名URL", example = "https://oss-cn-hangzhou.aliyuncs.com/...")
    private String url;

    @Schema(description = "对象键", example = "/user_img/123_1704067200000_abc123.jpg")
    private String objectKey;

    @Schema(description = "原始文件名", example = "avatar.jpg")
    private String fileName;

    @Schema(description = "用户ID", example = "17543607206742139")
    private String userId;
} 