package top.tqx.demo_1.dto;

import com.fasterxml.jackson.annotation.JsonProperty;
import lombok.Data;

import java.io.Serializable;
import java.math.BigDecimal;
import java.util.List;
import java.util.Map;

@Data
public class QuestionCreateRequest implements Serializable {

    private static final long serialVersionUID = 1L;

    @JsonProperty("question_type")
    private String questionType;

    @JsonProperty("difficulty")
    private Integer difficulty;

    @JsonProperty("content")
    private Map<String, Object> content;

    @JsonProperty("tags")
    private List<String> tags;

    @JsonProperty("score")
    private BigDecimal score;

    @JsonProperty("document_id")
    private String documentId;

    @JsonProperty("document_name")
    private String documentName;

    @JsonProperty("knowledge_base_path")
    private String knowledgeBasePath;

    @JsonProperty("source_context")
    private String sourceContext;

    @JsonProperty("chunk_ids")
    private List<String> chunkIds;

    @JsonProperty("source_chunks_used")
    private Integer sourceChunksUsed;

    @JsonProperty("page_numbers")
    private List<Integer> pageNumbers;
}