UNPKG

@experts_hub/shared

Version:

Shared DTOs, interfaces, and utilities for experts hub applications

24 lines (23 loc) 706 B
import { BaseEntity } from "./base.entity"; import { EscrowWallet } from "./escrow-wallet.entity"; import { Invoice } from "./invoice.entity"; export declare enum EscrowWalletTransactionTypeEnum { CR = "CR", DR = "DR" } export declare enum EscrowWalletTransactionForEnum { CONTRACT = "CONTRACT", INVOICE = "INVOICE" } export declare class EscrowWalletTransaction extends BaseEntity { escrowWalletId: number; escrowWallet: EscrowWallet; invoiceId?: number; invoice?: Invoice; amount: string; escrowType: EscrowWalletTransactionTypeEnum; description: string; completedAt: Date; escrowTransactionFor: EscrowWalletTransactionForEnum; metaData: string; }