blob: a63ea9db545de4e17bb88cef8ba33f54f68f69d5 [file] [log] [blame]
86133aaa3f5d2025-04-20 21:33:29 +08001export type GenCodeType = {
2 columnId: string;
3 businessName: string;
4 className: string;
5 createBy: string;
6 createTime: string;
7 crud: string;
8 functionAuthor: string;
9 functionName: string;
10 genPath: string;
11 genType: string;
12 moduleName: string;
13 options: string;
14 packageName: string;
15 params: string;
16 parentMenuId: string;
17 parentMenuName: string;
18 remark: string;
19 status: string;
20 isList: string;
21 isEdit: string;
22 isQuery: string;
23 isInsert: string;
24 isRequired: string;
25 tableComment: string;
26 tableId: string;
27 tableName: string;
28 tplCategory: string;
29 tree: string;
30 treeCode: number;
31 treeName: string;
32 treeParentCode: number;
33 updateBy: string;
34 updateTime: string;
35 columns: any;
36};
37
38export type GenCodePagination = {
39 total: number;
40 pageSize: number;
41 current: number;
42};
43
44export type GenCodeListData = {
45 list: GenCodeType[];
46 pagination: Partial<GenCodePagination>;
47};
48
49export type GenCodeTableListParams = {
50 businessName?: string;
51 className?: string;
52 createBy?: string;
53 createTime?: string;
54 crud?: string;
55 functionAuthor?: string;
56 functionName?: string;
57 genPath?: string;
58 genType?: string;
59 moduleName?: string;
60 isList?: string;
61 isEdit?: string;
62 isQuery?: string;
63 isInsert?: string;
64 isRequired?: string;
65 options?: string;
66 params?: any;
67 packageName?: string;
68 parentMenuId?: string;
69 columns?: any;
70 parentMenuName?: string;
71 remark?: string;
72 tableComment?: string;
73 tableId?: string;
74 tableName?: string;
75 tplCategory?: string;
76 tree?: string;
77 treeCode?: string;
78 treeName?: string;
79 treeParentCode?: string;
80 updateBy?: string;
81 updateTime?: string;
82 pageSize?: string;
83 currentPage?: string;
84 filter?: string;
85 sorter?: string;
86};
87
88export type TableColumnInfo = {
89 columnName: string;
90 columnComment: string;
91};
92
93export type TableInfo = {
94 tableName: string;
95 tableComment: string;
96 columns: TableColumnInfo[];
97};
98
99export type ImportTableListItem = {
100 tableName: string;
101 tableComment: string;
102};
103
104export type ImportTableParams = {
105 tables: string;
106};