38 lines
709 B
TypeScript
38 lines
709 B
TypeScript
import type { User } from '@/model/user'
|
|||
|
|
import type { Wallet } from '@/model/wallet'
|
||
|
|
|
||
|
|
export interface AddId {
|
||
|
|
id: number
|
||
|
|
}
|
||
|
|
|
||
|
|
export interface Customer {
|
||
|
|
id: number
|
||
|
|
fname: string
|
||
|
|
lname: string
|
||
|
|
name: string
|
||
|
|
mobile: string
|
||
|
|
password: string
|
||
|
|
avatar_id: number
|
||
|
|
active: boolean
|
||
|
|
// email: string
|
||
|
|
birth_date: string
|
||
|
|
created_at: string
|
||
|
|
gram: number
|
||
|
|
shop_name: string
|
||
|
|
phone_number: string
|
||
|
|
referral_to_id: string
|
||
|
|
referral_id: string
|
||
|
|
referral: Customer
|
||
|
|
city: string
|
||
|
|
province: string
|
||
|
|
wallet: Wallet
|
||
|
|
n_code: string | number
|
||
|
|
last_seen_at:string
|
||
|
|
profit_amount: number
|
||
|
|
add_user_limit: number
|
||
|
|
trade_active: boolean
|
||
|
|
type_str: string
|
||
|
|
gold: number
|
||
|
|
// print_name: string
|
||
|
|
}
|