import { BaseOutput } from '~/core/entities/output/baseOutput';
import { EvaluationRadioOptions } from '../evaluation-radio-options';

export class EvaluationAnswerAllOutput extends BaseOutput {
    /* tslint:disable variable-name */
    ID_EvaluationSection: number;
    EvaluationSection: string;
    SectionDescription: string;
    SectionOrder: number;
    ID_EvaluationSet: number;
    EvaluationSet: string;
    SetDescription: string;
    SetOrder: number;
    ID_EvaluationCriteria: number;
    EvaluationCriteria: string;
    CriteriaOrder: number;
    Answer: number;
    Answer1: string;
    Answer2: string;
    Answer3: string;
    Answer4: string;
    PersonAnswer1: number;
    PersonAnswer2: number;
    PersonAnswer3: number;
    PersonAnswer4: number;
    /* tslint:enable variable-name */

    // attribute for checkbox questionnaire
    radioOptions: EvaluationRadioOptions;

    constructor(
        evaluationSectionId = 0,
        evaluationSection = '',
        sectionDescription = '',
        sectionOrder = 0,
        evaluationSetId = 0,
        evaluationSet = '',
        setDescription = '',
        setOrder = 0,
        evaluationCriteriaId = 0,
        evaluationCriteria = '',
        criteriaOrder = 0,
        answer = 0,
        answer1 = '',
        answer2 = '',
        answer3 = '',
        answer4 = '',
        personAnswer2 = 0,
        personAnswer1 = 0,
        personAnswer3 = 0,
        personAnswer4 = 0
    ) {
        super();
        this.ID_EvaluationSection = evaluationSectionId;
        this.EvaluationSection = evaluationSection;
        this.SectionDescription = sectionDescription;
        this.SectionOrder = sectionOrder;
        this.ID_EvaluationSet = evaluationSetId;
        this.EvaluationSet = evaluationSet;
        this.SetDescription = setDescription;
        this.SetOrder = setOrder;
        this.ID_EvaluationCriteria = evaluationCriteriaId;
        this.EvaluationCriteria = evaluationCriteria;
        this.CriteriaOrder = criteriaOrder;
        this.Answer = answer;
        this.Answer1 = answer1;
        this.Answer2 = answer2;
        this.Answer3 = answer3;
        this.Answer4 = answer4;
        this.PersonAnswer1 = personAnswer1;
        this.PersonAnswer2 = personAnswer2;
        this.PersonAnswer3 = personAnswer3;
        this.PersonAnswer4 = personAnswer4;
    }
}
