export class LoadItemDetail {
    static readonly type = '[Material] Load ItemDetailMaterialUpdate';

    constructor(public id: number) {
    }
}

export class LoadWarehouseAll {
    static readonly type = '[Material] Load WarehouseAllMaterialUpdate';
}

export class LoadWarehouseItemCategoryAll {
    static readonly type = '[Material] Load WarehouseItemCategoryAllMaterialUpdate';
}

export class LoadPurchaseTypeAll {
    static readonly type = '[Material] Load PurchaseTypeAllMaterialUpdate';
}

export class CreateItemUpdate {
    static readonly type = '[Material] Create ItemUpdateMaterialUpdate';

    constructor(
        public id: number,
        public displayName: string,
        public idWarehouse: number,
        public idCategory: string,
        public invNumber: string,
        public description: string,
        public purchDate: string,
        public purchaseType: string,
        public purchaseNote: string,
        public serNumber: string,
        public accountNumber: string,
        public purchasePrice: number,
        public actualPrice: number,
        public eventRent: boolean,
        public unitRent: boolean,
        public commercialRent: boolean,
        public rentPrice: number,
        public rentNote: string,
        public note: string
    ) {}
}
