package com.njcn.rdms.module.system.api.file.dto;

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

@Schema(description = "RPC 服务 - 文件字节创建 Request DTO")
@Data
public class FileContentCreateReqDTO {

    @Schema(description = "文件内容", requiredMode = Schema.RequiredMode.REQUIRED)
    private byte[] content;

    @Schema(description = "文件名", example = "2026-06_张三.xlsx")
    private String name;

    @Schema(description = "目录", example = "rdms/performance")
    private String directory;

    @Schema(description = "MIME 类型", example = "application/vnd.openxmlformats-officedocument.spreadsheetml.sheet")
    private String type;
}
