import { APP_ID } from '~/constants/api.constants';
import { BaseInput } from '~/core/entities/input/baseInput';

export class WarehouseItemAll extends BaseInput {
    /* tslint:disable variable-name */
    ID_Login: string;
    ID_Unit: number;
    IsDelete: boolean;
    ID_WarehouseArray: number[];
    IncludeChild: boolean;

    /* tslint:enable variable-name */

    constructor(appId = APP_ID, loginId = '', unitId = 0, isDelete = false, idWarehouses = undefined) {
        super(appId);
        this.ID_Login = loginId;
        this.ID_Unit = unitId;
        this.IsDelete = isDelete;
        this.ID_WarehouseArray = idWarehouses;
        this.IncludeChild = true;
    }
}
