Files
boursecu_admin/src/model/wallet.ts
T

52 lines
906 B
TypeScript
Raw Normal View History

2026-01-24 17:45:54 +03:30
import type { User } from '@/model/user'
export interface Wallet {
owner: number
id: number
gold: number
cash: number
customer: User
}
2026-05-31 11:51:52 +03:30
export interface WithdrawTransaction {
title?: string
gold?: number
}
2026-01-24 17:45:54 +03:30
export interface Withdraw {
id?: number
customer_id?: number
user_id?: number
cash?: number
gold?: number
2026-05-31 11:51:52 +03:30
note?: string
tracked_number?: string
2026-01-24 17:45:54 +03:30
date_at?: string
sts?: number
created_at?: string
updated_at?: string
sts_str?: string
daj?: string
customer?: User
bank_account?: { cart_number?: string; shaba_number?: string }
2026-05-31 11:51:52 +03:30
transaction?: WithdrawTransaction[]
2026-01-24 17:45:54 +03:30
}
export interface Charge {
value?: number
note?: string
customer_id?: number
2026-05-25 10:49:08 +03:30
talabBedehi?: boolean
2026-01-24 17:45:54 +03:30
}
export interface WithdrawStatus {
icon: string
bgColor: string
color: string
}
export interface SendWeight {
weights: number[]
withdraw_id: number
customer_id: number
}