import { BaseOutput } from '~/core/entities/output/baseOutput';

export class EvaluationDetailOutput extends BaseOutput {
    /* tslint:disable variable-name */
    ID: number;
    ID_EvaluationSubtype: number;
    EvaluationSubtype: string;
    EvaluationCount: number;
    Description: string;
    ID_EvaluationVersion: number;
    EvaluationVersion: string;
    ID_Unit: number;
    Unit: string;
    RegistrationNumber: string;
    ID_EvaluationState: string;
    EvaluationState: string;
    Year: number;
    Note: string;
    NoteParent: string;
    DateLastUpdate: string;
    ID_PersonClose: number;
    PersonClose: string;
    DateClose: string;
    Score: string;
    ID_EvaluationRating: number;
    EvaluationRating: string;
    Color: string;
    HideDetail: boolean;
    ID_UnitType: string;
    UnitType: string;

    /* tslint:enable variable-name */
    constructor(
        id = 0,
        evaluationSubtypeId = 0,
        evaluationSubtype = '',
        evaluationCount = 0,
        description = '',
        evaluationVersionId = 0,
        evaluationVersion = '',
        unitId = 0,
        unit = '',
        registrationNumber = '',
        evaluationStateId = '',
        evaluationState = '',
        year = 0,
        note = '',
        noteParent = '',
        dateLastUpdate = '',
        personCloseId = 0,
        personClose = '',
        dateClose = '',
        score = '',
        evaluationRatingId = 0,
        evaluationRating = '',
        color = '',
        hideDetail = false,
        unitTypeId = '',
        unitType = ''
    ) {
        super();
        this.ID = id;
        this.ID_EvaluationSubtype = evaluationSubtypeId;
        this.EvaluationSubtype = evaluationSubtype;
        this.EvaluationCount = evaluationCount;
        this.Description = description;
        this.ID_EvaluationVersion = evaluationVersionId;
        this.EvaluationVersion = evaluationVersion;
        this.ID_Unit = unitId;
        this.Unit = unit;
        this.RegistrationNumber = registrationNumber;
        this.ID_EvaluationState = evaluationStateId;
        this.EvaluationState = evaluationState;
        this.Year = year;
        this.Note = note;
        this.NoteParent = noteParent;
        this.DateLastUpdate = dateLastUpdate;
        this.ID_PersonClose = personCloseId;
        this.PersonClose = personClose;
        this.DateClose = dateClose;
        this.Score = score;
        this.ID_EvaluationRating = evaluationRatingId;
        this.EvaluationRating = evaluationRating;
        this.Color = color;
        this.HideDetail = hideDetail;
        this.ID_UnitType = unitTypeId;
        this.UnitType = unitType;
    }
}
