package com.sikey.wa04.business.infrastructure.dto.request.file;

import jakarta.validation.constraints.NotBlank;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.EqualsAndHashCode;
import org.springframework.web.multipart.MultipartFile;

@Data
@AllArgsConstructor
@EqualsAndHashCode(callSuper = false)
public class UploadFileRequest {
    @NotBlank(message = "文件类型不能为空")
    String fileType;
    @NotBlank(message = "文件不能为空")
    MultipartFile file;
}
