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

export class UnitTreeAllOutput extends BaseOutput {
    /* tslint:disable variable-name */
    ID: number;
    ID_UnitParent: number;
    UnitParent: string;
    ID_Unit: number;
    Unit: string;
    RegistrationNumber: string;

    /* tslint:enable variable-name */

    constructor(
        id = 0,
        parentUnitId = 0,
        unitParent = '',
        unitId = 0,
        unit = '',
        registrationNumber = ''
    ) {
        super();
        this.ID = id;
        this.ID_UnitParent = parentUnitId;
        this.UnitParent = unitParent;
        this.ID_Unit = unitId;
        this.Unit = unit;
        this.RegistrationNumber = registrationNumber;
    }
}
