29 lines
505 B
TypeScript
29 lines
505 B
TypeScript
|
|
export type Cust = {
|
||
|
|
id: number
|
||
|
|
admin_id?: number
|
||
|
|
phone: string
|
||
|
|
admin?: Admin
|
||
|
|
has_password: boolean
|
||
|
|
username: string
|
||
|
|
email: string
|
||
|
|
name: string
|
||
|
|
avatar: string
|
||
|
|
status: number
|
||
|
|
balance: number
|
||
|
|
id_type: number
|
||
|
|
id_no: string
|
||
|
|
id_token: string
|
||
|
|
contact_qq: string
|
||
|
|
contact_wechat: string
|
||
|
|
last_login: Date
|
||
|
|
last_login_host: string
|
||
|
|
last_login_agent: string
|
||
|
|
last_login_ip: string
|
||
|
|
created_at: Date
|
||
|
|
updated_at: Date
|
||
|
|
}
|
||
|
|
export type Admin = {
|
||
|
|
name: string
|
||
|
|
password: string
|
||
|
|
}
|