package tech.easyflow.admin.dto.chatworkspace;

import java.io.Serializable;
import java.util.ArrayList;
import java.util.List;

/**
 * 工作台会话详情。
 */
public class ChatWorkspaceSessionDetailView extends ChatWorkspaceSessionView implements Serializable {

    private ChatWorkspaceAssistantView assistant;
    private List<ChatWorkspaceKnowledgeView> boundKnowledges = new ArrayList<>();
    private List<ChatWorkspaceKnowledgeView> extraKnowledges = new ArrayList<>();
    private List<String> removedExtraKnowledgeNames = new ArrayList<>();

    public ChatWorkspaceAssistantView getAssistant() {
        return assistant;
    }

    public void setAssistant(ChatWorkspaceAssistantView assistant) {
        this.assistant = assistant;
    }

    public List<ChatWorkspaceKnowledgeView> getBoundKnowledges() {
        return boundKnowledges;
    }

    public void setBoundKnowledges(List<ChatWorkspaceKnowledgeView> boundKnowledges) {
        this.boundKnowledges = boundKnowledges == null ? new ArrayList<>() : boundKnowledges;
    }

    public List<ChatWorkspaceKnowledgeView> getExtraKnowledges() {
        return extraKnowledges;
    }

    public void setExtraKnowledges(List<ChatWorkspaceKnowledgeView> extraKnowledges) {
        this.extraKnowledges = extraKnowledges == null ? new ArrayList<>() : extraKnowledges;
    }

    public List<String> getRemovedExtraKnowledgeNames() {
        return removedExtraKnowledgeNames;
    }

    public void setRemovedExtraKnowledgeNames(List<String> removedExtraKnowledgeNames) {
        this.removedExtraKnowledgeNames = removedExtraKnowledgeNames == null ? new ArrayList<>() : removedExtraKnowledgeNames;
    }
}
