Files
boursecu_admin/src/model/wallet.ts
T

52 lines
906 B
TypeScript

import type { User } from '@/model/user'
export interface Wallet {
owner: number
id: number
gold: number
cash: number
customer: User
}
export interface WithdrawTransaction {
title?: string
gold?: number
}
export interface Withdraw {
id?: number
customer_id?: number
user_id?: number
cash?: number
gold?: number
note?: string
tracked_number?: string
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 }
transaction?: WithdrawTransaction[]
}
export interface Charge {
value?: number
note?: string
customer_id?: number
talabBedehi?: boolean
}
export interface WithdrawStatus {
icon: string
bgColor: string
color: string
}
export interface SendWeight {
weights: number[]
withdraw_id: number
customer_id: number
}