package org.xyzh.common.dto.ai;

import org.xyzh.common.dto.BaseDTO;

/**
 * @description 上传文件表
 * @filename TbAiUploadFile.java
 * @author yslg
 * @copyright xyzh
 * @since 2025-10-15
 */
public class TbAiUploadFile extends BaseDTO {
    
    private static final long serialVersionUID = 1L;
    
    /**
     * @description 用户ID
     */
    private String userID;
    
    /**
     * @description 会话ID
     */
    private String conversationID;
    
    /**
     * @description 文件名
     */
    private String fileName;
    
    /**
     * @description 文件路径
     */
    private String filePath;
    
    /**
     * @description 文件大小（字节）
     */
    private Long fileSize;
    
    /**
     * @description 文件类型
     */
    private String fileType;
    
    /**
     * @description MIME类型
     */
    private String mimeType;
    
    /**
     * @description 提取的文本内容
     */
    private String extractedText;
    
    /**
     * @description 状态（0处理中 1已完成 2失败）
     */
    private Integer status;

    public String getUserID() {
        return userID;
    }

    public void setUserID(String userID) {
        this.userID = userID;
    }

    public String getConversationID() {
        return conversationID;
    }

    public void setConversationID(String conversationID) {
        this.conversationID = conversationID;
    }

    public String getFileName() {
        return fileName;
    }

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

    public String getFilePath() {
        return filePath;
    }

    public void setFilePath(String filePath) {
        this.filePath = filePath;
    }

    public Long getFileSize() {
        return fileSize;
    }

    public void setFileSize(Long fileSize) {
        this.fileSize = fileSize;
    }

    public String getFileType() {
        return fileType;
    }

    public void setFileType(String fileType) {
        this.fileType = fileType;
    }

    public String getMimeType() {
        return mimeType;
    }

    public void setMimeType(String mimeType) {
        this.mimeType = mimeType;
    }

    public String getExtractedText() {
        return extractedText;
    }

    public void setExtractedText(String extractedText) {
        this.extractedText = extractedText;
    }

    public Integer getStatus() {
        return status;
    }

    public void setStatus(Integer status) {
        this.status = status;
    }

    @Override
    public String toString() {
        return "TbAiUploadFile{" +
                "id=" + getID() +
                ", userID='" + userID + '\'' +
                ", conversationID='" + conversationID + '\'' +
                ", fileName='" + fileName + '\'' +
                ", fileSize=" + fileSize +
                ", fileType='" + fileType + '\'' +
                ", status=" + status +
                '}';
    }
}
