package com.datamate.datamanagement.interfaces.dto;

import jakarta.validation.constraints.NotNull;
import lombok.Getter;
import lombok.Setter;
import org.springframework.web.multipart.MultipartFile;

/**
 * 替换知识条目文件请求DTO
 */
@Getter
@Setter
public class ReplaceKnowledgeItemFileRequest {
    /**
     * 新文件
     */
    @NotNull(message = "文件不能为空")
    private MultipartFile file;
}
