@tomei/finance
Version:
NestJS package for finance module
30 lines • 951 B
TypeScript
import { Model } from 'sequelize-typescript';
import { PaymentType, PaymentStatus } from '../enum';
import DocumentModel from './document.entity';
import PaymentItemModel from './payment-item.entity';
import PaymentPaidWithModel from './payment-paid-with.entity';
export default class PaymentModel extends Model {
PaymentId: string;
PaymentType: PaymentType;
PaymentDate: Date;
Description: string;
Currency: string;
Amount: number;
Status: PaymentStatus;
ReceivedBy: string;
IssuedBy: string;
UpdatedAt: Date;
UpdatedBy: string;
Remarks: string;
RelatedObjectId: string;
RelatedObjectType: string;
ReceiptDocNo: string;
AccSystemRefId: string;
PostedToAccSystemYN: string;
PostedById: string;
PostedDateTime: Date;
PaymentItems: PaymentItemModel[];
PaymentPaidWiths: PaymentPaidWithModel[];
Document: DocumentModel;
}
//# sourceMappingURL=payment.entity.d.ts.map