2026-01-24 17:45:54 +03:30
|
|
|
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
|
2026-06-23 22:31:07 +03:30
|
|
|
metal_gold?: Record<string, number>
|
|
|
|
|
transaction_metal_id?: number
|
|
|
|
|
transaction_metal_label?: string
|
2026-07-21 22:26:46 +03:30
|
|
|
product_id?: number | null
|
|
|
|
|
product_title?: string | null
|
|
|
|
|
product?: { id?: number; title?: string | null; group_type?: string | null; metal_id?: number | null } | null
|
2026-01-24 17:45:54 +03:30
|
|
|
order_id: number
|
|
|
|
|
transaction_type: string
|
|
|
|
|
type: number
|
|
|
|
|
type_str: string
|
|
|
|
|
updated_at: string
|
|
|
|
|
value: number
|
|
|
|
|
wallet: number
|
|
|
|
|
customer: User
|
|
|
|
|
}
|