62 lines
1.2 KiB
TypeScript
62 lines
1.2 KiB
TypeScript
![]() |
export type User = {
|
||
|
address: string;
|
||
|
address_area: string;
|
||
|
address_detailed: string;
|
||
|
address_state: string;
|
||
|
address_street: string;
|
||
|
address_town: string;
|
||
|
auth: number;
|
||
|
base_standby_1: string;
|
||
|
base_standby_2: string;
|
||
|
base_standby_3: string;
|
||
|
base_standby_4: string;
|
||
|
base_standby_5: string;
|
||
|
birthday: string;
|
||
|
country: number;
|
||
|
create_time: string;
|
||
|
creator: null;
|
||
|
customer_type: number;
|
||
|
email: string;
|
||
|
first_name: string;
|
||
|
head_portrait: string;
|
||
|
ib_level: number;
|
||
|
ib_user_group: string;
|
||
|
id: number;
|
||
|
if_islam: number;
|
||
|
import_ver: null;
|
||
|
indirect_sub: null;
|
||
|
indirect_sub_cus: null;
|
||
|
insert_type: number;
|
||
|
last_edit_password_time: null;
|
||
|
last_login_time: null;
|
||
|
last_name: string;
|
||
|
name: string;
|
||
|
org_id: number;
|
||
|
password: null;
|
||
|
password_set_type: number;
|
||
|
phone: null;
|
||
|
phone_prefix: string;
|
||
|
postcode: string;
|
||
|
rebate_percentage: number;
|
||
|
remark: string;
|
||
|
residence: string;
|
||
|
role_id: number;
|
||
|
salesman_id: null;
|
||
|
sex: number;
|
||
|
share_id: null;
|
||
|
share_setting_id: null;
|
||
|
share_type: null;
|
||
|
status: number;
|
||
|
superior_id: null;
|
||
|
update_time: string;
|
||
|
updator: number;
|
||
|
user_code: string;
|
||
|
user_type: number;
|
||
|
};
|
||
|
export type Customer = User & {
|
||
|
customerType: number;
|
||
|
};
|
||
|
export type IB = User & {
|
||
|
ibLevel: number;
|
||
|
};
|