package com.datamate.datamanagement.interfaces.dto;

import com.datamate.datamanagement.common.enums.KnowledgeContentType;
import com.datamate.datamanagement.common.enums.KnowledgeSourceType;
import com.fasterxml.jackson.annotation.JsonIgnore;
import lombok.Getter;
import lombok.Setter;

import java.time.LocalDateTime;

/**
 * 知识条目文件搜索响应
 */
@Getter
@Setter
public class KnowledgeItemSearchResponse {
    private String id;
    private String setId;
    private String setName;
    private KnowledgeContentType contentType;
    private KnowledgeSourceType sourceType;
    private String sourceDatasetId;
    private String sourceFileId;
    private String fileName;
    private Long fileSize;
    /**
     * 相对路径（用于目录展示）
     */
    private String relativePath;
    private LocalDateTime createdAt;
    private LocalDateTime updatedAt;

    @JsonIgnore
    private String content;
}
