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

export class WarehouseItemReservationDetailOutput extends BaseOutput {
    /* tslint:disable variable-name */
    ID: number;
    ID_User: number;
    ID_Submitter: number;
    Submitter: string;
    ID_Warehouse: number;
    Warehouse: string;
    ID_Unit: number;
    Unit: string;
    UnitRegistrationNumber: string;
    ID_WarehouseOrigin: number;
    WarehouseOrigin: string;
    ID_UnitOrigin: number;
    UnitOrigin: string;
    UnitOriginRegistrationNumber: string;
    ID_WarehouseItem: number;
    WarehouseItem: string;
    ID_WarehouseItemReservationState: string;
    WarehouseItemReservationState: string;
    EstimatedStartDate: string;
    EstimatedEndDate: string;
    RealStartDate: string;
    RealEndDate: string;
    Person: string;
    Phone: string;
    Email: string;
    Note: string;
    Returned: boolean;

    /* tslint:enable variable-name */

    constructor(id = 0, userId = 0, submitterId = 0, submitter = '', warehouseId = 0, warehouse = '', unitId = 0, unit = '', unitRegiNumber = '',
                warehouseOriginId = 0, warehouseOrigin = '', unitOriginId = 0, unitOrigin = '', unitOriginRegNumber = '', warehouseItemId = 0, warehouseItem = '',
                warehouseItemReservationStateId = '', warehouseItemReservationState = '', estStartDate = '', estEndDate = '', realStateDate = '', realEndDate = '',
                person = '', phone = '', email = '', note = '', returned = false) {
        super();
        this.ID = id;
        this.ID_User = userId;
        this.ID_Submitter = submitterId;
        this.Submitter = submitter;
        this.ID_Warehouse = warehouseId;
        this.Warehouse = warehouse;
        this.ID_Unit = unitId;
        this.Unit = unit;
        this.UnitRegistrationNumber = unitRegiNumber;
        this.ID_WarehouseOrigin = warehouseOriginId;
        this.WarehouseOrigin = warehouseOrigin;
        this.ID_UnitOrigin = unitOriginId;
        this.UnitOrigin = unitOrigin;
        this.UnitOriginRegistrationNumber = unitOriginRegNumber;
        this.ID_WarehouseItem = warehouseItemId;
        this.WarehouseItem = warehouseItem;
        this.ID_WarehouseItemReservationState = warehouseItemReservationStateId;
        this.WarehouseItemReservationState = warehouseItemReservationState;
        this.EstimatedStartDate = estStartDate;
        this.EstimatedEndDate = estEndDate;
        this.RealStartDate = realStateDate;
        this.RealEndDate = realEndDate;
        this.Person = person;
        this.Phone = phone;
        this.Email = email;
        this.Note = note;
        this.Returned = returned;

    }

}
