package cn.com.poc.message.entity;

import cn.com.poc.thirdparty.resource.demand.ai.entity.knowledge.SegmentationConfigRequest;

import java.io.Serializable;
import java.util.Map;

public class TrainKnowledgeMessage implements Serializable {

    private Integer knowledgeInfoId;

    private Integer kid;

    private String fileUrl;

    private Map<Integer, Integer> reduced;

    private SegmentationConfigRequest segmentationConfig;

    public Integer getKnowledgeInfoId() {
        return knowledgeInfoId;
    }

    public void setKnowledgeInfoId(Integer knowledgeInfoId) {
        this.knowledgeInfoId = knowledgeInfoId;
    }

    public SegmentationConfigRequest getSegmentationConfig() {
        return segmentationConfig;
    }

    public void setSegmentationConfig(SegmentationConfigRequest segmentationConfig) {
        this.segmentationConfig = segmentationConfig;
    }

    public Map<Integer, Integer> getReduced() {
        return reduced;
    }

    public void setReduced(Map<Integer, Integer> reduced) {
        this.reduced = reduced;
    }

    public Integer getKid() {
        return kid;
    }

    public void setKid(Integer kid) {
        this.kid = kid;
    }

    public String getFileUrl() {
        return fileUrl;
    }

    public void setFileUrl(String fileUrl) {
        this.fileUrl = fileUrl;
    }

    @Override
    public String toString() {
        return "TrainKnowledgeMessage{" +
                "kid=" + kid +
                ", fileUrl='" + fileUrl + '\'' +
                ", reduced=" + reduced +
                ", segmentationConfig=" + segmentationConfig +
                '}';
    }
}
