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

export class UnitRegistrationAllOutput extends BaseOutput {
    /* tslint:disable variable-name */
    ID: number;
    ID_Unit: number;
    Unit: string;
    Year: number;
    IsDelivered: boolean;
    IsAccepted: boolean;

    /* tslint:enable variable-name */

    constructor(
        id = 0,
        unitId = 0,
        unit = '',
        year = 0,
        isDelivered = false,
        isAccepted = false
    ) {
        super();
        this.ID = id;
        this.ID_Unit = unitId;
        this.Unit = unit;
        this.Year = year;
        this.IsDelivered = isDelivered;
        this.IsAccepted = isAccepted;
    }
}
