package tech.easyflow.ai.document.support;

/**
 * 桥接层内部已加载文档源。
 *
 * <p>该对象只在桥接层内部流转，用于承接已解析出的文件名、类型和字节内容。</p>
 *
 * @author Codex
 * @since 2026-04-14
 */
public class LoadedDocumentSource {

    private String fileName;
    private String contentType;
    private Long size;
    private byte[] contentBytes;

    public String getFileName() {
        return fileName;
    }

    public void setFileName(String fileName) {
        this.fileName = fileName;
    }

    public String getContentType() {
        return contentType;
    }

    public void setContentType(String contentType) {
        this.contentType = contentType;
    }

    public Long getSize() {
        return size;
    }

    public void setSize(Long size) {
        this.size = size;
    }

    public byte[] getContentBytes() {
        return contentBytes;
    }

    public void setContentBytes(byte[] contentBytes) {
        this.contentBytes = contentBytes;
    }
}
