package com.luojia_channel.modules.file.dto;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import org.springframework.web.multipart.MultipartFile;

@Data
@AllArgsConstructor
@Builder
@Schema(description = "上传文件DTO")
public class UploadFileDTO {
    @Schema(
            description = "文件名",
            required = true
    )
    private MultipartFile file;

    // 文件类型，image or video
    @Schema(
            description = "文件类型"
    )
    private String fileType;

    // 文件md5
    @Schema(
            description = "文件md5"
    )
    private String fileMd5;
}
