|
@@ -0,0 +1,959 @@
|
|
1
|
+{
|
|
2
|
+ "name": "db-yun-shake",
|
|
3
|
+ "describe": "摇一摇数据库",
|
|
4
|
+ "avatar": "",
|
|
5
|
+ "version": "3.5.6",
|
|
6
|
+ "createdTime": "2021-11-29 11:10:41",
|
|
7
|
+ "updatedTime": "2021-11-29 11:17:52",
|
|
8
|
+ "profile": {
|
|
9
|
+ "default": {
|
|
10
|
+ "db": "CAC640A8-7EA4-468A-B050-60BA0683ABEB",
|
|
11
|
+ "dbConn": "",
|
|
12
|
+ "entityInitFields": [
|
|
13
|
+ {
|
|
14
|
+ "defKey": "TENANT_ID",
|
|
15
|
+ "defName": "租户号",
|
|
16
|
+ "comment": "",
|
|
17
|
+ "type": "",
|
|
18
|
+ "len": 32,
|
|
19
|
+ "scale": "",
|
|
20
|
+ "primaryKey": false,
|
|
21
|
+ "notNull": false,
|
|
22
|
+ "autoIncrement": false,
|
|
23
|
+ "defaultValue": "",
|
|
24
|
+ "hideInGraph": true,
|
|
25
|
+ "domain": "C6B137A5-E4EB-4C98-BC14-EAE41AC3D9C3",
|
|
26
|
+ "refDict": "",
|
|
27
|
+ "uiHint": "",
|
|
28
|
+ "id": "597B8EA3-4213-4A81-8D96-ED037484D03A"
|
|
29
|
+ },
|
|
30
|
+ {
|
|
31
|
+ "defKey": "REVISION",
|
|
32
|
+ "defName": "乐观锁",
|
|
33
|
+ "comment": "",
|
|
34
|
+ "domain": "C6B137A5-E4EB-4C98-BC14-EAE41AC3D9C3",
|
|
35
|
+ "type": "",
|
|
36
|
+ "len": 32,
|
|
37
|
+ "scale": "",
|
|
38
|
+ "primaryKey": false,
|
|
39
|
+ "notNull": false,
|
|
40
|
+ "autoIncrement": false,
|
|
41
|
+ "defaultValue": "",
|
|
42
|
+ "hideInGraph": true,
|
|
43
|
+ "refDict": "",
|
|
44
|
+ "uiHint": "",
|
|
45
|
+ "id": "1173661F-8659-4D6A-ABB1-DBAF76F5E9A3"
|
|
46
|
+ },
|
|
47
|
+ {
|
|
48
|
+ "defKey": "CREATED_BY",
|
|
49
|
+ "defName": "创建人",
|
|
50
|
+ "comment": "",
|
|
51
|
+ "domain": "C6B137A5-E4EB-4C98-BC14-EAE41AC3D9C3",
|
|
52
|
+ "type": "",
|
|
53
|
+ "len": 32,
|
|
54
|
+ "scale": "",
|
|
55
|
+ "primaryKey": false,
|
|
56
|
+ "notNull": false,
|
|
57
|
+ "autoIncrement": false,
|
|
58
|
+ "defaultValue": "",
|
|
59
|
+ "hideInGraph": true,
|
|
60
|
+ "refDict": "",
|
|
61
|
+ "uiHint": "",
|
|
62
|
+ "id": "426F58D7-A389-4632-9BED-3C61EB58FDF8"
|
|
63
|
+ },
|
|
64
|
+ {
|
|
65
|
+ "defKey": "CREATED_TIME",
|
|
66
|
+ "defName": "创建时间",
|
|
67
|
+ "comment": "",
|
|
68
|
+ "domain": "2A139172-C63F-4517-8297-679EBF1F0E82",
|
|
69
|
+ "type": "",
|
|
70
|
+ "len": "",
|
|
71
|
+ "scale": "",
|
|
72
|
+ "primaryKey": false,
|
|
73
|
+ "notNull": false,
|
|
74
|
+ "autoIncrement": false,
|
|
75
|
+ "defaultValue": "",
|
|
76
|
+ "hideInGraph": true,
|
|
77
|
+ "refDict": "",
|
|
78
|
+ "uiHint": "",
|
|
79
|
+ "id": "C677F4F9-4C6C-4F15-A830-1A8FD02D9F20"
|
|
80
|
+ },
|
|
81
|
+ {
|
|
82
|
+ "defKey": "UPDATED_BY",
|
|
83
|
+ "defName": "更新人",
|
|
84
|
+ "comment": "",
|
|
85
|
+ "domain": "C6B137A5-E4EB-4C98-BC14-EAE41AC3D9C3",
|
|
86
|
+ "type": "",
|
|
87
|
+ "len": 32,
|
|
88
|
+ "scale": "",
|
|
89
|
+ "primaryKey": false,
|
|
90
|
+ "notNull": false,
|
|
91
|
+ "autoIncrement": false,
|
|
92
|
+ "defaultValue": "",
|
|
93
|
+ "hideInGraph": true,
|
|
94
|
+ "refDict": "",
|
|
95
|
+ "uiHint": "",
|
|
96
|
+ "id": "AB6FF4C1-A90C-4CB7-8114-321A1569CA7A"
|
|
97
|
+ },
|
|
98
|
+ {
|
|
99
|
+ "defKey": "UPDATED_TIME",
|
|
100
|
+ "defName": "更新时间",
|
|
101
|
+ "comment": "",
|
|
102
|
+ "domain": "2A139172-C63F-4517-8297-679EBF1F0E82",
|
|
103
|
+ "type": "",
|
|
104
|
+ "len": "",
|
|
105
|
+ "scale": "",
|
|
106
|
+ "primaryKey": false,
|
|
107
|
+ "notNull": false,
|
|
108
|
+ "autoIncrement": false,
|
|
109
|
+ "defaultValue": "",
|
|
110
|
+ "hideInGraph": true,
|
|
111
|
+ "refDict": "",
|
|
112
|
+ "uiHint": "",
|
|
113
|
+ "id": "2E867DD0-644D-4E54-802D-24549E7C830F"
|
|
114
|
+ }
|
|
115
|
+ ],
|
|
116
|
+ "entityInitProperties": {}
|
|
117
|
+ },
|
|
118
|
+ "sql": {
|
|
119
|
+ "delimiter": ""
|
|
120
|
+ },
|
|
121
|
+ "dataTypeSupports": [
|
|
122
|
+ {
|
|
123
|
+ "defKey": "MYSQL",
|
|
124
|
+ "id": "CAC640A8-7EA4-468A-B050-60BA0683ABEB"
|
|
125
|
+ },
|
|
126
|
+ {
|
|
127
|
+ "defKey": "ORACLE",
|
|
128
|
+ "id": "B3D8E528-C8E5-4B29-ACE7-D9A6E0FD3770"
|
|
129
|
+ },
|
|
130
|
+ {
|
|
131
|
+ "defKey": "SQLServer",
|
|
132
|
+ "id": "F85C9490-4987-46B7-80D7-F75B4467A57B"
|
|
133
|
+ },
|
|
134
|
+ {
|
|
135
|
+ "defKey": "PostgreSQL",
|
|
136
|
+ "id": "F2B14C22-8E9C-4984-A9A0-DAD4B21261AD"
|
|
137
|
+ },
|
|
138
|
+ {
|
|
139
|
+ "defKey": "DB2",
|
|
140
|
+ "id": "6A186D6A-D46D-4764-9331-3DD51ACB87F1"
|
|
141
|
+ },
|
|
142
|
+ {
|
|
143
|
+ "defKey": "DM",
|
|
144
|
+ "id": "D2B1F8D4-8A54-4FB9-BCF1-B169E4AB2AB5"
|
|
145
|
+ },
|
|
146
|
+ {
|
|
147
|
+ "defKey": "GaussDB",
|
|
148
|
+ "id": "7F7EA89E-A849-4B6E-BAED-0C72537C4E1B"
|
|
149
|
+ },
|
|
150
|
+ {
|
|
151
|
+ "defKey": "Kingbase",
|
|
152
|
+ "id": "296239AB-5B83-4818-AE22-436E0AB52C8F"
|
|
153
|
+ },
|
|
154
|
+ {
|
|
155
|
+ "defKey": "MaxCompute",
|
|
156
|
+ "id": "F4C97EC7-33F6-4A10-AE28-22EE09124859"
|
|
157
|
+ },
|
|
158
|
+ {
|
|
159
|
+ "defKey": "JAVA",
|
|
160
|
+ "id": "B49BA22D-A83F-44AE-A430-3F1B856DE2A8"
|
|
161
|
+ },
|
|
162
|
+ {
|
|
163
|
+ "defKey": "C#",
|
|
164
|
+ "id": "394EB19D-19B6-419A-BFCA-0FD45FFC8C33"
|
|
165
|
+ },
|
|
166
|
+ {
|
|
167
|
+ "defKey": "SQLite",
|
|
168
|
+ "id": "A44522DB-3350-4D8B-96D6-E270B9689444"
|
|
169
|
+ }
|
|
170
|
+ ],
|
|
171
|
+ "codeTemplates": [
|
|
172
|
+ {
|
|
173
|
+ "type": "dbDDL",
|
|
174
|
+ "applyFor": "CAC640A8-7EA4-468A-B050-60BA0683ABEB",
|
|
175
|
+ "isDefault": true,
|
|
176
|
+ "createTable": "DROP TABLE IF EXISTS {{=it.entity.defKey}};\nCREATE TABLE {{=it.entity.defKey}}(\n{{ pkList = [] ; }}\n{{~it.entity.fields:field:index}}\n {{? field.primaryKey }}{{ pkList.push(field.defKey) }}{{?}}\n {{=field.defKey}} {{=field.type}}{{?field.len>0}}{{='('}}{{=field.len}}{{?field.scale>0}}{{=','}}{{=field.scale}}{{?}}{{=')'}}{{?}} {{= field.notNull ? 'NOT NULL' : '' }} {{= field.autoIncrement ? 'AUTO_INCREMENT' : '' }} {{= field.defaultValue ? it.func.join('DEFAULT',field.defaultValue,' ') : '' }} COMMENT '{{=it.func.join(field.defName,field.comment,';')}}' {{= index < it.entity.fields.length-1 ? ',' : ( pkList.length>0 ? ',' :'' ) }}\n{{~}}\n{{? pkList.length >0 }}\n PRIMARY KEY ({{~pkList:pkName:i}}{{= pkName }}{{= i<pkList.length-1 ? ',' : '' }}{{~}})\n{{?}}\n) COMMENT = '{{=it.func.join(it.entity.defName,it.entity.comment,';') }}';\n$blankline\n",
|
|
177
|
+ "createIndex": "{{~ it.entity.indexes:index}}\nCREATE {{? index.unique}}UNIQUE {{?}}INDEX {{=index.defKey}} ON {{=it.entity.defKey}}({{ fieldsKeys = index.fields.map(function(field){return field.fieldDefKey}) ; }}{{=it.func.join(...fieldsKeys,',')}});\n{{~}}",
|
|
178
|
+ "createView": "CREATE VIEW {{=it.view.defKey}} AS\nSELECT \n{{~it.view.fields:field:index}}\n {{=field.refEntity}}.{{=field.refEntityField}} AS {{=field.defKey}}{{= index < it.view.fields.length-1 ? ',' : ''}}\n{{~}}\nFROM {{~it.view.refEntities:refEntity:index}}{{=refEntity}}{{= index < it.view.refEntities.length-1 ? ',' : ''}}{{~}};\n$blankline\n"
|
|
179
|
+ },
|
|
180
|
+ {
|
|
181
|
+ "type": "dbDDL",
|
|
182
|
+ "applyFor": "B3D8E528-C8E5-4B29-ACE7-D9A6E0FD3770",
|
|
183
|
+ "isDefault": true,
|
|
184
|
+ "createTable": "CREATE TABLE {{=it.entity.defKey}}(\n{{ pkList = [] ; }}\n{{~it.entity.fields:field:index}}\n {{? field.primaryKey }}{{ pkList.push(field.defKey) }}{{?}}\n {{=field.defKey}} {{=field.type}}{{?field.len>0}}{{='('}}{{=field.len}}{{?field.scale>0}}{{=','}}{{=field.scale}}{{?}}{{=')'}}{{?}}{{= field.defaultValue ? it.func.join(' DEFAULT ',field.defaultValue,' ') : '' }}{{= field.notNull ? ' NOT NULL' : '' }}{{= field.autoIncrement ? '' : '' }}{{= index < it.entity.fields.length-1 ? ',' : ( pkList.length>0 ? ',' :'' ) }}\n{{~}}\n{{? pkList.length >0 }}\n PRIMARY KEY ({{~pkList:pkName:i}}{{= pkName }}{{= i<pkList.length-1 ? ',' : '' }}{{~}})\n{{?}}\n);\n$blankline\n{{? it.entity.defKey || it.entity.defName}}COMMENT ON TABLE {{=it.entity.defKey}} IS '{{=it.func.join(it.entity.defName,it.entity.comment,';')}}';{{?}}\n{{~it.entity.fields:field:index}}\n{{? field.defName || field.comment}}COMMENT ON COLUMN {{=it.entity.defKey}}.{{=field.defKey}} IS '{{=it.func.join(field.defName,field.comment,';')}}';{{?}}\n{{~}}",
|
|
185
|
+ "createIndex": "{{~ it.entity.indexes:index}}\nCREATE {{? index.unique}}UNIQUE {{?}}INDEX {{=index.defKey}} ON {{=it.entity.defKey}}({{ fieldsKeys = index.fields.map(function(field){return field.fieldDefKey}) ; }}{{=it.func.join(...fieldsKeys,',')}});\n{{~}}",
|
|
186
|
+ "createView": "CREATE VIEW {{=it.view.defKey}} AS\nSELECT \n{{~it.view.fields:field:index}}\n {{=field.refEntity}}.{{=field.refEntityField}} AS {{=field.defKey}}{{= index < it.view.fields.length-1 ? ',' : ''}}\n{{~}}\nFROM {{~it.view.refEntities:refEntity:index}}{{=refEntity}}{{= index < it.view.refEntities.length-1 ? ',' : ''}}{{~}};\n$blankline\n"
|
|
187
|
+ },
|
|
188
|
+ {
|
|
189
|
+ "type": "dbDDL",
|
|
190
|
+ "applyFor": "F85C9490-4987-46B7-80D7-F75B4467A57B",
|
|
191
|
+ "isDefault": true,
|
|
192
|
+ "createTable": "IF EXISTS (SELECT * FROM sys.objects WHERE object_id = OBJECT_ID(N'[dbo].[{{=it.entity.defKey}}]') AND type in (N'U'))\nDROP TABLE [dbo].[{{=it.entity.defKey}}];\n\nCREATE TABLE [dbo].[{{=it.entity.defKey}}](\n{{ pkList = [] ; }}\n{{~it.entity.fields:field:index}}\n {{? field.primaryKey }}{{ pkList.push(field.defKey) }}{{?}}\n {{=field.defKey}} {{=field.type}}{{?field.len>0}}{{='('}}{{=field.len}}{{?field.scale>0}}{{=','}}{{=field.scale}}{{?}}{{=')'}}{{?}}{{= field.notNull ? ' NOT NULL' : '' }}{{= field.autoIncrement ? ' IDENTITY(1,1)' : '' }}{{= field.defaultValue ? it.func.join(' DEFAULT ',field.defaultValue,' ') : '' }}{{= index < it.entity.fields.length-1 ? ',' : ( pkList.length>0 ? ',' :'' ) }}\n{{~}}\n{{? pkList.length >0 }}\n PRIMARY KEY ({{~pkList:pkName:i}}{{= pkName }}{{= i<pkList.length-1 ? ',' : '' }}{{~}})\n{{?}}\n){{=it.separator}}\n$blankline\n{{? it.entity.defKey || it.entity.defName}}EXEC sp_addextendedproperty 'MS_Description', '{{=it.func.join(it.entity.defName,it.entity.comment,';')}}', 'SCHEMA', dbo, 'table', {{=it.entity.defKey}}, null, null;{{?}}\n{{~it.entity.fields:field:index}}\nEXEC sp_addextendedproperty 'MS_Description', '{{=it.func.join(field.defName,field.comment,';')}}', 'SCHEMA', dbo, 'table', {{=it.entity.defKey}}, 'column', {{=field.defKey}};\n{{~}}\n",
|
|
193
|
+ "createIndex": "{{~ it.entity.indexes:index}}\nCREATE {{? index.unique}}UNIQUE {{?}}INDEX {{=index.defKey}} ON {{=it.entity.defKey}}({{ fieldsKeys = index.fields.map(function(field){return field.fieldDefKey}) ; }}{{=it.func.join(...fieldsKeys,',')}});\n{{~}}",
|
|
194
|
+ "createView": "CREATE VIEW {{=it.view.defKey}} AS\nSELECT \n{{~it.view.fields:field:index}}\n {{=field.refEntity}}.{{=field.refEntityField}} AS {{=field.defKey}}{{= index < it.view.fields.length-1 ? ',' : ''}}\n{{~}}\nFROM {{~it.view.refEntities:refEntity:index}}{{=refEntity}}{{= index < it.view.refEntities.length-1 ? ',' : ''}}{{~}};\n$blankline\n"
|
|
195
|
+ },
|
|
196
|
+ {
|
|
197
|
+ "type": "dbDDL",
|
|
198
|
+ "applyFor": "F2B14C22-8E9C-4984-A9A0-DAD4B21261AD",
|
|
199
|
+ "isDefault": true,
|
|
200
|
+ "createTable": "DROP TABLE IF EXISTS {{=it.entity.defKey}};\nCREATE TABLE {{=it.entity.defKey}}(\n{{ pkList = [] ; }}\n{{~it.entity.fields:field:index}}\n {{? field.primaryKey }}{{ pkList.push(field.defKey) }}{{?}}\n {{=field.defKey}} {{=field.type}}{{?field.len>0}}{{='('}}{{=field.len}}{{?field.scale>0}}{{=','}}{{=field.scale}}{{?}}{{=')'}}{{?}}{{= field.notNull ? ' NOT NULL' : '' }}{{= field.autoIncrement ? ' AUTO_INCREMENT' : '' }}{{= field.defaultValue ? it.func.join(' DEFAULT ',field.defaultValue,' ') : '' }}{{= index < it.entity.fields.length-1 ? ',' : ( pkList.length>0 ? ',' :'' ) }}\n{{~}}\n{{? pkList.length >0 }}\n PRIMARY KEY ({{~pkList:pkName:i}}{{= pkName }}{{= i<pkList.length-1 ? ',' : '' }}{{~}})\n{{?}}\n);\n$blankline\n{{? it.entity.defKey || it.entity.defName}}COMMENT ON TABLE {{=it.entity.defKey}} IS '{{=it.func.join(it.entity.defName,it.entity.comment,';')}}';{{?}}\n{{~it.entity.fields:field:index}}\n{{? field.defName || field.comment}}COMMENT ON COLUMN {{=it.entity.defKey}}.{{=field.defKey}} IS '{{=it.func.join(field.defName,field.comment,';')}}';{{?}}\n{{~}}",
|
|
201
|
+ "createIndex": "{{~ it.entity.indexes:index}}\nCREATE {{? index.unique}}UNIQUE {{?}}INDEX {{=index.defKey}} ON {{=it.entity.defKey}}({{ fieldsKeys = index.fields.map(function(field){return field.fieldDefKey}) ; }}{{=it.func.join(...fieldsKeys,',')}});\n{{~}}",
|
|
202
|
+ "createView": "CREATE VIEW {{=it.view.defKey}} AS\nSELECT \n{{~it.view.fields:field:index}}\n {{=field.refEntity}}.{{=field.refEntityField}} AS {{=field.defKey}}{{= index < it.view.fields.length-1 ? ',' : ''}}\n{{~}}\nFROM {{~it.view.refEntities:refEntity:index}}{{=refEntity}}{{= index < it.view.refEntities.length-1 ? ',' : ''}}{{~}};\n$blankline\n"
|
|
203
|
+ },
|
|
204
|
+ {
|
|
205
|
+ "type": "appCode",
|
|
206
|
+ "applyFor": "B49BA22D-A83F-44AE-A430-3F1B856DE2A8",
|
|
207
|
+ "isDefault": true,
|
|
208
|
+ "content": "package cn.com.chiner.entity;\n$blankline\nimport javax.persistence.*;\nimport java.io.Serializable;\nimport java.util.Date;\n$blankline\n{{\n var today=new Date();\n var fullYear=today.getFullYear();\n var month=today.getMonth() + 1;\n var days=today.getDate();\n}}\n /**\n * @author : http://www.chiner.pro\n * @date : {{=fullYear}}-{{=month}}-{{=days}}\n * @desc : {{=it.func.join(it.entity.defName,it.entity.comment,'-')}}\n */\n@Table(name=\"{{=it.entity.defKey}}\")\npublic class {{=it.func.camel(it.entity.defKey,true) }} implements Serializable,Cloneable{\n{{~it.entity.fields:field:index}}\n /** {{=it.func.join(field.defName,field.comment,';')}} */\n {{? field.primaryKey }}\n @Id\n @GeneratedValue\n {{?}}\n private {{=field.type}} {{=it.func.camel(field.defKey,false)}} ;\n{{~}}\n$blankline\n\n{{~it.entity.fields:field:index}}\n /** {{=it.func.join(field.defName,field.comment,';')}} */\n public {{=field.type}} get{{=it.func.camel(field.defKey,true)}}(){\n return this.{{=it.func.camel(field.defKey,false)}};\n }\n /** {{=it.func.join(field.defName,field.comment,';')}} */\n public void set{{=it.func.camel(field.defKey,true)}}({{=field.type}} {{= it.func.camel(field.defKey,false) }}){\n this.{{=it.func.camel(field.defKey,false)}}={{=it.func.camel(field.defKey,false)}};\n }\n{{~}}\n}"
|
|
209
|
+ },
|
|
210
|
+ {
|
|
211
|
+ "type": "dbDDL",
|
|
212
|
+ "applyFor": "6A186D6A-D46D-4764-9331-3DD51ACB87F1",
|
|
213
|
+ "isDefault": true,
|
|
214
|
+ "createTable": "CREATE TABLE {{=it.entity.defKey}}(\n{{ pkList = [] ; }}\n{{~it.entity.fields:field:index}}\n {{? field.primaryKey }}{{ pkList.push(field.defKey) }}{{?}}\n {{=field.defKey}} {{=field.type}}{{?field.len>0}}{{='('}}{{=field.len}}{{?field.scale>0}}{{=','}}{{=field.scale}}{{?}}{{=')'}}{{?}}{{= field.notNull ? ' NOT NULL' : '' }}{{= field.autoIncrement ? '' : '' }}{{= field.defaultValue ? it.func.join(' DEFAULT ',field.defaultValue,' ') : '' }}{{= index < it.entity.fields.length-1 ? ',' : ( pkList.length>0 ? ',' :'' ) }}\n{{~}}\n{{? pkList.length >0 }}\n PRIMARY KEY ({{~pkList:pkName:i}}{{= pkName }}{{= i<pkList.length-1 ? ',' : '' }}{{~}})\n{{?}}\n);\n$blankline\n{{? it.entity.defKey || it.entity.defName}}COMMENT ON TABLE {{=it.entity.defKey}} IS '{{=it.func.join(it.entity.defName,it.entity.comment,';')}}';{{?}}\n{{~it.entity.fields:field:index}}\n{{? field.defName || field.comment}}COMMENT ON COLUMN {{=it.entity.defKey}}.{{=field.defKey}} IS '{{=it.func.join(field.defName,field.comment,';')}}';{{?}}\n{{~}}",
|
|
215
|
+ "createIndex": "{{~ it.entity.indexes:index}}\nCREATE {{? index.unique}}UNIQUE {{?}}INDEX {{=index.defKey}} ON {{=it.entity.defKey}}({{ fieldsKeys = index.fields.map(function(field){return field.fieldDefKey}) ; }}{{=it.func.join(...fieldsKeys,',')}});\n{{~}}",
|
|
216
|
+ "createView": "CREATE VIEW {{=it.view.defKey}} AS\nSELECT \n{{~it.view.fields:field:index}}\n {{=field.refEntity}}.{{=field.refEntityField}} AS {{=field.defKey}}{{= index < it.view.fields.length-1 ? ',' : ''}}\n{{~}}\nFROM {{~it.view.refEntities:refEntity:index}}{{=refEntity}}{{= index < it.view.refEntities.length-1 ? ',' : ''}}{{~}};\n$blankline\n"
|
|
217
|
+ },
|
|
218
|
+ {
|
|
219
|
+ "type": "dbDDL",
|
|
220
|
+ "applyFor": "D2B1F8D4-8A54-4FB9-BCF1-B169E4AB2AB5",
|
|
221
|
+ "isDefault": true,
|
|
222
|
+ "createTable": "CREATE TABLE {{=it.entity.defKey}}(\n{{ pkList = [] ; }}\n{{~it.entity.fields:field:index}}\n {{? field.primaryKey }}{{ pkList.push(field.defKey) }}{{?}}\n {{=field.defKey}} {{=field.type}}{{?field.len>0}}{{='('}}{{=field.len}}{{?field.scale>0}}{{=','}}{{=field.scale}}{{?}}{{=')'}}{{?}}{{= field.notNull ? ' NOT NULL' : '' }}{{= field.autoIncrement ? '' : '' }}{{= field.defaultValue ? it.func.join(' DEFAULT ','('+field.defaultValue+')',' ') : '' }}{{= index < it.entity.fields.length-1 ? ',' : ( pkList.length>0 ? ',' :'' ) }}\n{{~}}\n{{? pkList.length >0 }}\n PRIMARY KEY ({{~pkList:pkName:i}}{{= pkName }}{{= i<pkList.length-1 ? ',' : '' }}{{~}})\n{{?}}\n);\n$blankline\n{{? it.entity.defKey || it.entity.defName}}COMMENT ON TABLE {{=it.entity.defKey}} IS '{{=it.func.join(it.entity.defName,it.entity.comment,';')}}';{{?}}\n{{~it.entity.fields:field:index}}\n{{? field.defName || field.comment}}COMMENT ON COLUMN {{=it.entity.defKey}}.{{=field.defKey}} IS '{{=it.func.join(field.defName,field.comment,';')}}';{{?}}\n{{~}}",
|
|
223
|
+ "createIndex": "{{~ it.entity.indexes:index}}\nCREATE {{? index.unique}}UNIQUE {{?}}INDEX {{=index.defKey}} ON {{=it.entity.defKey}}({{ fieldsKeys = index.fields.map(function(field){return field.fieldDefKey}) ; }}{{=it.func.join(...fieldsKeys,',')}});\n{{~}}",
|
|
224
|
+ "createView": "CREATE VIEW {{=it.view.defKey}} AS\nSELECT \n{{~it.view.fields:field:index}}\n {{=field.refEntity}}.{{=field.refEntityField}} AS {{=field.defKey}}{{= index < it.view.fields.length-1 ? ',' : ''}}\n{{~}}\nFROM {{~it.view.refEntities:refEntity:index}}{{=refEntity}}{{= index < it.view.refEntities.length-1 ? ',' : ''}}{{~}};\n$blankline\n"
|
|
225
|
+ },
|
|
226
|
+ {
|
|
227
|
+ "type": "appCode",
|
|
228
|
+ "applyFor": "394EB19D-19B6-419A-BFCA-0FD45FFC8C33",
|
|
229
|
+ "isDefault": true,
|
|
230
|
+ "content": "using System;\nusing System.Collections.Generic;\n\n$blankline\n{{\n var today=new Date();\n var fullYear=today.getFullYear();\n var month=today.getMonth() + 1;\n var days=today.getDate();\n}}\n/*\n * @author : http://www.chiner.com.cn\n * @date : {{=fullYear}}-{{=month}}-{{=days}}\n * @desc : {{=it.func.join(it.entity.defName,it.entity.comment,'-')}}\n */\nnamespace Chiner.Application\n{\n public partial class {{=it.func.camel(it.entity.defKey,true) }}\n {\n \n {{~it.entity.fields:field:index}}\n /// <summary>\n /// {{=it.func.join(field.defName,field.comment,';')}}\n /// </summary>\n public {{=field.type}} {{=it.func.camel(field.defKey,true)}} { get; set; }\n $blankline\n {{~}}\n \n }\n}"
|
|
231
|
+ },
|
|
232
|
+ {
|
|
233
|
+ "type": "dbDDL",
|
|
234
|
+ "applyFor": "7F7EA89E-A849-4B6E-BAED-0C72537C4E1B",
|
|
235
|
+ "isDefault": true,
|
|
236
|
+ "createTable": "DROP TABLE IF EXISTS {{=it.entity.defKey}};\nCREATE TABLE {{=it.entity.defKey}}(\n{{ pkList = [] ; }}\n{{~it.entity.fields:field:index}}\n {{? field.primaryKey }}{{ pkList.push(field.defKey) }}{{?}}\n {{=field.defKey}} {{=field.type}}{{?field.len>0}}{{='('}}{{=field.len}}{{?field.scale>0}}{{=','}}{{=field.scale}}{{?}}{{=')'}}{{?}}{{= field.notNull ? ' NOT NULL' : '' }}{{= field.autoIncrement ? ' AUTO_INCREMENT' : '' }}{{= field.defaultValue ? it.func.join(' DEFAULT ',field.defaultValue,' ') : '' }}{{= index < it.entity.fields.length-1 ? ',' : ( pkList.length>0 ? ',' :'' ) }}\n{{~}}\n{{? pkList.length >0 }}\n PRIMARY KEY ({{~pkList:pkName:i}}{{= pkName }}{{= i<pkList.length-1 ? ',' : '' }}{{~}})\n{{?}}\n);\n$blankline\n{{? it.entity.defKey || it.entity.defName}}COMMENT ON TABLE {{=it.entity.defKey}} IS '{{=it.func.join(it.entity.defName,it.entity.comment,';')}}';{{?}}\n{{~it.entity.fields:field:index}}\n{{? field.defName || field.comment}}COMMENT ON COLUMN {{=it.entity.defKey}}.{{=field.defKey}} IS '{{=it.func.join(field.defName,field.comment,';')}}';{{?}}\n{{~}}",
|
|
237
|
+ "createIndex": "{{~ it.entity.indexes:index}}\nCREATE {{? index.unique}}UNIQUE {{?}}INDEX {{=index.defKey}} ON {{=it.entity.defKey}}({{ fieldsKeys = index.fields.map(function(field){return field.fieldDefKey}) ; }}{{=it.func.join(...fieldsKeys,',')}});\n{{~}}",
|
|
238
|
+ "createView": "CREATE VIEW {{=it.view.defKey}} AS\nSELECT \n{{~it.view.fields:field:index}}\n {{=field.refEntity}}.{{=field.refEntityField}} AS {{=field.defKey}}{{= index < it.view.fields.length-1 ? ',' : ''}}\n{{~}}\nFROM {{~it.view.refEntities:refEntity:index}}{{=refEntity}}{{= index < it.view.refEntities.length-1 ? ',' : ''}}{{~}};\n$blankline\n"
|
|
239
|
+ },
|
|
240
|
+ {
|
|
241
|
+ "type": "dbDDL",
|
|
242
|
+ "applyFor": "296239AB-5B83-4818-AE22-436E0AB52C8F",
|
|
243
|
+ "isDefault": true,
|
|
244
|
+ "createTable": "DROP TABLE IF EXISTS {{=it.entity.defKey}};\nCREATE TABLE {{=it.entity.defKey}}(\n{{ pkList = [] ; }}\n{{~it.entity.fields:field:index}}\n {{? field.primaryKey }}{{ pkList.push(field.defKey) }}{{?}}\n {{=field.defKey}} {{=field.type}}{{?field.len>0}}{{='('}}{{=field.len}}{{?field.scale>0}}{{=','}}{{=field.scale}}{{?}}{{=')'}}{{= field.defaultValue ? it.func.join(' DEFAULT ',field.defaultValue,' ') : '' }}{{?}}{{= field.notNull ? ' NOT NULL' : '' }}{{= index < it.entity.fields.length-1 ? ',' : ( pkList.length>0 ? ',' :'' ) }}\n{{~}}\n{{? pkList.length >0 }}\n PRIMARY KEY ({{~pkList:pkName:i}}{{= pkName }}{{= i<pkList.length-1 ? ',' : '' }}{{~}})\n{{?}}\n);\n$blankline\n{{? it.entity.defKey || it.entity.defName}}COMMENT ON TABLE {{=it.entity.defKey}} IS '{{=it.func.join(it.entity.defName,it.entity.comment,';')}}';{{?}}\n{{~it.entity.fields:field:index}}\n{{? field.defName || field.comment}}COMMENT ON COLUMN {{=it.entity.defKey}}.{{=field.defKey}} IS '{{=it.func.join(field.defName,field.comment,';')}}';{{?}}\n{{~}}",
|
|
245
|
+ "createIndex": "{{~ it.entity.indexes:index}}\nCREATE {{? index.unique}}UNIQUE {{?}}INDEX {{=index.defKey}} ON {{=it.entity.defKey}}({{ fieldsKeys = index.fields.map(function(field){return field.fieldDefKey}) ; }}{{=it.func.join(...fieldsKeys,',')}});\n{{~}}",
|
|
246
|
+ "createView": "CREATE VIEW {{=it.view.defKey}} AS\nSELECT \n{{~it.view.fields:field:index}}\n {{=field.refEntity}}.{{=field.refEntityField}} AS {{=field.defKey}}{{= index < it.view.fields.length-1 ? ',' : ''}}\n{{~}}\nFROM {{~it.view.refEntities:refEntity:index}}{{=refEntity}}{{= index < it.view.refEntities.length-1 ? ',' : ''}}{{~}};\n$blankline\n"
|
|
247
|
+ },
|
|
248
|
+ {
|
|
249
|
+ "type": "dbDDL",
|
|
250
|
+ "applyFor": "dictSQLTemplate",
|
|
251
|
+ "isDefault": true,
|
|
252
|
+ "content": "/* 插入字典总表[{{=it.dict.defKey}}-{{=it.dict.defName}}] */\nINSERT INTO SYS_DICT(KEY_,LABEL,INTRO,REVISION) VALUES('{{=it.dict.defKey}}','{{=it.dict.defName}}','{{=it.dict.intro}}',1);\n/* 插入字典明细表 */\n{{~it.dict.items:item:index}}\nINSERT INTO SYS_DICT_ITEM(DICT_KEY,KEY_,LABEL,SORT_,INTRO,REVISION) VALUES('{{=it.dict.defKey}}','{{=item.defKey}}','{{=item.defName}}','{{=item.sort}}','{{=item.intro}}',1);\n{{~}}"
|
|
253
|
+ },
|
|
254
|
+ {
|
|
255
|
+ "type": "dbDDL",
|
|
256
|
+ "applyFor": "F4C97EC7-33F6-4A10-AE28-22EE09124859",
|
|
257
|
+ "isDefault": true,
|
|
258
|
+ "createTable": "DROP TABLE IF EXISTS {{=it.entity.defKey}};\nCREATE TABLE {{=it.entity.defKey}}(\n{{ pkList = [] ; }}\n{{~it.entity.fields:field:index}}\n {{? field.primaryKey }}{{ pkList.push(field.defKey) }}{{?}}\n {{=field.defKey}} {{=field.type}} {{= field.notNull ? 'NOT NULL' : '' }} {{= field.autoIncrement ? 'AUTO_INCREMENT' : '' }} {{= field.defaultValue ? it.func.join('DEFAULT',field.defaultValue,' ') : '' }} COMMENT '{{=it.func.join(field.defName,field.comment,';')}}' {{= index < it.entity.fields.length-1 ? ',' : ( pkList.length>0 ? ',' :'' ) }}\n{{~}}\n{{? pkList.length >0 }}\n PRIMARY KEY ({{~pkList:pkName:i}}{{= pkName }}{{= i<pkList.length-1 ? ',' : '' }}{{~}})\n{{?}}\n) COMMENT = '{{=it.func.join(it.entity.defName,it.entity.comment,';') }}';\n$blankline\n",
|
|
259
|
+ "createIndex": "",
|
|
260
|
+ "createView": "CREATE VIEW {{=it.view.defKey}} AS\nSELECT \n{{~it.view.fields:field:index}}\n {{=field.refEntity}}.{{=field.refEntityField}} AS {{=field.defKey}}{{= index < it.view.fields.length-1 ? ',' : ''}}\n{{~}}\nFROM {{~it.view.refEntities:refEntity:index}}{{=refEntity}}{{= index < it.view.refEntities.length-1 ? ',' : ''}}{{~}};\n$blankline\n"
|
|
261
|
+ },
|
|
262
|
+ {
|
|
263
|
+ "applyFor": "A44522DB-3350-4D8B-96D6-E270B9689444",
|
|
264
|
+ "type": "dbDDL",
|
|
265
|
+ "createTable": "DROP TABLE IF EXISTS {{=it.entity.defKey}};\nCREATE TABLE {{=it.entity.defKey}}(\n{{ pkList = [] ; }}\n{{~it.entity.fields:field:index}}\n {{? field.primaryKey }}{{ pkList.push(field.defKey) }}{{?}}\n {{=field.defKey}} {{=field.type}}{{?field.len>0}}{{='('}}{{=field.len}}{{?field.scale>0}}{{=','}}{{=field.scale}}{{?}}{{=')'}}{{?}} {{= field.notNull ? 'NOT NULL' : '' }} {{= field.autoIncrement ? 'AUTOINCREMENT' : '' }} {{= field.defaultValue ? it.func.join('DEFAULT',field.defaultValue,' ') : '' }}{{= index < it.entity.fields.length-1 ? ',' : ( pkList.length>0 ? ',' :'' ) }} --{{=it.func.join(field.defName,field.comment,';')}}\n{{~}}\n{{? pkList.length >0 }}\n PRIMARY KEY ({{~pkList:pkName:i}}{{= pkName }}{{= i<pkList.length-1 ? ',' : '' }}{{~}})\n{{?}}\n) ; --{{=it.func.join(it.entity.defName,it.entity.comment,';') }}\n$blankline\n",
|
|
266
|
+ "createIndex": "{{~ it.entity.indexes:index}}\nCREATE {{? index.unique}}UNIQUE {{?}}INDEX {{=index.defKey}} ON {{=it.entity.defKey}}({{ fieldsKeys = index.fields.map(function(field){return field.fieldDefKey}) ; }}{{=it.func.join(...fieldsKeys,',')}});\n{{~}}",
|
|
267
|
+ "createView": "CREATE VIEW {{=it.view.defKey}} AS\nSELECT \n{{~it.view.fields:field:index}}\n {{=field.refEntity}}.{{=field.refEntityField}} AS {{=field.defKey}}{{= index < it.view.fields.length-1 ? ',' : ''}}\n{{~}}\nFROM {{~it.view.refEntities:refEntity:index}}{{=refEntity}}{{= index < it.view.refEntities.length-1 ? ',' : ''}}{{~}};\n$blankline\n"
|
|
268
|
+ }
|
|
269
|
+ ],
|
|
270
|
+ "generatorDoc": {
|
|
271
|
+ "docTemplate": ""
|
|
272
|
+ },
|
|
273
|
+ "relationFieldSize": "15",
|
|
274
|
+ "uiHint": [
|
|
275
|
+ {
|
|
276
|
+ "defKey": "Input",
|
|
277
|
+ "defName": "普通输入框",
|
|
278
|
+ "id": "C82A2886-39F1-439D-8EA3-CDA444976F68"
|
|
279
|
+ },
|
|
280
|
+ {
|
|
281
|
+ "defKey": "Select",
|
|
282
|
+ "defName": "下拉输入框",
|
|
283
|
+ "id": "DE772867-76AE-43EC-BC3C-951F31A04077"
|
|
284
|
+ },
|
|
285
|
+ {
|
|
286
|
+ "defKey": "CheckBox",
|
|
287
|
+ "defName": "复选框",
|
|
288
|
+ "id": "4FCB22F7-CB74-4B14-A5EF-7B06324C7A4B"
|
|
289
|
+ },
|
|
290
|
+ {
|
|
291
|
+ "defKey": "RadioBox",
|
|
292
|
+ "defName": "单选框",
|
|
293
|
+ "id": "AB02D540-B70B-4696-9D1F-DAE1D2CBCC53"
|
|
294
|
+ },
|
|
295
|
+ {
|
|
296
|
+ "defKey": "Double",
|
|
297
|
+ "defName": "小数输入",
|
|
298
|
+ "id": "8F666222-1BDD-4DF3-AC8B-E80818BAFE83"
|
|
299
|
+ },
|
|
300
|
+ {
|
|
301
|
+ "defKey": "Integer",
|
|
302
|
+ "defName": "整数输入",
|
|
303
|
+ "id": "5FE31B7D-07D6-40DA-AE82-2A426A873F5E"
|
|
304
|
+ },
|
|
305
|
+ {
|
|
306
|
+ "defKey": "Money",
|
|
307
|
+ "defName": "金额输入",
|
|
308
|
+ "id": "9A88D4FB-FCDC-4B80-894E-DCEE8B88ACED"
|
|
309
|
+ },
|
|
310
|
+ {
|
|
311
|
+ "defKey": "Date",
|
|
312
|
+ "defName": "日期输入",
|
|
313
|
+ "id": "58548FC6-2995-4933-8550-96745729CE2E"
|
|
314
|
+ },
|
|
315
|
+ {
|
|
316
|
+ "defKey": "DataYearMonth",
|
|
317
|
+ "defName": "年月输入",
|
|
318
|
+ "id": "625C1A02-F93A-45EC-B397-3198962B3FE7"
|
|
319
|
+ },
|
|
320
|
+ {
|
|
321
|
+ "defKey": "Text",
|
|
322
|
+ "defName": "长文本输入",
|
|
323
|
+ "id": "44B41343-2FFA-4841-B533-1A51EC668DF2"
|
|
324
|
+ },
|
|
325
|
+ {
|
|
326
|
+ "defKey": "RichText",
|
|
327
|
+ "defName": "富文本输入",
|
|
328
|
+ "id": "E3FE8BF6-057A-480F-ACC6-6A94E7B23BA4"
|
|
329
|
+ }
|
|
330
|
+ ],
|
|
331
|
+ "menuWidth": ""
|
|
332
|
+ },
|
|
333
|
+ "entities": [
|
|
334
|
+ {
|
|
335
|
+ "defKey": "ta_person",
|
|
336
|
+ "defName": "小程序人员表",
|
|
337
|
+ "comment": "",
|
|
338
|
+ "properties": {},
|
|
339
|
+ "nameTemplate": "{defKey}[{defName}]",
|
|
340
|
+ "headers": [
|
|
341
|
+ {
|
|
342
|
+ "freeze": false,
|
|
343
|
+ "refKey": "hideInGraph",
|
|
344
|
+ "hideInGraph": true
|
|
345
|
+ },
|
|
346
|
+ {
|
|
347
|
+ "freeze": true,
|
|
348
|
+ "refKey": "defKey",
|
|
349
|
+ "hideInGraph": false
|
|
350
|
+ },
|
|
351
|
+ {
|
|
352
|
+ "freeze": true,
|
|
353
|
+ "refKey": "defName",
|
|
354
|
+ "hideInGraph": false
|
|
355
|
+ },
|
|
356
|
+ {
|
|
357
|
+ "freeze": false,
|
|
358
|
+ "refKey": "primaryKey",
|
|
359
|
+ "hideInGraph": false
|
|
360
|
+ },
|
|
361
|
+ {
|
|
362
|
+ "freeze": false,
|
|
363
|
+ "refKey": "notNull",
|
|
364
|
+ "hideInGraph": true
|
|
365
|
+ },
|
|
366
|
+ {
|
|
367
|
+ "freeze": false,
|
|
368
|
+ "refKey": "autoIncrement",
|
|
369
|
+ "hideInGraph": true
|
|
370
|
+ },
|
|
371
|
+ {
|
|
372
|
+ "freeze": false,
|
|
373
|
+ "refKey": "domain",
|
|
374
|
+ "hideInGraph": true
|
|
375
|
+ },
|
|
376
|
+ {
|
|
377
|
+ "freeze": false,
|
|
378
|
+ "refKey": "type",
|
|
379
|
+ "hideInGraph": false
|
|
380
|
+ },
|
|
381
|
+ {
|
|
382
|
+ "freeze": false,
|
|
383
|
+ "refKey": "len",
|
|
384
|
+ "hideInGraph": false
|
|
385
|
+ },
|
|
386
|
+ {
|
|
387
|
+ "freeze": false,
|
|
388
|
+ "refKey": "scale",
|
|
389
|
+ "hideInGraph": false
|
|
390
|
+ },
|
|
391
|
+ {
|
|
392
|
+ "freeze": false,
|
|
393
|
+ "refKey": "comment",
|
|
394
|
+ "hideInGraph": true
|
|
395
|
+ },
|
|
396
|
+ {
|
|
397
|
+ "freeze": false,
|
|
398
|
+ "refKey": "refDict",
|
|
399
|
+ "hideInGraph": true
|
|
400
|
+ },
|
|
401
|
+ {
|
|
402
|
+ "freeze": false,
|
|
403
|
+ "refKey": "defaultValue",
|
|
404
|
+ "hideInGraph": true
|
|
405
|
+ },
|
|
406
|
+ {
|
|
407
|
+ "freeze": false,
|
|
408
|
+ "refKey": "isStandard",
|
|
409
|
+ "hideInGraph": false
|
|
410
|
+ },
|
|
411
|
+ {
|
|
412
|
+ "freeze": false,
|
|
413
|
+ "refKey": "uiHint",
|
|
414
|
+ "hideInGraph": true
|
|
415
|
+ }
|
|
416
|
+ ],
|
|
417
|
+ "fields": [
|
|
418
|
+ {
|
|
419
|
+ "defKey": "person_id",
|
|
420
|
+ "defName": "人员ID",
|
|
421
|
+ "comment": "",
|
|
422
|
+ "type": "VARCHAR",
|
|
423
|
+ "len": 32,
|
|
424
|
+ "scale": "",
|
|
425
|
+ "primaryKey": true,
|
|
426
|
+ "notNull": true,
|
|
427
|
+ "autoIncrement": false,
|
|
428
|
+ "defaultValue": "",
|
|
429
|
+ "hideInGraph": false,
|
|
430
|
+ "refDict": "",
|
|
431
|
+ "domain": "93C37BFE-8965-4399-87F2-D812513910DD",
|
|
432
|
+ "uiHint": "",
|
|
433
|
+ "id": "91142777-FB89-417F-BBC9-7523787F5497"
|
|
434
|
+ },
|
|
435
|
+ {
|
|
436
|
+ "defKey": "openid",
|
|
437
|
+ "defName": "openid",
|
|
438
|
+ "comment": "",
|
|
439
|
+ "type": "VARCHAR",
|
|
440
|
+ "len": "60",
|
|
441
|
+ "scale": "",
|
|
442
|
+ "primaryKey": false,
|
|
443
|
+ "notNull": false,
|
|
444
|
+ "autoIncrement": false,
|
|
445
|
+ "defaultValue": "",
|
|
446
|
+ "hideInGraph": false,
|
|
447
|
+ "refDict": "",
|
|
448
|
+ "domain": "6C14B188-B90D-4A82-BA03-4D0D8246D859",
|
|
449
|
+ "uiHint": "",
|
|
450
|
+ "id": "70061D61-4991-4BD3-8F8B-20532A098351"
|
|
451
|
+ },
|
|
452
|
+ {
|
|
453
|
+ "defKey": "unionid",
|
|
454
|
+ "defName": "unionid",
|
|
455
|
+ "comment": "",
|
|
456
|
+ "type": "VARCHAR",
|
|
457
|
+ "len": "60",
|
|
458
|
+ "scale": "",
|
|
459
|
+ "primaryKey": false,
|
|
460
|
+ "notNull": false,
|
|
461
|
+ "autoIncrement": false,
|
|
462
|
+ "defaultValue": "",
|
|
463
|
+ "hideInGraph": false,
|
|
464
|
+ "refDict": "",
|
|
465
|
+ "domain": "6C14B188-B90D-4A82-BA03-4D0D8246D859",
|
|
466
|
+ "uiHint": "",
|
|
467
|
+ "id": "C7AEADA4-F508-4013-AB57-46519C559D2E"
|
|
468
|
+ },
|
|
469
|
+ {
|
|
470
|
+ "defKey": "sex",
|
|
471
|
+ "defName": "性别",
|
|
472
|
+ "comment": "",
|
|
473
|
+ "type": "INT",
|
|
474
|
+ "len": "",
|
|
475
|
+ "scale": "",
|
|
476
|
+ "primaryKey": false,
|
|
477
|
+ "notNull": false,
|
|
478
|
+ "autoIncrement": false,
|
|
479
|
+ "defaultValue": "",
|
|
480
|
+ "hideInGraph": false,
|
|
481
|
+ "refDict": "",
|
|
482
|
+ "domain": "50766063-F295-4F84-90AF-B7070A8F4965",
|
|
483
|
+ "uiHint": "",
|
|
484
|
+ "id": "D171B77E-870C-4B62-8AB1-16F161C5FB1B"
|
|
485
|
+ },
|
|
486
|
+ {
|
|
487
|
+ "defKey": "nick_name",
|
|
488
|
+ "defName": "昵称",
|
|
489
|
+ "comment": "",
|
|
490
|
+ "type": "VARCHAR",
|
|
491
|
+ "len": 90,
|
|
492
|
+ "scale": "",
|
|
493
|
+ "primaryKey": false,
|
|
494
|
+ "notNull": false,
|
|
495
|
+ "autoIncrement": false,
|
|
496
|
+ "defaultValue": "",
|
|
497
|
+ "hideInGraph": false,
|
|
498
|
+ "refDict": "",
|
|
499
|
+ "domain": "1E578971-9CA6-4731-857D-F9BF83CD5CB9",
|
|
500
|
+ "uiHint": "",
|
|
501
|
+ "id": "43630C8C-52CD-4857-A4A0-1919C84EF29A"
|
|
502
|
+ },
|
|
503
|
+ {
|
|
504
|
+ "defKey": "avatar",
|
|
505
|
+ "defName": "头像",
|
|
506
|
+ "comment": "",
|
|
507
|
+ "type": "TEXT",
|
|
508
|
+ "len": "",
|
|
509
|
+ "scale": "",
|
|
510
|
+ "primaryKey": false,
|
|
511
|
+ "notNull": false,
|
|
512
|
+ "autoIncrement": false,
|
|
513
|
+ "defaultValue": "",
|
|
514
|
+ "hideInGraph": false,
|
|
515
|
+ "refDict": "",
|
|
516
|
+ "domain": "28BFB9EE-DD82-4759-AFBE-C1A8F1C0E806",
|
|
517
|
+ "uiHint": "",
|
|
518
|
+ "id": "DD2A45AD-1FC0-4C9F-97FF-54D81D667454"
|
|
519
|
+ },
|
|
520
|
+ {
|
|
521
|
+ "defKey": "phone",
|
|
522
|
+ "defName": "手机",
|
|
523
|
+ "comment": "",
|
|
524
|
+ "type": "VARCHAR",
|
|
525
|
+ "len": "60",
|
|
526
|
+ "scale": "",
|
|
527
|
+ "primaryKey": false,
|
|
528
|
+ "notNull": false,
|
|
529
|
+ "autoIncrement": false,
|
|
530
|
+ "defaultValue": "",
|
|
531
|
+ "hideInGraph": false,
|
|
532
|
+ "refDict": "",
|
|
533
|
+ "domain": "6C14B188-B90D-4A82-BA03-4D0D8246D859",
|
|
534
|
+ "uiHint": "",
|
|
535
|
+ "id": "9FCEDF41-F71C-4CCA-A62A-4A76925887D6"
|
|
536
|
+ },
|
|
537
|
+ {
|
|
538
|
+ "defKey": "status",
|
|
539
|
+ "defName": "状态",
|
|
540
|
+ "comment": "",
|
|
541
|
+ "type": "INT",
|
|
542
|
+ "len": "",
|
|
543
|
+ "scale": "",
|
|
544
|
+ "primaryKey": false,
|
|
545
|
+ "notNull": false,
|
|
546
|
+ "autoIncrement": false,
|
|
547
|
+ "defaultValue": "1",
|
|
548
|
+ "hideInGraph": false,
|
|
549
|
+ "refDict": "",
|
|
550
|
+ "domain": "50766063-F295-4F84-90AF-B7070A8F4965",
|
|
551
|
+ "uiHint": "",
|
|
552
|
+ "id": "F4401F17-CE41-4878-AD00-E327DD4CC113"
|
|
553
|
+ },
|
|
554
|
+ {
|
|
555
|
+ "defKey": "create_date",
|
|
556
|
+ "defName": "创建时间",
|
|
557
|
+ "comment": "",
|
|
558
|
+ "type": "DATETIME",
|
|
559
|
+ "len": "",
|
|
560
|
+ "scale": "",
|
|
561
|
+ "primaryKey": false,
|
|
562
|
+ "notNull": false,
|
|
563
|
+ "autoIncrement": false,
|
|
564
|
+ "defaultValue": "CURRENT_TIMESTAMP",
|
|
565
|
+ "hideInGraph": false,
|
|
566
|
+ "refDict": "",
|
|
567
|
+ "domain": "7BB72E72-30C5-4AAF-A46E-9B29DEF3FF23",
|
|
568
|
+ "uiHint": "",
|
|
569
|
+ "id": "F0A79FFC-0A3C-426F-AB77-6DCF6C6A4248"
|
|
570
|
+ },
|
|
571
|
+ {
|
|
572
|
+ "defKey": "from_type",
|
|
573
|
+ "defName": "来源类型",
|
|
574
|
+ "comment": "",
|
|
575
|
+ "type": "VARCHAR",
|
|
576
|
+ "len": "32",
|
|
577
|
+ "scale": "",
|
|
578
|
+ "primaryKey": false,
|
|
579
|
+ "notNull": false,
|
|
580
|
+ "autoIncrement": false,
|
|
581
|
+ "defaultValue": "",
|
|
582
|
+ "hideInGraph": false,
|
|
583
|
+ "refDict": "",
|
|
584
|
+ "domain": "A21C8F00-BC8E-49DA-BB63-29D1B5973EEB",
|
|
585
|
+ "uiHint": "",
|
|
586
|
+ "id": "91532A4A-A9AF-4492-A620-874772146F70"
|
|
587
|
+ },
|
|
588
|
+ {
|
|
589
|
+ "defKey": "recommender",
|
|
590
|
+ "defName": "推广ID",
|
|
591
|
+ "comment": "",
|
|
592
|
+ "type": "VARCHAR",
|
|
593
|
+ "len": 32,
|
|
594
|
+ "scale": "",
|
|
595
|
+ "primaryKey": false,
|
|
596
|
+ "notNull": false,
|
|
597
|
+ "autoIncrement": false,
|
|
598
|
+ "defaultValue": "",
|
|
599
|
+ "hideInGraph": false,
|
|
600
|
+ "refDict": "",
|
|
601
|
+ "domain": "93C37BFE-8965-4399-87F2-D812513910DD",
|
|
602
|
+ "uiHint": "",
|
|
603
|
+ "id": "F2110C12-9010-4219-9E8E-C1D4BDF54A95"
|
|
604
|
+ }
|
|
605
|
+ ],
|
|
606
|
+ "correlations": [],
|
|
607
|
+ "indexes": [],
|
|
608
|
+ "id": "714B42D1-1369-460A-9A75-E8615A267D3E"
|
|
609
|
+ },
|
|
610
|
+ {
|
|
611
|
+ "id": "2CC3CFA6-22C0-492E-B18B-5EEA28C51136",
|
|
612
|
+ "defKey": "ta_score",
|
|
613
|
+ "defName": "分数表",
|
|
614
|
+ "comment": "",
|
|
615
|
+ "properties": {},
|
|
616
|
+ "nameTemplate": "{defKey}[{defName}]",
|
|
617
|
+ "headers": [
|
|
618
|
+ {
|
|
619
|
+ "freeze": false,
|
|
620
|
+ "refKey": "hideInGraph",
|
|
621
|
+ "hideInGraph": true
|
|
622
|
+ },
|
|
623
|
+ {
|
|
624
|
+ "freeze": true,
|
|
625
|
+ "refKey": "defKey",
|
|
626
|
+ "hideInGraph": false
|
|
627
|
+ },
|
|
628
|
+ {
|
|
629
|
+ "freeze": true,
|
|
630
|
+ "refKey": "defName",
|
|
631
|
+ "hideInGraph": false
|
|
632
|
+ },
|
|
633
|
+ {
|
|
634
|
+ "freeze": false,
|
|
635
|
+ "refKey": "primaryKey",
|
|
636
|
+ "hideInGraph": false
|
|
637
|
+ },
|
|
638
|
+ {
|
|
639
|
+ "freeze": false,
|
|
640
|
+ "refKey": "notNull",
|
|
641
|
+ "hideInGraph": true
|
|
642
|
+ },
|
|
643
|
+ {
|
|
644
|
+ "freeze": false,
|
|
645
|
+ "refKey": "autoIncrement",
|
|
646
|
+ "hideInGraph": true
|
|
647
|
+ },
|
|
648
|
+ {
|
|
649
|
+ "freeze": false,
|
|
650
|
+ "refKey": "domain",
|
|
651
|
+ "hideInGraph": true
|
|
652
|
+ },
|
|
653
|
+ {
|
|
654
|
+ "freeze": false,
|
|
655
|
+ "refKey": "type",
|
|
656
|
+ "hideInGraph": false
|
|
657
|
+ },
|
|
658
|
+ {
|
|
659
|
+ "freeze": false,
|
|
660
|
+ "refKey": "len",
|
|
661
|
+ "hideInGraph": false
|
|
662
|
+ },
|
|
663
|
+ {
|
|
664
|
+ "freeze": false,
|
|
665
|
+ "refKey": "scale",
|
|
666
|
+ "hideInGraph": false
|
|
667
|
+ },
|
|
668
|
+ {
|
|
669
|
+ "freeze": false,
|
|
670
|
+ "refKey": "comment",
|
|
671
|
+ "hideInGraph": true
|
|
672
|
+ },
|
|
673
|
+ {
|
|
674
|
+ "freeze": false,
|
|
675
|
+ "refKey": "refDict",
|
|
676
|
+ "hideInGraph": true
|
|
677
|
+ },
|
|
678
|
+ {
|
|
679
|
+ "freeze": false,
|
|
680
|
+ "refKey": "defaultValue",
|
|
681
|
+ "hideInGraph": true
|
|
682
|
+ },
|
|
683
|
+ {
|
|
684
|
+ "freeze": false,
|
|
685
|
+ "refKey": "isStandard",
|
|
686
|
+ "hideInGraph": false
|
|
687
|
+ },
|
|
688
|
+ {
|
|
689
|
+ "freeze": false,
|
|
690
|
+ "refKey": "uiHint",
|
|
691
|
+ "hideInGraph": true
|
|
692
|
+ }
|
|
693
|
+ ],
|
|
694
|
+ "fields": [
|
|
695
|
+ {
|
|
696
|
+ "defKey": "person_id",
|
|
697
|
+ "defName": "人员ID",
|
|
698
|
+ "comment": "",
|
|
699
|
+ "type": "",
|
|
700
|
+ "len": "",
|
|
701
|
+ "scale": "",
|
|
702
|
+ "primaryKey": true,
|
|
703
|
+ "notNull": true,
|
|
704
|
+ "autoIncrement": false,
|
|
705
|
+ "defaultValue": "",
|
|
706
|
+ "hideInGraph": false,
|
|
707
|
+ "domain": "C6B137A5-E4EB-4C98-BC14-EAE41AC3D9C3",
|
|
708
|
+ "id": "B4013E1A-065E-48D0-A4F7-95D75379967B"
|
|
709
|
+ },
|
|
710
|
+ {
|
|
711
|
+ "defKey": "create_date",
|
|
712
|
+ "defName": "创建时间",
|
|
713
|
+ "comment": "",
|
|
714
|
+ "type": "",
|
|
715
|
+ "len": "",
|
|
716
|
+ "scale": "",
|
|
717
|
+ "primaryKey": false,
|
|
718
|
+ "notNull": false,
|
|
719
|
+ "autoIncrement": false,
|
|
720
|
+ "defaultValue": "CURRENT_TIMESTAMP",
|
|
721
|
+ "hideInGraph": false,
|
|
722
|
+ "domain": "2A139172-C63F-4517-8297-679EBF1F0E82",
|
|
723
|
+ "id": "A6616AF8-5A04-4A21-A00D-3E1C5F14A618"
|
|
724
|
+ },
|
|
725
|
+ {
|
|
726
|
+ "defKey": "score",
|
|
727
|
+ "defName": "摇一摇分数",
|
|
728
|
+ "comment": "",
|
|
729
|
+ "type": "",
|
|
730
|
+ "len": "",
|
|
731
|
+ "scale": "",
|
|
732
|
+ "primaryKey": false,
|
|
733
|
+ "notNull": false,
|
|
734
|
+ "autoIncrement": false,
|
|
735
|
+ "defaultValue": "0",
|
|
736
|
+ "hideInGraph": false,
|
|
737
|
+ "refDict": "",
|
|
738
|
+ "domain": "4A67B0BC-5594-407B-B43B-49B32BF3C11D",
|
|
739
|
+ "id": "4193C12C-8CED-4A7A-8898-3D8ED7ED58C7"
|
|
740
|
+ }
|
|
741
|
+ ],
|
|
742
|
+ "correlations": [],
|
|
743
|
+ "indexes": []
|
|
744
|
+ }
|
|
745
|
+ ],
|
|
746
|
+ "views": [],
|
|
747
|
+ "dicts": [],
|
|
748
|
+ "viewGroups": [],
|
|
749
|
+ "dataTypeMapping": {
|
|
750
|
+ "referURL": "",
|
|
751
|
+ "mappings": [
|
|
752
|
+ {
|
|
753
|
+ "defKey": "string",
|
|
754
|
+ "defName": "字串",
|
|
755
|
+ "id": "785E7D55-1941-48D0-9BAB-81F3D934FA6D",
|
|
756
|
+ "CAC640A8-7EA4-468A-B050-60BA0683ABEB": "VARCHAR",
|
|
757
|
+ "B3D8E528-C8E5-4B29-ACE7-D9A6E0FD3770": "VARCHAR2",
|
|
758
|
+ "F85C9490-4987-46B7-80D7-F75B4467A57B": "VARCHAR",
|
|
759
|
+ "F2B14C22-8E9C-4984-A9A0-DAD4B21261AD": "VARCHAR",
|
|
760
|
+ "6A186D6A-D46D-4764-9331-3DD51ACB87F1": "VARCHAR",
|
|
761
|
+ "D2B1F8D4-8A54-4FB9-BCF1-B169E4AB2AB5": "VARCHAR2",
|
|
762
|
+ "7F7EA89E-A849-4B6E-BAED-0C72537C4E1B": "VARCHAR",
|
|
763
|
+ "296239AB-5B83-4818-AE22-436E0AB52C8F": "VARCHAR",
|
|
764
|
+ "F4C97EC7-33F6-4A10-AE28-22EE09124859": "STRING",
|
|
765
|
+ "B49BA22D-A83F-44AE-A430-3F1B856DE2A8": "String",
|
|
766
|
+ "394EB19D-19B6-419A-BFCA-0FD45FFC8C33": "string",
|
|
767
|
+ "A44522DB-3350-4D8B-96D6-E270B9689444": "TEXT"
|
|
768
|
+ },
|
|
769
|
+ {
|
|
770
|
+ "defKey": "double",
|
|
771
|
+ "defName": "小数",
|
|
772
|
+ "id": "2F5D2D09-4B2F-498C-B842-33F3DFDA8F66",
|
|
773
|
+ "CAC640A8-7EA4-468A-B050-60BA0683ABEB": "DECIMAL",
|
|
774
|
+ "B3D8E528-C8E5-4B29-ACE7-D9A6E0FD3770": "DECIMAL",
|
|
775
|
+ "F85C9490-4987-46B7-80D7-F75B4467A57B": "DECIMAL",
|
|
776
|
+ "F2B14C22-8E9C-4984-A9A0-DAD4B21261AD": "NUMERIC",
|
|
777
|
+ "6A186D6A-D46D-4764-9331-3DD51ACB87F1": "DECIMAL",
|
|
778
|
+ "D2B1F8D4-8A54-4FB9-BCF1-B169E4AB2AB5": "DECIMAL",
|
|
779
|
+ "7F7EA89E-A849-4B6E-BAED-0C72537C4E1B": "NUMERIC",
|
|
780
|
+ "296239AB-5B83-4818-AE22-436E0AB52C8F": "NUMERIC",
|
|
781
|
+ "F4C97EC7-33F6-4A10-AE28-22EE09124859": "DOUBLE",
|
|
782
|
+ "B49BA22D-A83F-44AE-A430-3F1B856DE2A8": "Double",
|
|
783
|
+ "394EB19D-19B6-419A-BFCA-0FD45FFC8C33": "float",
|
|
784
|
+ "A44522DB-3350-4D8B-96D6-E270B9689444": "REAL"
|
|
785
|
+ },
|
|
786
|
+ {
|
|
787
|
+ "defKey": "int",
|
|
788
|
+ "defName": "整数",
|
|
789
|
+ "id": "7267AF15-F218-485C-9013-C841FCF55696",
|
|
790
|
+ "CAC640A8-7EA4-468A-B050-60BA0683ABEB": "INT",
|
|
791
|
+ "B3D8E528-C8E5-4B29-ACE7-D9A6E0FD3770": "INT",
|
|
792
|
+ "F85C9490-4987-46B7-80D7-F75B4467A57B": "INT",
|
|
793
|
+ "F2B14C22-8E9C-4984-A9A0-DAD4B21261AD": "INTEGER",
|
|
794
|
+ "6A186D6A-D46D-4764-9331-3DD51ACB87F1": "INT",
|
|
795
|
+ "D2B1F8D4-8A54-4FB9-BCF1-B169E4AB2AB5": "INTEGER",
|
|
796
|
+ "7F7EA89E-A849-4B6E-BAED-0C72537C4E1B": "INTEGER",
|
|
797
|
+ "296239AB-5B83-4818-AE22-436E0AB52C8F": "INT4",
|
|
798
|
+ "F4C97EC7-33F6-4A10-AE28-22EE09124859": "INT",
|
|
799
|
+ "B49BA22D-A83F-44AE-A430-3F1B856DE2A8": "Integer",
|
|
800
|
+ "394EB19D-19B6-419A-BFCA-0FD45FFC8C33": "float",
|
|
801
|
+ "A44522DB-3350-4D8B-96D6-E270B9689444": "INTEGER"
|
|
802
|
+ },
|
|
803
|
+ {
|
|
804
|
+ "defKey": "date",
|
|
805
|
+ "defName": "日期",
|
|
806
|
+ "id": "6A3D51E3-84F0-4863-BA9C-BB69918EDA36",
|
|
807
|
+ "CAC640A8-7EA4-468A-B050-60BA0683ABEB": "DATETIME",
|
|
808
|
+ "B3D8E528-C8E5-4B29-ACE7-D9A6E0FD3770": "DATE",
|
|
809
|
+ "F85C9490-4987-46B7-80D7-F75B4467A57B": "DATETIME",
|
|
810
|
+ "F2B14C22-8E9C-4984-A9A0-DAD4B21261AD": "DATE",
|
|
811
|
+ "6A186D6A-D46D-4764-9331-3DD51ACB87F1": "DATE",
|
|
812
|
+ "D2B1F8D4-8A54-4FB9-BCF1-B169E4AB2AB5": "DATE",
|
|
813
|
+ "7F7EA89E-A849-4B6E-BAED-0C72537C4E1B": "DATE",
|
|
814
|
+ "296239AB-5B83-4818-AE22-436E0AB52C8F": "DATE",
|
|
815
|
+ "F4C97EC7-33F6-4A10-AE28-22EE09124859": "DATETIME",
|
|
816
|
+ "B49BA22D-A83F-44AE-A430-3F1B856DE2A8": "Date",
|
|
817
|
+ "394EB19D-19B6-419A-BFCA-0FD45FFC8C33": "date",
|
|
818
|
+ "A44522DB-3350-4D8B-96D6-E270B9689444": "NUMERIC"
|
|
819
|
+ },
|
|
820
|
+ {
|
|
821
|
+ "defKey": "bytes",
|
|
822
|
+ "defName": "二进制",
|
|
823
|
+ "id": "1AFFE4F0-C419-44E7-81B7-51D29FD12988",
|
|
824
|
+ "CAC640A8-7EA4-468A-B050-60BA0683ABEB": "BLOB",
|
|
825
|
+ "B3D8E528-C8E5-4B29-ACE7-D9A6E0FD3770": "BLOB",
|
|
826
|
+ "F85C9490-4987-46B7-80D7-F75B4467A57B": "VARBINARY",
|
|
827
|
+ "F2B14C22-8E9C-4984-A9A0-DAD4B21261AD": "BYTEA",
|
|
828
|
+ "6A186D6A-D46D-4764-9331-3DD51ACB87F1": "BLOB",
|
|
829
|
+ "D2B1F8D4-8A54-4FB9-BCF1-B169E4AB2AB5": "BLOB",
|
|
830
|
+ "7F7EA89E-A849-4B6E-BAED-0C72537C4E1B": "BYTEA",
|
|
831
|
+ "296239AB-5B83-4818-AE22-436E0AB52C8F": "BYTEA",
|
|
832
|
+ "F4C97EC7-33F6-4A10-AE28-22EE09124859": "BINARY",
|
|
833
|
+ "B49BA22D-A83F-44AE-A430-3F1B856DE2A8": "byte[]",
|
|
834
|
+ "394EB19D-19B6-419A-BFCA-0FD45FFC8C33": "binary",
|
|
835
|
+ "A44522DB-3350-4D8B-96D6-E270B9689444": "NONE"
|
|
836
|
+ },
|
|
837
|
+ {
|
|
838
|
+ "defKey": "largeText",
|
|
839
|
+ "defName": "大文本",
|
|
840
|
+ "id": "30038B34-83F1-43A8-AE70-61C5873273AD",
|
|
841
|
+ "CAC640A8-7EA4-468A-B050-60BA0683ABEB": "TEXT",
|
|
842
|
+ "B3D8E528-C8E5-4B29-ACE7-D9A6E0FD3770": "CLOB",
|
|
843
|
+ "F85C9490-4987-46B7-80D7-F75B4467A57B": "TEXT",
|
|
844
|
+ "F2B14C22-8E9C-4984-A9A0-DAD4B21261AD": "TEXT",
|
|
845
|
+ "6A186D6A-D46D-4764-9331-3DD51ACB87F1": "CLOB",
|
|
846
|
+ "D2B1F8D4-8A54-4FB9-BCF1-B169E4AB2AB5": "CLOB",
|
|
847
|
+ "7F7EA89E-A849-4B6E-BAED-0C72537C4E1B": "TEXT",
|
|
848
|
+ "296239AB-5B83-4818-AE22-436E0AB52C8F": "TEXT",
|
|
849
|
+ "F4C97EC7-33F6-4A10-AE28-22EE09124859": "STRING",
|
|
850
|
+ "B49BA22D-A83F-44AE-A430-3F1B856DE2A8": "String",
|
|
851
|
+ "394EB19D-19B6-419A-BFCA-0FD45FFC8C33": "string",
|
|
852
|
+ "A44522DB-3350-4D8B-96D6-E270B9689444": "TEXT"
|
|
853
|
+ }
|
|
854
|
+ ]
|
|
855
|
+ },
|
|
856
|
+ "domains": [
|
|
857
|
+ {
|
|
858
|
+ "defKey": "DefaultString",
|
|
859
|
+ "defName": "默认字串",
|
|
860
|
+ "applyFor": "785E7D55-1941-48D0-9BAB-81F3D934FA6D",
|
|
861
|
+ "len": 60,
|
|
862
|
+ "scale": "",
|
|
863
|
+ "uiHint": "",
|
|
864
|
+ "id": "4A67B0BC-5594-407B-B43B-49B32BF3C11D"
|
|
865
|
+ },
|
|
866
|
+ {
|
|
867
|
+ "defKey": "IdOrKey",
|
|
868
|
+ "defName": "主键标识",
|
|
869
|
+ "applyFor": "785E7D55-1941-48D0-9BAB-81F3D934FA6D",
|
|
870
|
+ "len": 32,
|
|
871
|
+ "scale": "",
|
|
872
|
+ "uiHint": "",
|
|
873
|
+ "id": "C6B137A5-E4EB-4C98-BC14-EAE41AC3D9C3"
|
|
874
|
+ },
|
|
875
|
+ {
|
|
876
|
+ "defKey": "Name",
|
|
877
|
+ "defName": "名称",
|
|
878
|
+ "applyFor": "785E7D55-1941-48D0-9BAB-81F3D934FA6D",
|
|
879
|
+ "len": 90,
|
|
880
|
+ "scale": "",
|
|
881
|
+ "uiHint": "",
|
|
882
|
+ "id": "6EAE2577-925C-4488-A1A1-80782071A87D"
|
|
883
|
+ },
|
|
884
|
+ {
|
|
885
|
+ "defKey": "Int",
|
|
886
|
+ "defName": "整数",
|
|
887
|
+ "applyFor": "7267AF15-F218-485C-9013-C841FCF55696",
|
|
888
|
+ "len": "",
|
|
889
|
+ "scale": "",
|
|
890
|
+ "uiHint": "",
|
|
891
|
+ "id": "CD7402A4-EF5E-4FB8-90D4-5AC8008F413F"
|
|
892
|
+ },
|
|
893
|
+ {
|
|
894
|
+ "defKey": "Double",
|
|
895
|
+ "defName": "小数",
|
|
896
|
+ "applyFor": "2F5D2D09-4B2F-498C-B842-33F3DFDA8F66",
|
|
897
|
+ "len": 24,
|
|
898
|
+ "scale": 6,
|
|
899
|
+ "uiHint": "",
|
|
900
|
+ "id": "BC868B91-A2F7-436B-ADFB-6380D53C70F9"
|
|
901
|
+ },
|
|
902
|
+ {
|
|
903
|
+ "defKey": "Money",
|
|
904
|
+ "defName": "金额",
|
|
905
|
+ "applyFor": "2F5D2D09-4B2F-498C-B842-33F3DFDA8F66",
|
|
906
|
+ "len": 24,
|
|
907
|
+ "scale": 6,
|
|
908
|
+ "uiHint": "",
|
|
909
|
+ "id": "2E767CA1-1001-4B4A-B5E3-D841E24D5DD2"
|
|
910
|
+ },
|
|
911
|
+ {
|
|
912
|
+ "defKey": "DateTime",
|
|
913
|
+ "defName": "日期时间",
|
|
914
|
+ "applyFor": "6A3D51E3-84F0-4863-BA9C-BB69918EDA36",
|
|
915
|
+ "len": "",
|
|
916
|
+ "scale": "",
|
|
917
|
+ "uiHint": "",
|
|
918
|
+ "id": "2A139172-C63F-4517-8297-679EBF1F0E82"
|
|
919
|
+ },
|
|
920
|
+ {
|
|
921
|
+ "defKey": "YesNo",
|
|
922
|
+ "defName": "是否",
|
|
923
|
+ "applyFor": "785E7D55-1941-48D0-9BAB-81F3D934FA6D",
|
|
924
|
+ "len": "1",
|
|
925
|
+ "scale": "",
|
|
926
|
+ "uiHint": "",
|
|
927
|
+ "id": "6017FFB4-2476-4233-BB0C-C9DE1C9E0B80"
|
|
928
|
+ },
|
|
929
|
+ {
|
|
930
|
+ "defKey": "Dict",
|
|
931
|
+ "defName": "数据字典",
|
|
932
|
+ "applyFor": "785E7D55-1941-48D0-9BAB-81F3D934FA6D",
|
|
933
|
+ "len": "32",
|
|
934
|
+ "scale": "",
|
|
935
|
+ "uiHint": "",
|
|
936
|
+ "id": "E96A13AD-84CC-4156-9C3E-79F069AA373E"
|
|
937
|
+ },
|
|
938
|
+ {
|
|
939
|
+ "defKey": "DescText",
|
|
940
|
+ "defName": "描述文本",
|
|
941
|
+ "applyFor": "785E7D55-1941-48D0-9BAB-81F3D934FA6D",
|
|
942
|
+ "len": "900",
|
|
943
|
+ "scale": "",
|
|
944
|
+ "uiHint": "",
|
|
945
|
+ "id": "3A7B0EEF-87EF-4B7E-922E-47A12D9EFEC2"
|
|
946
|
+ },
|
|
947
|
+ {
|
|
948
|
+ "defKey": "TEXT",
|
|
949
|
+ "defName": "大文本",
|
|
950
|
+ "applyFor": "30038B34-83F1-43A8-AE70-61C5873273AD",
|
|
951
|
+ "len": "",
|
|
952
|
+ "scale": "",
|
|
953
|
+ "uiHint": "",
|
|
954
|
+ "id": "4EE73D35-9FFB-4710-B9A5-C90A4E1C9EE7"
|
|
955
|
+ }
|
|
956
|
+ ],
|
|
957
|
+ "diagrams": [],
|
|
958
|
+ "standardFields": []
|
|
959
|
+}
|