package top.tqx.demo_1.dto;

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

import java.io.Serializable;
import java.math.BigDecimal;

@Data
public class QuestionStatsResponse implements Serializable {

    private static final long serialVersionUID = 1L;

    private Boolean success;

    @JsonProperty("total_count")
    private Long totalCount;

    @JsonProperty("single_choice_count")
    private Long singleChoiceCount;

    @JsonProperty("multiple_choice_count")
    private Long multipleChoiceCount;

    @JsonProperty("true_false_count")
    private Long trueFalseCount;

    @JsonProperty("fill_blank_count")
    private Long fillBlankCount;

    @JsonProperty("subjective_count")
    private Long subjectiveCount;

    @JsonProperty("single_choice_score")
    private BigDecimal singleChoiceScore;

    @JsonProperty("multiple_choice_score")
    private BigDecimal multipleChoiceScore;

    @JsonProperty("true_false_score")
    private BigDecimal trueFalseScore;

    @JsonProperty("fill_blank_score")
    private BigDecimal fillBlankScore;

    @JsonProperty("subjective_score")
    private BigDecimal subjectiveScore;

    @JsonProperty("total_score")
    private BigDecimal totalScore;
}
