package de.frigosped.dc.model;

/**
 * DTO für ORDS-Endpunkt GET /api/dc/catalogs/:id/questions/
 * Flache Darstellung: Kategorie + Frage in einer Zeile.
 */
public class OrdsQuestion {

    private Long questionId;
    private Long categoryId;
    private String categoryName;
    private String categoryDescription;
    private Integer categoryOrderNr;
    private String questionText;
    private String evaluationType;      // z.B. SCORE, BINARY
    private Integer threshold;          // Schwellwert 0–100
    private String resultHandling;      // ABWEICHUNG | HINWEIS
    private String example0Percent;     // Beispiel: Anforderung nicht erfüllt
    private String example100Percent;   // Beispiel: Anforderung voll erfüllt
    private Integer orderNr;
    private Integer rowVersion;

    public OrdsQuestion() {}

    public Long getQuestionId()                  { return questionId; }
    public void setQuestionId(Long v)            { this.questionId = v; }

    public Long getCategoryId()                  { return categoryId; }
    public void setCategoryId(Long v)            { this.categoryId = v; }

    public String getCategoryName()              { return categoryName; }
    public void setCategoryName(String v)        { this.categoryName = v; }

    public String getCategoryDescription()       { return categoryDescription; }
    public void setCategoryDescription(String v) { this.categoryDescription = v; }

    public String getQuestionText()              { return questionText; }
    public void setQuestionText(String v)        { this.questionText = v; }

    public String getEvaluationType()            { return evaluationType; }
    public void setEvaluationType(String v)      { this.evaluationType = v; }

    public Integer getThreshold()                { return threshold; }
    public void setThreshold(Integer v)          { this.threshold = v; }

    public String getResultHandling()            { return resultHandling; }
    public void setResultHandling(String v)      { this.resultHandling = v; }

    public String getExample0Percent()           { return example0Percent; }
    public void setExample0Percent(String v)     { this.example0Percent = v; }

    public String getExample100Percent()         { return example100Percent; }
    public void setExample100Percent(String v)   { this.example100Percent = v; }

    public Integer getCategoryOrderNr()          { return categoryOrderNr; }
    public void setCategoryOrderNr(Integer v)    { this.categoryOrderNr = v; }

    public Integer getOrderNr()                  { return orderNr; }
    public void setOrderNr(Integer v)            { this.orderNr = v; }

    public Integer getRowVersion()               { return rowVersion; }
    public void setRowVersion(Integer v)         { this.rowVersion = v; }
}
