UNPKG

@tomei/product

Version:

NestJS package for product module

19 lines (18 loc) 995 B
import { LoginUser } from '@tomei/sso'; import { ProductBase } from '../../base'; import { ProductCollection } from '../collection-product/collection-product'; import { ObjectBase } from '@tomei/general'; export declare class ProductProductCollection extends ObjectBase { ObjectType: string; ObjectId: string; ObjectName: string; TableName: string; ProductCollectionId: string; Code: string; ProductId: string; private static _Repo; static CheckProductAssignToCollection(code: string, dbTransaction?: any): Promise<any>; static listCollectionAssignedToProduct(ProductId: string, loginUser: LoginUser, dbTransaction?: any): Promise<any>; static assignProductToCollection(Product: ProductBase, ProductCollection: ProductCollection, loginUser: LoginUser, dbTransaction?: any): Promise<any>; static unassignedProductFromCollection(Product: ProductBase, ProductCollection: ProductCollection, loginUser: LoginUser, dbTransaction?: any): Promise<any>; }