Files
boursecu_admin/src/model/transaction.ts
T
2026-07-21 22:26:46 +03:30

31 lines
735 B
TypeScript

import type { User } from '@/model/user'
export interface Transaction {
active: boolean
balance_cash: number
balance_gold: number
caj: string
cash: number
created_at: string
customer_id: number
expire_at: string
fund_id: number
gold: number
hash: string
id: number
note: number
metal_gold?: Record<string, number>
transaction_metal_id?: number
transaction_metal_label?: string
product_id?: number | null
product_title?: string | null
product?: { id?: number; title?: string | null; group_type?: string | null; metal_id?: number | null } | null
order_id: number
transaction_type: string
type: number
type_str: string
updated_at: string
value: number
wallet: number
customer: User
}