Files
boursecu_user/src/models/transaction.ts
T

58 lines
1.2 KiB
TypeScript

import type {Order} from "@/models/order";
import type { Product } from '@/models/products'
import type { Wallet } from '@/models/wallet'
export interface Transaction {
active?: boolean
caj?: string
cash?: number
created_at?: string
customer_id?: number
expire_at?: string
fund_id?: number
gold?: number
unit: string
hash?: string
id?: number
note?: string | null
title: string
order_id?: number
transaction_type?: string
type?: number
type_str?: string
updated_at?: string
value?: number
sts_str?: string
order?: Order
withdraw?: Withdraw
sts?: number
transaction?: unknown[]
card_id?: number|string
eaj?: string
end_at?: string
send_receipt?: string
balance_cash?: number
balance_gold?: number
percentWallet?: number
wallet?: Wallet
product?: Product
otp?: string
extra_note?: string
tracked_number: number
}
export interface Withdraw {
id: number;
customer_id: number;
user_id?: any;
cash: number;
gold?: any;
tracked_number?: any;
date_at?: any;
sts: number;
created_at: string;
updated_at: string;
sts_str: string;
}