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

export class WarehouseItemDetailOutput extends BaseOutput {
    /* tslint:disable variable-name */
    ID: number;
    ID_Unit: number;
    ID_WarehouseItemCategory: string;
    WarehouseItemCategory: string;
    ID_Warehouse: number;
    DisplayName: string;
    Description: string;
    PurchaseDate: string;
    ID_PurchaseType: string;
    PurchaseType: string;
    InventoryNumber: string;
    PurchaseNote: string;
    SerialNumber: string;
    AccountNumber: string;
    PurchasePrice: number;
    ActualPrice: number;
    EventRent: boolean;
    UnitRent: boolean;
    CommercialRent: boolean;
    RentPrice: number;
    RentNote: string;
    Note: string;
    IsInWarehouse: boolean;
    WarehouseName: string;
    WarehouseUnitRegistrationNumber: string;
    InventoryDate: string;

    DeletionDate: string;
    DeletionNote: string;

    ID_Document: number;
    ID_DocumentSmall: number;
    ID_DocumentBig: number;
    /* tslint:enable variable-name */

    constructor(id = 0, unitId = 0, categoryId = '', category = '', description = '', purchaseDate = '', warehouseId = 0,
                displayName = '', purchaseId = '', purchaseType = '', inventoryNumber = '', purchaseNote = '', serialNumber = '',
                accountNumber = '', purchasePrice = 0, actualPrice = 0, eventRent = false, unitRent = false, commercialRent = false,
                rentPrice = 0, rentNote = '', note = '', isInWarehouse = false, warehouseName = '', warehouseRegistrationNumber = '', inventoryDate = '',
                deletionDate = '', deletionNote = '', docId = null, docSmallId = null, docBigId = null) {
        super();
        this.ID = id;
        this.ID_Unit = unitId;
        this.ID_WarehouseItemCategory = categoryId;
        this.WarehouseItemCategory = category;
        this.Description = description;
        this.PurchaseDate = purchaseDate;
        this.ID_Warehouse = warehouseId;
        this.DisplayName = displayName;
        this.ID_PurchaseType = purchaseId;
        this.PurchaseType  = purchaseType;
        this.InventoryNumber = inventoryNumber;
        this.PurchaseNote = purchaseNote;
        this.SerialNumber = serialNumber;
        this.AccountNumber = accountNumber;
        this.PurchasePrice = purchasePrice;
        this.ActualPrice = actualPrice;
        this.EventRent = eventRent;
        this.UnitRent = unitRent;
        this.CommercialRent = commercialRent;
        this.RentPrice = rentPrice;
        this.RentNote = rentNote;
        this.Note = note;
        this.IsInWarehouse = isInWarehouse;
        this.WarehouseName = warehouseName;
        this.WarehouseUnitRegistrationNumber = warehouseRegistrationNumber;
        this.InventoryDate  = inventoryDate;
        this.DeletionDate = deletionDate;
        this.DeletionNote = deletionNote;
        this.ID_Document = docId;
        this.ID_DocumentSmall = docSmallId;
        this.ID_DocumentBig = docBigId;
    }

}
