package com.datamate.datamanagement.interfaces.dto;

import com.datamate.datamanagement.common.enums.KnowledgeContentType;
import com.datamate.datamanagement.common.enums.KnowledgeSourceType;
import lombok.Getter;
import lombok.Setter;

import java.time.LocalDateTime;

/**
 * 知识条目响应DTO
 */
@Getter
@Setter
public class KnowledgeItemResponse {
    private String id;
    private String setId;
    private String content;
    private KnowledgeContentType contentType;
    private KnowledgeSourceType sourceType;
    private String sourceDatasetId;
    private String sourceFileId;
    /**
     * 相对路径（用于目录展示）
     */
    private String relativePath;
    /**
     * 扩展元数据
     */
    private String metadata;
    private LocalDateTime createdAt;
    private LocalDateTime updatedAt;
    private String createdBy;
    private String updatedBy;
}
