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

export class WarehouseItemRentInsert extends BaseInput {
    /* tslint:disable variable-name */
    ID_Login: string;
    ID_WarehouseItem: number[];
    ID_WarehouseItemReservation: number;
    StartDate: string;
    Note: string;

    /* tslint:enable variable-name */

    constructor(appId = APP_ID, loginId = '', itemId = 0, reservationId = 0, startDate = '', note = '') {
        super(appId);
        this.ID_Login = loginId;
        this.ID_WarehouseItem = [];
        this.ID_WarehouseItem.push(itemId);
        this.ID_WarehouseItemReservation = reservationId;
        this.StartDate = startDate;
        this.Note = note;
    }
}
