@tomei/product
Version:
NestJS package for product module
36 lines (35 loc) • 1.31 kB
TypeScript
import { Model } from 'sequelize-typescript';
import { StockInventory } from './stock-inventory.entity';
import { StockTag } from './stock-tag.entity';
import { StockCustomizeOption } from './stock-customize-option.entity';
import { StockSupplierPart } from './stock-supplier-part.entity';
import { StockProfileMaterial } from './stock-profile-material.entity';
import { InventoryTypeEnum } from '../enum/inventory-type.enum';
import { UOMEnum } from '../enum/uom.enum';
export declare class StockProfile extends Model {
ProfileId: string;
Name: string;
Description: string;
InventoryType: InventoryTypeEnum;
UOM: UOMEnum;
Category: string;
CategoryType: string;
TotalUnits: number;
TotalUnitsAvailable: number;
TotalUnitsInCurrentOrder: number;
TotalUnitsSold: number;
TotalUnitsReserved: number;
TotalUnitsOnConsignment: number;
TotalUnitsVoid: number;
TotalUnitsInTransit: number;
TotalUnitsBackOrdered: number;
CreatedById: string;
CreatedAt: Date;
UpdatedById: string;
UpdatedAt: Date;
StockInventories: StockInventory[];
Tags: StockTag[];
CustomizeOptions: StockCustomizeOption[];
SupplierParts: StockSupplierPart[];
StockProfileMaterial: StockProfileMaterial[];
}