Files
ghatreh_user/src/models/login.ts
T
2025-10-20 18:26:45 +03:30

65 lines
1.1 KiB
TypeScript

/*
export interface UserMobile {
mobile: string
}
export interface UserPassword {
password: string
}
export interface Token {
access_token: string
}
*/
import type {PWallet, Wallet, Wallets} from '@/models/wallet'
export interface User {
id: number;
fname: string;
lname: string;
name: string;
active: boolean;
mobile: string;
avatar_id?: any;
last_seen_at: string;
default_address_id?: any;
sts?: any;
gold_sum?: number
type: number;
total_transaction: number;
orders_count: number;
birth_date: string;
shop_name: string;
phone_number?: any;
city?: any;
province?: any;
n_code: string;
is_archive: boolean;
trade_active: number;
referral_id: string;
gram: number;
is_legal: number;
created_at: string;
updated_at: string;
access_token?: string;
deleted_at?: any;
wallet: Wallet;
pwallet:PWallet;
wallets: Wallets
virtual_card_number: string
finger_print: boolean
gold: number;
}
export interface Login {
id?: number
mobile?: string
password?: string
token?: string
provider: string
}
export interface Password{
password?: string
}