initial commit

This commit is contained in:
Wolf G. Beckmann
2026-04-27 14:57:33 +02:00
commit 1816168d1f
60 changed files with 4615 additions and 0 deletions

View File

@@ -0,0 +1,55 @@
package de.frigosped.dc.model;
/**
* Request-Body für POST /api/dc/projects/:id/results
*/
public class ResultRequest {
private Long questionId;
private Long docId;
private String answer;
private Integer score;
private String resultType; // OK | UNKLAR | NOK
private Integer deviation; // 0 oder 1
private Integer warning; // 0 oder 1
private String theComment;
public ResultRequest() {}
public ResultRequest(Long questionId, Long docId, String answer,
Integer score, String resultType,
Integer deviation, Integer warning, String theComment) {
this.questionId = questionId;
this.docId = docId;
this.answer = answer;
this.score = score;
this.resultType = resultType;
this.deviation = deviation;
this.warning = warning;
this.theComment = theComment;
}
public Long getQuestionId() { return questionId; }
public void setQuestionId(Long v) { this.questionId = v; }
public Long getDocId() { return docId; }
public void setDocId(Long v) { this.docId = v; }
public String getAnswer() { return answer; }
public void setAnswer(String v) { this.answer = v; }
public Integer getScore() { return score; }
public void setScore(Integer v) { this.score = v; }
public String getResultType() { return resultType; }
public void setResultType(String v) { this.resultType = v; }
public Integer getDeviation() { return deviation; }
public void setDeviation(Integer v) { this.deviation = v; }
public Integer getWarning() { return warning; }
public void setWarning(Integer v) { this.warning = v; }
public String getTheComment() { return theComment; }
public void setTheComment(String v) { this.theComment = v; }
}