package com.seecoder.dataanalysis.data.entity.eval; import com.seecoder.dataanalysis.data.entity.competency.KSScore; import lombok.AllArgsConstructor; import lombok.Data; import lombok.NoArgsConstructor; import lombok.experimental.Accessors; import org.springframework.data.annotation.Id; import org.springframework.data.mongodb.core.mapping.Document; import org.springframework.data.mongodb.core.mapping.Field; /** * @author */ @Document(collection = "question") @NoArgsConstructor @AllArgsConstructor @Accessors(chain = true) @Data public class Question { /** * 题目id */ @Id @Field("question_id") private String questionId; /** * 题目总分值 */ @Field("question_score") private String questionScore; /** * 题目考察的能力 */ @Field("competency") private String competency; /** * 题目考察的K-S对 */ @Field("ks_Score") private KSScore ksScore; public String getQuestionId() { return questionId; } public void setQuestionId(String questionId) { this.questionId = questionId; } public String getQuestionScore() { return questionScore; } public void setQuestionScore(String questionScore) { this.questionScore = questionScore; } public String getCompetency() { return competency; } public void setCompetency(String competency) { this.competency = competency; } public KSScore getKsScore() { return ksScore; } public void setKsScore(KSScore ksScore) { this.ksScore = ksScore; } }