@experts_hub/shared
Version:
Shared DTOs, interfaces, and utilities for experts hub applications
19 lines (18 loc) • 592 B
TypeScript
import { BaseEntity } from "./base.entity";
import { User } from "./user.entity";
import { Job } from "./job.entity";
import { Contract } from "./contract.entity";
import { EscrowWalletTransaction } from "./escrow-wallet-transaction.entity";
export declare class EscrowWallet extends BaseEntity {
jobId: number;
job?: Job;
clientId: number;
client?: User;
freelancerId: number;
freelancer?: User;
contractId?: number;
contract?: Contract;
escrowBalance: string;
metadata: Record<string, any>;
escrowWalletTransactions: EscrowWalletTransaction[];
}