{
"createBy": 0,
"createTime": "2019-08-24T14:15:22Z",
"updateBy": 0,
"updateTime": "2019-08-24T14:15:22Z",
"params": {
"property1": {},
"property2": {}
},
"tableId": 0,
"tableName": "string",
"tableComment": "string",
"subTableName": "string",
"subTableFkName": "string",
"className": "string",
"tplCategory": "string",
"packageName": "string",
"moduleName": "string",
"businessName": "string",
"functionName": "string",
"functionAuthor": "string",
"genType": "string",
"genPath": "string",
"pkColumn": {
"createBy": 0,
"createTime": "2019-08-24T14:15:22Z",
"updateBy": 0,
"updateTime": "2019-08-24T14:15:22Z",
"params": {
"property1": {},
"property2": {}
},
"columnId": 0,
"tableId": 0,
"columnName": "string",
"columnComment": "string",
"columnType": "string",
"javaType": "string",
"javaField": "string",
"isPk": "string",
"isIncrement": "string",
"isRequired": "string",
"isInsert": "string",
"isEdit": "string",
"isList": "string",
"isQuery": "string",
"queryType": "string",
"htmlType": "string",
"dictType": "string",
"sort": 0,
"required": true,
"list": true,
"superColumn": true,
"pk": true,
"edit": true,
"usableColumn": true,
"insert": true,
"increment": true,
"query": true,
"capJavaField": "string"
},
"subTable": {},
"columns": [
{
"createBy": 0,
"createTime": "2019-08-24T14:15:22Z",
"updateBy": 0,
"updateTime": "2019-08-24T14:15:22Z",
"params": {
"property1": {},
"property2": {}
},
"columnId": 0,
"tableId": 0,
"columnName": "string",
"columnComment": "string",
"columnType": "string",
"javaType": "string",
"javaField": "string",
"isPk": "string",
"isIncrement": "string",
"isRequired": "string",
"isInsert": "string",
"isEdit": "string",
"isList": "string",
"isQuery": "string",
"queryType": "string",
"htmlType": "string",
"dictType": "string",
"sort": 0,
"required": true,
"list": true,
"superColumn": true,
"pk": true,
"edit": true,
"usableColumn": true,
"insert": true,
"increment": true,
"query": true,
"capJavaField": "string"
}
],
"options": "string",
"remark": "string",
"treeCode": "string",
"treeParentCode": "string",
"treeName": "string",
"menuIds": [
0
],
"parentMenuId": "string",
"parentMenuName": "string",
"tree": true,
"crud": true,
"sub": true
}
curl --location --request PUT 'http://localhost:8027/tool/gen' \
--header 'Authorization: ' \
--header 'Content-Type: application/json' \
--data-raw '{
"createBy": 0,
"createTime": "2019-08-24T14:15:22Z",
"updateBy": 0,
"updateTime": "2019-08-24T14:15:22Z",
"params": {
"property1": {},
"property2": {}
},
"tableId": 0,
"tableName": "string",
"tableComment": "string",
"subTableName": "string",
"subTableFkName": "string",
"className": "string",
"tplCategory": "string",
"packageName": "string",
"moduleName": "string",
"businessName": "string",
"functionName": "string",
"functionAuthor": "string",
"genType": "string",
"genPath": "string",
"pkColumn": {
"createBy": 0,
"createTime": "2019-08-24T14:15:22Z",
"updateBy": 0,
"updateTime": "2019-08-24T14:15:22Z",
"params": {
"property1": {},
"property2": {}
},
"columnId": 0,
"tableId": 0,
"columnName": "string",
"columnComment": "string",
"columnType": "string",
"javaType": "string",
"javaField": "string",
"isPk": "string",
"isIncrement": "string",
"isRequired": "string",
"isInsert": "string",
"isEdit": "string",
"isList": "string",
"isQuery": "string",
"queryType": "string",
"htmlType": "string",
"dictType": "string",
"sort": 0,
"required": true,
"list": true,
"superColumn": true,
"pk": true,
"edit": true,
"usableColumn": true,
"insert": true,
"increment": true,
"query": true,
"capJavaField": "string"
},
"subTable": {},
"columns": [
{
"createBy": 0,
"createTime": "2019-08-24T14:15:22Z",
"updateBy": 0,
"updateTime": "2019-08-24T14:15:22Z",
"params": {
"property1": {},
"property2": {}
},
"columnId": 0,
"tableId": 0,
"columnName": "string",
"columnComment": "string",
"columnType": "string",
"javaType": "string",
"javaField": "string",
"isPk": "string",
"isIncrement": "string",
"isRequired": "string",
"isInsert": "string",
"isEdit": "string",
"isList": "string",
"isQuery": "string",
"queryType": "string",
"htmlType": "string",
"dictType": "string",
"sort": 0,
"required": true,
"list": true,
"superColumn": true,
"pk": true,
"edit": true,
"usableColumn": true,
"insert": true,
"increment": true,
"query": true,
"capJavaField": "string"
}
],
"options": "string",
"remark": "string",
"treeCode": "string",
"treeParentCode": "string",
"treeName": "string",
"menuIds": [
0
],
"parentMenuId": "string",
"parentMenuName": "string",
"tree": true,
"crud": true,
"sub": true
}'
{
"code": 0,
"msg": "string",
"data": {}
}