fix: harden financial transaction boundaries
This commit is contained in:
@@ -12,6 +12,9 @@ export class WalletTransaction {
|
||||
@Column({ name: 'bill_id', type: 'integer', nullable: true })
|
||||
billId: number | null;
|
||||
|
||||
@Column({ name: 'operation_id', type: 'varchar', length: 64, nullable: true })
|
||||
operationId: string | null;
|
||||
|
||||
@Column({ type: 'varchar', length: 30 })
|
||||
type: 'recharge' | 'adjustment' | 'bill_payment' | 'bill_refund';
|
||||
|
||||
|
||||
Reference in New Issue
Block a user