user.ts
1.04 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
// eslint-disable-next-line import/no-cycle
import { Project } from '@/types/project';
// eslint-disable-next-line import/no-cycle
import { Tag } from '@/types/tag';
// eslint-disable-next-line import/no-cycle
import { SystemRole } from '@/types/system-role';
export interface User {
id: number;
business_id?: number;
open_id?: string;
avatar?: string;
nick_name: string;
real_name: string;
phone?: string;
email?: string;
intro?: string;
company?: string;
rate?: string;
province?: string;
city?: string;
sound?: string;
role?: 'Singer' | 'Business';
sex?: number;
scope?: number;
like_activities_count?: number;
status?: number;
official_status?: number;
audit_status?: number;
last_login?: string;
created_at?: string;
updated_at?: string;
projects?: Project[];
manage_projects?: Project[];
roles?: SystemRole[];
styles?: Tag[];
tags?: Tag[];
voices?: Tag[];
skills?: Tag[];
identities?: Tag[];
business?: User;
style_tags?: Tag[];
auth_tags?: Tag[];
identity: number;
area_code: string;
}