UNPKG

@tomei/finance

Version:

NestJS package for finance module

37 lines 1.14 kB
import { Model } from 'sequelize-typescript'; import DocumentModel from './document.entity'; import AccountModel from './account.entity'; import { IDocumentItemAttr } from '../document/interfaces/document-item-attr.interface'; import { DiscountType } from '../enum/discount-type.enum'; export default class DocumentItemModel extends Model implements IDocumentItemAttr { DocumentItemId: string; DocNo: string; Name: string; NameBM: string; Description: string; ItemId: string; ItemType: string; ItemSKU: string; ItemSerialNo: string; Currency: string; UnitPrice: number; Quantity: number; QuantityUOM: string; AmountBeforeDiscount: number; Amount: number; DiscountType: DiscountType; DiscountValue: number; TaxCode: string; TaxAmount: number; TaxRate: number; TaxInclusiveYN: string; DtAccountNo: string; CtAccountNo: string; AccSystemRefId: string; PostedToAccSystemYN: string; PostedById: string; PostedDateTime: Date; Document: DocumentModel; Account: AccountModel; } //# sourceMappingURL=document-item.entity.d.ts.map