You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
6341 lines
213 KiB
6341 lines
213 KiB
{
|
|
"paper": {
|
|
"name": "A4",
|
|
"leftMargin": 0.5,
|
|
"rightMargin": 0.5,
|
|
"topMargin": 0.5,
|
|
"bottomMargin": 0.5,
|
|
"isPortriat": true
|
|
},
|
|
"modelVersion": 2.01,
|
|
"defaultSchema": "pacAuth0_2",
|
|
"server": {
|
|
"objectType": "Server_MYSQL",
|
|
"name": "Default",
|
|
"uuid": "",
|
|
"serverVersion": 80099,
|
|
"edition": "Default",
|
|
"lowerCaseTableNames": 0,
|
|
"serviceProvider": "",
|
|
"schemas": [
|
|
{
|
|
"objectType": "Schema_MYSQL",
|
|
"name": "pacAuth0_2",
|
|
"tables": [
|
|
{
|
|
"objectType": "Table_MYSQL",
|
|
"name": "pac_core_service",
|
|
"comment": "系统已注册服务列表",
|
|
"engine": "",
|
|
"characterSet": "",
|
|
"collation": "",
|
|
"autoIncrement": 0,
|
|
"tablespace": "",
|
|
"storage": "",
|
|
"insertMethod": "",
|
|
"connection": "",
|
|
"checksum": false,
|
|
"rowFormat": "",
|
|
"avgRowLength": 0,
|
|
"maxRows": 0,
|
|
"minRows": 0,
|
|
"keyBlockSize": 0,
|
|
"packKeys": "",
|
|
"delayKeyWrite": false,
|
|
"dataDirectory": "",
|
|
"indexDirectory": "",
|
|
"statsAutoRecalc": "",
|
|
"statsPersistent": "",
|
|
"statsSamplePages": 0,
|
|
"union": "",
|
|
"pageCheckSum": false,
|
|
"transactional": false,
|
|
"compression": "",
|
|
"oldName": "",
|
|
"encryption": false,
|
|
"createOptions": "",
|
|
"createTime": "",
|
|
"checkTime": "",
|
|
"dataFree": 0,
|
|
"dataLength": 0,
|
|
"indexLength": 0,
|
|
"maxDataLength": 0,
|
|
"rows": 0,
|
|
"updateTime": "",
|
|
"DDL": "",
|
|
"partitionBy": "",
|
|
"partitionByExpr": "",
|
|
"partitions": 0,
|
|
"partitionKeyAlgorithm": "",
|
|
"subPartitionBy": "",
|
|
"subPartitionByExpr": "",
|
|
"subPartitions": 0,
|
|
"subPartitionKeyAlgorithm": "",
|
|
"fields": [
|
|
{
|
|
"objectType": "TableField_MYSQL",
|
|
"name": "service_key",
|
|
"type": "varchar",
|
|
"length": 255,
|
|
"decimals": -2147483648,
|
|
"isUnsigned": false,
|
|
"isZeroFill": false,
|
|
"setEnumValues": "",
|
|
"isBinary": false,
|
|
"charset": "",
|
|
"collation": "",
|
|
"isNullable": false,
|
|
"defaultType": "Others",
|
|
"defaultValue": "",
|
|
"isOnUpdateCurrentTimestamp": false,
|
|
"isAutoInc": false,
|
|
"comment": "服务唯一标识",
|
|
"columnFormat": "",
|
|
"storage": "",
|
|
"isVirtual": false,
|
|
"isGeneratedAlways": false,
|
|
"virtualExpr": "",
|
|
"virtualType": "",
|
|
"oldName": "service_key"
|
|
},
|
|
{
|
|
"objectType": "TableField_MYSQL",
|
|
"name": "service_name",
|
|
"type": "varchar",
|
|
"length": 255,
|
|
"decimals": -2147483648,
|
|
"isUnsigned": false,
|
|
"isZeroFill": false,
|
|
"setEnumValues": "",
|
|
"isBinary": false,
|
|
"charset": "",
|
|
"collation": "",
|
|
"isNullable": false,
|
|
"defaultType": "Others",
|
|
"defaultValue": "",
|
|
"isOnUpdateCurrentTimestamp": false,
|
|
"isAutoInc": false,
|
|
"comment": "服务名称",
|
|
"columnFormat": "",
|
|
"storage": "",
|
|
"isVirtual": false,
|
|
"isGeneratedAlways": false,
|
|
"virtualExpr": "",
|
|
"virtualType": "",
|
|
"oldName": "service_name"
|
|
},
|
|
{
|
|
"objectType": "TableField_MYSQL",
|
|
"name": "service_version",
|
|
"type": "varchar",
|
|
"length": 255,
|
|
"decimals": -2147483648,
|
|
"isUnsigned": false,
|
|
"isZeroFill": false,
|
|
"setEnumValues": "",
|
|
"isBinary": false,
|
|
"charset": "",
|
|
"collation": "",
|
|
"isNullable": true,
|
|
"defaultType": "Others",
|
|
"defaultValue": "",
|
|
"isOnUpdateCurrentTimestamp": false,
|
|
"isAutoInc": false,
|
|
"comment": "服务版本",
|
|
"columnFormat": "",
|
|
"storage": "",
|
|
"isVirtual": false,
|
|
"isGeneratedAlways": false,
|
|
"virtualExpr": "",
|
|
"virtualType": "",
|
|
"oldName": "service_version"
|
|
},
|
|
{
|
|
"objectType": "TableField_MYSQL",
|
|
"name": "service_desc",
|
|
"type": "varchar",
|
|
"length": 255,
|
|
"decimals": -2147483648,
|
|
"isUnsigned": false,
|
|
"isZeroFill": false,
|
|
"setEnumValues": "",
|
|
"isBinary": false,
|
|
"charset": "",
|
|
"collation": "",
|
|
"isNullable": true,
|
|
"defaultType": "Others",
|
|
"defaultValue": "",
|
|
"isOnUpdateCurrentTimestamp": false,
|
|
"isAutoInc": false,
|
|
"comment": "服务描述",
|
|
"columnFormat": "",
|
|
"storage": "",
|
|
"isVirtual": false,
|
|
"isGeneratedAlways": false,
|
|
"virtualExpr": "",
|
|
"virtualType": "",
|
|
"oldName": "service_desc"
|
|
},
|
|
{
|
|
"objectType": "TableField_MYSQL",
|
|
"name": "createby",
|
|
"type": "int",
|
|
"length": -2147483648,
|
|
"decimals": -2147483648,
|
|
"isUnsigned": false,
|
|
"isZeroFill": false,
|
|
"setEnumValues": "",
|
|
"isBinary": false,
|
|
"charset": "",
|
|
"collation": "",
|
|
"isNullable": false,
|
|
"defaultType": "Others",
|
|
"defaultValue": "",
|
|
"isOnUpdateCurrentTimestamp": false,
|
|
"isAutoInc": false,
|
|
"comment": "创建人",
|
|
"columnFormat": "",
|
|
"storage": "",
|
|
"isVirtual": false,
|
|
"isGeneratedAlways": false,
|
|
"virtualExpr": "",
|
|
"virtualType": "",
|
|
"oldName": "createby"
|
|
},
|
|
{
|
|
"objectType": "TableField_MYSQL",
|
|
"name": "createtime",
|
|
"type": "datetime",
|
|
"length": -2147483648,
|
|
"decimals": -2147483648,
|
|
"isUnsigned": false,
|
|
"isZeroFill": false,
|
|
"setEnumValues": "",
|
|
"isBinary": false,
|
|
"charset": "",
|
|
"collation": "",
|
|
"isNullable": false,
|
|
"defaultType": "Others",
|
|
"defaultValue": "",
|
|
"isOnUpdateCurrentTimestamp": false,
|
|
"isAutoInc": false,
|
|
"comment": "创建时间",
|
|
"columnFormat": "",
|
|
"storage": "",
|
|
"isVirtual": false,
|
|
"isGeneratedAlways": false,
|
|
"virtualExpr": "",
|
|
"virtualType": "",
|
|
"oldName": "createtime"
|
|
},
|
|
{
|
|
"objectType": "TableField_MYSQL",
|
|
"name": "updateby",
|
|
"type": "int",
|
|
"length": -2147483648,
|
|
"decimals": -2147483648,
|
|
"isUnsigned": false,
|
|
"isZeroFill": false,
|
|
"setEnumValues": "",
|
|
"isBinary": false,
|
|
"charset": "",
|
|
"collation": "",
|
|
"isNullable": true,
|
|
"defaultType": "Null",
|
|
"defaultValue": "NULL",
|
|
"isOnUpdateCurrentTimestamp": false,
|
|
"isAutoInc": false,
|
|
"comment": "更新人",
|
|
"columnFormat": "",
|
|
"storage": "",
|
|
"isVirtual": false,
|
|
"isGeneratedAlways": false,
|
|
"virtualExpr": "",
|
|
"virtualType": "",
|
|
"oldName": "updateby"
|
|
},
|
|
{
|
|
"objectType": "TableField_MYSQL",
|
|
"name": "updatetime",
|
|
"type": "datetime",
|
|
"length": -2147483648,
|
|
"decimals": -2147483648,
|
|
"isUnsigned": false,
|
|
"isZeroFill": false,
|
|
"setEnumValues": "",
|
|
"isBinary": false,
|
|
"charset": "",
|
|
"collation": "",
|
|
"isNullable": true,
|
|
"defaultType": "Null",
|
|
"defaultValue": "NULL",
|
|
"isOnUpdateCurrentTimestamp": false,
|
|
"isAutoInc": false,
|
|
"comment": "更新时间",
|
|
"columnFormat": "",
|
|
"storage": "",
|
|
"isVirtual": false,
|
|
"isGeneratedAlways": false,
|
|
"virtualExpr": "",
|
|
"virtualType": "",
|
|
"oldName": "updatetime"
|
|
},
|
|
{
|
|
"objectType": "TableField_MYSQL",
|
|
"name": "deleteby",
|
|
"type": "int",
|
|
"length": -2147483648,
|
|
"decimals": -2147483648,
|
|
"isUnsigned": false,
|
|
"isZeroFill": false,
|
|
"setEnumValues": "",
|
|
"isBinary": false,
|
|
"charset": "",
|
|
"collation": "",
|
|
"isNullable": true,
|
|
"defaultType": "Null",
|
|
"defaultValue": "NULL",
|
|
"isOnUpdateCurrentTimestamp": false,
|
|
"isAutoInc": false,
|
|
"comment": "删除人",
|
|
"columnFormat": "",
|
|
"storage": "",
|
|
"isVirtual": false,
|
|
"isGeneratedAlways": false,
|
|
"virtualExpr": "",
|
|
"virtualType": "",
|
|
"oldName": "deleteby"
|
|
},
|
|
{
|
|
"objectType": "TableField_MYSQL",
|
|
"name": "deletetime",
|
|
"type": "datetime",
|
|
"length": -2147483648,
|
|
"decimals": -2147483648,
|
|
"isUnsigned": false,
|
|
"isZeroFill": false,
|
|
"setEnumValues": "",
|
|
"isBinary": false,
|
|
"charset": "",
|
|
"collation": "",
|
|
"isNullable": true,
|
|
"defaultType": "Null",
|
|
"defaultValue": "NULL",
|
|
"isOnUpdateCurrentTimestamp": false,
|
|
"isAutoInc": false,
|
|
"comment": "删除时间",
|
|
"columnFormat": "",
|
|
"storage": "",
|
|
"isVirtual": false,
|
|
"isGeneratedAlways": false,
|
|
"virtualExpr": "",
|
|
"virtualType": "",
|
|
"oldName": "deletetime"
|
|
}
|
|
],
|
|
"indexes": [],
|
|
"primaryKey": {
|
|
"objectType": "PrimaryKey_MYSQL",
|
|
"name": "",
|
|
"fields": [
|
|
{
|
|
"objectType": "IndexField_MYSQL",
|
|
"name": "service_key",
|
|
"keyLength": -2147483648,
|
|
"order": "",
|
|
"oldName": ""
|
|
}
|
|
],
|
|
"oldName": "",
|
|
"indexMethod": "",
|
|
"comment": ""
|
|
},
|
|
"foreignKeys": [],
|
|
"checks": [],
|
|
"triggers": [],
|
|
"tablePartitions": []
|
|
},
|
|
{
|
|
"objectType": "Table_MYSQL",
|
|
"name": "pac_auth_link_role_menu",
|
|
"comment": "角色菜单关联",
|
|
"engine": "",
|
|
"characterSet": "",
|
|
"collation": "",
|
|
"autoIncrement": 0,
|
|
"tablespace": "",
|
|
"storage": "",
|
|
"insertMethod": "",
|
|
"connection": "",
|
|
"checksum": false,
|
|
"rowFormat": "",
|
|
"avgRowLength": 0,
|
|
"maxRows": 0,
|
|
"minRows": 0,
|
|
"keyBlockSize": 0,
|
|
"packKeys": "",
|
|
"delayKeyWrite": false,
|
|
"dataDirectory": "",
|
|
"indexDirectory": "",
|
|
"statsAutoRecalc": "",
|
|
"statsPersistent": "",
|
|
"statsSamplePages": 0,
|
|
"union": "",
|
|
"pageCheckSum": false,
|
|
"transactional": false,
|
|
"compression": "",
|
|
"oldName": "",
|
|
"encryption": false,
|
|
"createOptions": "",
|
|
"createTime": "",
|
|
"checkTime": "",
|
|
"dataFree": 0,
|
|
"dataLength": 0,
|
|
"indexLength": 0,
|
|
"maxDataLength": 0,
|
|
"rows": 0,
|
|
"updateTime": "",
|
|
"DDL": "",
|
|
"partitionBy": "",
|
|
"partitionByExpr": "",
|
|
"partitions": 0,
|
|
"partitionKeyAlgorithm": "",
|
|
"subPartitionBy": "",
|
|
"subPartitionByExpr": "",
|
|
"subPartitions": 0,
|
|
"subPartitionKeyAlgorithm": "",
|
|
"fields": [
|
|
{
|
|
"objectType": "TableField_MYSQL",
|
|
"name": "index",
|
|
"type": "int",
|
|
"length": -2147483648,
|
|
"decimals": -2147483648,
|
|
"isUnsigned": false,
|
|
"isZeroFill": false,
|
|
"setEnumValues": "",
|
|
"isBinary": false,
|
|
"charset": "",
|
|
"collation": "",
|
|
"isNullable": false,
|
|
"defaultType": "Others",
|
|
"defaultValue": "",
|
|
"isOnUpdateCurrentTimestamp": false,
|
|
"isAutoInc": true,
|
|
"comment": "数据完整性确认",
|
|
"columnFormat": "",
|
|
"storage": "",
|
|
"isVirtual": false,
|
|
"isGeneratedAlways": false,
|
|
"virtualExpr": "",
|
|
"virtualType": "",
|
|
"oldName": "index"
|
|
},
|
|
{
|
|
"objectType": "TableField_MYSQL",
|
|
"name": "role_id",
|
|
"type": "int",
|
|
"length": -2147483648,
|
|
"decimals": -2147483648,
|
|
"isUnsigned": false,
|
|
"isZeroFill": false,
|
|
"setEnumValues": "",
|
|
"isBinary": false,
|
|
"charset": "",
|
|
"collation": "",
|
|
"isNullable": false,
|
|
"defaultType": "Others",
|
|
"defaultValue": "",
|
|
"isOnUpdateCurrentTimestamp": false,
|
|
"isAutoInc": false,
|
|
"comment": "",
|
|
"columnFormat": "",
|
|
"storage": "",
|
|
"isVirtual": false,
|
|
"isGeneratedAlways": false,
|
|
"virtualExpr": "",
|
|
"virtualType": "",
|
|
"oldName": "role_id"
|
|
},
|
|
{
|
|
"objectType": "TableField_MYSQL",
|
|
"name": "menu_id",
|
|
"type": "int",
|
|
"length": -2147483648,
|
|
"decimals": -2147483648,
|
|
"isUnsigned": false,
|
|
"isZeroFill": false,
|
|
"setEnumValues": "",
|
|
"isBinary": false,
|
|
"charset": "",
|
|
"collation": "",
|
|
"isNullable": false,
|
|
"defaultType": "Others",
|
|
"defaultValue": "",
|
|
"isOnUpdateCurrentTimestamp": false,
|
|
"isAutoInc": false,
|
|
"comment": "",
|
|
"columnFormat": "",
|
|
"storage": "",
|
|
"isVirtual": false,
|
|
"isGeneratedAlways": false,
|
|
"virtualExpr": "",
|
|
"virtualType": "",
|
|
"oldName": "menu_id"
|
|
},
|
|
{
|
|
"objectType": "TableField_MYSQL",
|
|
"name": "createby",
|
|
"type": "int",
|
|
"length": 0,
|
|
"decimals": 0,
|
|
"isUnsigned": false,
|
|
"isZeroFill": false,
|
|
"setEnumValues": "",
|
|
"isBinary": false,
|
|
"charset": "",
|
|
"collation": "",
|
|
"isNullable": false,
|
|
"defaultType": "Others",
|
|
"defaultValue": "",
|
|
"isOnUpdateCurrentTimestamp": false,
|
|
"isAutoInc": false,
|
|
"comment": "创建人",
|
|
"columnFormat": "",
|
|
"storage": "",
|
|
"isVirtual": false,
|
|
"isGeneratedAlways": false,
|
|
"virtualExpr": "",
|
|
"virtualType": "",
|
|
"oldName": "createby"
|
|
},
|
|
{
|
|
"objectType": "TableField_MYSQL",
|
|
"name": "createtime",
|
|
"type": "datetime",
|
|
"length": 0,
|
|
"decimals": 0,
|
|
"isUnsigned": false,
|
|
"isZeroFill": false,
|
|
"setEnumValues": "",
|
|
"isBinary": false,
|
|
"charset": "",
|
|
"collation": "",
|
|
"isNullable": false,
|
|
"defaultType": "Others",
|
|
"defaultValue": "",
|
|
"isOnUpdateCurrentTimestamp": false,
|
|
"isAutoInc": false,
|
|
"comment": "创建时间",
|
|
"columnFormat": "",
|
|
"storage": "",
|
|
"isVirtual": false,
|
|
"isGeneratedAlways": false,
|
|
"virtualExpr": "",
|
|
"virtualType": "",
|
|
"oldName": "createtime"
|
|
},
|
|
{
|
|
"objectType": "TableField_MYSQL",
|
|
"name": "updateby",
|
|
"type": "int",
|
|
"length": 0,
|
|
"decimals": 0,
|
|
"isUnsigned": false,
|
|
"isZeroFill": false,
|
|
"setEnumValues": "",
|
|
"isBinary": false,
|
|
"charset": "",
|
|
"collation": "",
|
|
"isNullable": true,
|
|
"defaultType": "Null",
|
|
"defaultValue": "NULL",
|
|
"isOnUpdateCurrentTimestamp": false,
|
|
"isAutoInc": false,
|
|
"comment": "更新人",
|
|
"columnFormat": "",
|
|
"storage": "",
|
|
"isVirtual": false,
|
|
"isGeneratedAlways": false,
|
|
"virtualExpr": "",
|
|
"virtualType": "",
|
|
"oldName": "updateby"
|
|
},
|
|
{
|
|
"objectType": "TableField_MYSQL",
|
|
"name": "updatetime",
|
|
"type": "datetime",
|
|
"length": 0,
|
|
"decimals": 0,
|
|
"isUnsigned": false,
|
|
"isZeroFill": false,
|
|
"setEnumValues": "",
|
|
"isBinary": false,
|
|
"charset": "",
|
|
"collation": "",
|
|
"isNullable": true,
|
|
"defaultType": "Null",
|
|
"defaultValue": "NULL",
|
|
"isOnUpdateCurrentTimestamp": false,
|
|
"isAutoInc": false,
|
|
"comment": "更新时间",
|
|
"columnFormat": "",
|
|
"storage": "",
|
|
"isVirtual": false,
|
|
"isGeneratedAlways": false,
|
|
"virtualExpr": "",
|
|
"virtualType": "",
|
|
"oldName": "updatetime"
|
|
},
|
|
{
|
|
"objectType": "TableField_MYSQL",
|
|
"name": "deleteby",
|
|
"type": "int",
|
|
"length": 0,
|
|
"decimals": 0,
|
|
"isUnsigned": false,
|
|
"isZeroFill": false,
|
|
"setEnumValues": "",
|
|
"isBinary": false,
|
|
"charset": "",
|
|
"collation": "",
|
|
"isNullable": true,
|
|
"defaultType": "Null",
|
|
"defaultValue": "NULL",
|
|
"isOnUpdateCurrentTimestamp": false,
|
|
"isAutoInc": false,
|
|
"comment": "删除人",
|
|
"columnFormat": "",
|
|
"storage": "",
|
|
"isVirtual": false,
|
|
"isGeneratedAlways": false,
|
|
"virtualExpr": "",
|
|
"virtualType": "",
|
|
"oldName": "deleteby"
|
|
},
|
|
{
|
|
"objectType": "TableField_MYSQL",
|
|
"name": "deletetime",
|
|
"type": "datetime",
|
|
"length": 0,
|
|
"decimals": 0,
|
|
"isUnsigned": false,
|
|
"isZeroFill": false,
|
|
"setEnumValues": "",
|
|
"isBinary": false,
|
|
"charset": "",
|
|
"collation": "",
|
|
"isNullable": true,
|
|
"defaultType": "Null",
|
|
"defaultValue": "NULL",
|
|
"isOnUpdateCurrentTimestamp": false,
|
|
"isAutoInc": false,
|
|
"comment": "删除时间",
|
|
"columnFormat": "",
|
|
"storage": "",
|
|
"isVirtual": false,
|
|
"isGeneratedAlways": false,
|
|
"virtualExpr": "",
|
|
"virtualType": "",
|
|
"oldName": "deletetime"
|
|
}
|
|
],
|
|
"indexes": [
|
|
{
|
|
"objectType": "Index_MYSQL",
|
|
"name": "pac_index",
|
|
"type": "UNIQUE",
|
|
"method": "",
|
|
"comment": "",
|
|
"oldName": "",
|
|
"online": false,
|
|
"keyBlockSize": 0,
|
|
"parser": "",
|
|
"algorithm": "",
|
|
"lock": "",
|
|
"collation": "",
|
|
"cardinality": "",
|
|
"packed": "",
|
|
"IsVisibleIndex": true,
|
|
"fields": [
|
|
{
|
|
"objectType": "IndexField_MYSQL",
|
|
"name": "index",
|
|
"keyLength": 0,
|
|
"order": "",
|
|
"oldName": ""
|
|
}
|
|
]
|
|
}
|
|
],
|
|
"primaryKey": {
|
|
"objectType": "PrimaryKey_MYSQL",
|
|
"name": "",
|
|
"fields": [
|
|
{
|
|
"objectType": "IndexField_MYSQL",
|
|
"name": "index",
|
|
"keyLength": -2147483648,
|
|
"order": "",
|
|
"oldName": ""
|
|
}
|
|
],
|
|
"oldName": "",
|
|
"indexMethod": "",
|
|
"comment": ""
|
|
},
|
|
"foreignKeys": [],
|
|
"checks": [],
|
|
"triggers": [],
|
|
"tablePartitions": []
|
|
},
|
|
{
|
|
"objectType": "Table_MYSQL",
|
|
"name": "pac_auth_link_user_role",
|
|
"comment": "用户角色关联",
|
|
"engine": "",
|
|
"characterSet": "",
|
|
"collation": "",
|
|
"autoIncrement": 0,
|
|
"tablespace": "",
|
|
"storage": "",
|
|
"insertMethod": "",
|
|
"connection": "",
|
|
"checksum": false,
|
|
"rowFormat": "",
|
|
"avgRowLength": 0,
|
|
"maxRows": 0,
|
|
"minRows": 0,
|
|
"keyBlockSize": 0,
|
|
"packKeys": "",
|
|
"delayKeyWrite": false,
|
|
"dataDirectory": "",
|
|
"indexDirectory": "",
|
|
"statsAutoRecalc": "",
|
|
"statsPersistent": "",
|
|
"statsSamplePages": 0,
|
|
"union": "",
|
|
"pageCheckSum": false,
|
|
"transactional": false,
|
|
"compression": "",
|
|
"oldName": "",
|
|
"encryption": false,
|
|
"createOptions": "",
|
|
"createTime": "",
|
|
"checkTime": "",
|
|
"dataFree": 0,
|
|
"dataLength": 0,
|
|
"indexLength": 0,
|
|
"maxDataLength": 0,
|
|
"rows": 0,
|
|
"updateTime": "",
|
|
"DDL": "",
|
|
"partitionBy": "",
|
|
"partitionByExpr": "",
|
|
"partitions": 0,
|
|
"partitionKeyAlgorithm": "",
|
|
"subPartitionBy": "",
|
|
"subPartitionByExpr": "",
|
|
"subPartitions": 0,
|
|
"subPartitionKeyAlgorithm": "",
|
|
"fields": [
|
|
{
|
|
"objectType": "TableField_MYSQL",
|
|
"name": "index",
|
|
"type": "int",
|
|
"length": -2147483648,
|
|
"decimals": -2147483648,
|
|
"isUnsigned": false,
|
|
"isZeroFill": false,
|
|
"setEnumValues": "",
|
|
"isBinary": false,
|
|
"charset": "",
|
|
"collation": "",
|
|
"isNullable": false,
|
|
"defaultType": "Others",
|
|
"defaultValue": "",
|
|
"isOnUpdateCurrentTimestamp": false,
|
|
"isAutoInc": true,
|
|
"comment": "数据完整性确认",
|
|
"columnFormat": "",
|
|
"storage": "",
|
|
"isVirtual": false,
|
|
"isGeneratedAlways": false,
|
|
"virtualExpr": "",
|
|
"virtualType": "",
|
|
"oldName": "index"
|
|
},
|
|
{
|
|
"objectType": "TableField_MYSQL",
|
|
"name": "user_id",
|
|
"type": "int",
|
|
"length": -2147483648,
|
|
"decimals": -2147483648,
|
|
"isUnsigned": false,
|
|
"isZeroFill": false,
|
|
"setEnumValues": "",
|
|
"isBinary": false,
|
|
"charset": "",
|
|
"collation": "",
|
|
"isNullable": false,
|
|
"defaultType": "Others",
|
|
"defaultValue": "",
|
|
"isOnUpdateCurrentTimestamp": false,
|
|
"isAutoInc": false,
|
|
"comment": "",
|
|
"columnFormat": "",
|
|
"storage": "",
|
|
"isVirtual": false,
|
|
"isGeneratedAlways": false,
|
|
"virtualExpr": "",
|
|
"virtualType": "",
|
|
"oldName": "user_id"
|
|
},
|
|
{
|
|
"objectType": "TableField_MYSQL",
|
|
"name": "role_id",
|
|
"type": "int",
|
|
"length": -2147483648,
|
|
"decimals": -2147483648,
|
|
"isUnsigned": false,
|
|
"isZeroFill": false,
|
|
"setEnumValues": "",
|
|
"isBinary": false,
|
|
"charset": "",
|
|
"collation": "",
|
|
"isNullable": false,
|
|
"defaultType": "Others",
|
|
"defaultValue": "",
|
|
"isOnUpdateCurrentTimestamp": false,
|
|
"isAutoInc": false,
|
|
"comment": "",
|
|
"columnFormat": "",
|
|
"storage": "",
|
|
"isVirtual": false,
|
|
"isGeneratedAlways": false,
|
|
"virtualExpr": "",
|
|
"virtualType": "",
|
|
"oldName": "role_id"
|
|
},
|
|
{
|
|
"objectType": "TableField_MYSQL",
|
|
"name": "createby",
|
|
"type": "int",
|
|
"length": 0,
|
|
"decimals": 0,
|
|
"isUnsigned": false,
|
|
"isZeroFill": false,
|
|
"setEnumValues": "",
|
|
"isBinary": false,
|
|
"charset": "",
|
|
"collation": "",
|
|
"isNullable": false,
|
|
"defaultType": "Others",
|
|
"defaultValue": "",
|
|
"isOnUpdateCurrentTimestamp": false,
|
|
"isAutoInc": false,
|
|
"comment": "创建人",
|
|
"columnFormat": "",
|
|
"storage": "",
|
|
"isVirtual": false,
|
|
"isGeneratedAlways": false,
|
|
"virtualExpr": "",
|
|
"virtualType": "",
|
|
"oldName": "createby"
|
|
},
|
|
{
|
|
"objectType": "TableField_MYSQL",
|
|
"name": "createtime",
|
|
"type": "datetime",
|
|
"length": 0,
|
|
"decimals": 0,
|
|
"isUnsigned": false,
|
|
"isZeroFill": false,
|
|
"setEnumValues": "",
|
|
"isBinary": false,
|
|
"charset": "",
|
|
"collation": "",
|
|
"isNullable": false,
|
|
"defaultType": "Others",
|
|
"defaultValue": "",
|
|
"isOnUpdateCurrentTimestamp": false,
|
|
"isAutoInc": false,
|
|
"comment": "创建时间",
|
|
"columnFormat": "",
|
|
"storage": "",
|
|
"isVirtual": false,
|
|
"isGeneratedAlways": false,
|
|
"virtualExpr": "",
|
|
"virtualType": "",
|
|
"oldName": "createtime"
|
|
},
|
|
{
|
|
"objectType": "TableField_MYSQL",
|
|
"name": "updateby",
|
|
"type": "int",
|
|
"length": 0,
|
|
"decimals": 0,
|
|
"isUnsigned": false,
|
|
"isZeroFill": false,
|
|
"setEnumValues": "",
|
|
"isBinary": false,
|
|
"charset": "",
|
|
"collation": "",
|
|
"isNullable": true,
|
|
"defaultType": "Null",
|
|
"defaultValue": "NULL",
|
|
"isOnUpdateCurrentTimestamp": false,
|
|
"isAutoInc": false,
|
|
"comment": "更新人",
|
|
"columnFormat": "",
|
|
"storage": "",
|
|
"isVirtual": false,
|
|
"isGeneratedAlways": false,
|
|
"virtualExpr": "",
|
|
"virtualType": "",
|
|
"oldName": "updateby"
|
|
},
|
|
{
|
|
"objectType": "TableField_MYSQL",
|
|
"name": "updatetime",
|
|
"type": "datetime",
|
|
"length": 0,
|
|
"decimals": 0,
|
|
"isUnsigned": false,
|
|
"isZeroFill": false,
|
|
"setEnumValues": "",
|
|
"isBinary": false,
|
|
"charset": "",
|
|
"collation": "",
|
|
"isNullable": true,
|
|
"defaultType": "Null",
|
|
"defaultValue": "NULL",
|
|
"isOnUpdateCurrentTimestamp": false,
|
|
"isAutoInc": false,
|
|
"comment": "更新时间",
|
|
"columnFormat": "",
|
|
"storage": "",
|
|
"isVirtual": false,
|
|
"isGeneratedAlways": false,
|
|
"virtualExpr": "",
|
|
"virtualType": "",
|
|
"oldName": "updatetime"
|
|
},
|
|
{
|
|
"objectType": "TableField_MYSQL",
|
|
"name": "deleteby",
|
|
"type": "int",
|
|
"length": 0,
|
|
"decimals": 0,
|
|
"isUnsigned": false,
|
|
"isZeroFill": false,
|
|
"setEnumValues": "",
|
|
"isBinary": false,
|
|
"charset": "",
|
|
"collation": "",
|
|
"isNullable": true,
|
|
"defaultType": "Null",
|
|
"defaultValue": "NULL",
|
|
"isOnUpdateCurrentTimestamp": false,
|
|
"isAutoInc": false,
|
|
"comment": "删除人",
|
|
"columnFormat": "",
|
|
"storage": "",
|
|
"isVirtual": false,
|
|
"isGeneratedAlways": false,
|
|
"virtualExpr": "",
|
|
"virtualType": "",
|
|
"oldName": "deleteby"
|
|
},
|
|
{
|
|
"objectType": "TableField_MYSQL",
|
|
"name": "deletetime",
|
|
"type": "datetime",
|
|
"length": 0,
|
|
"decimals": 0,
|
|
"isUnsigned": false,
|
|
"isZeroFill": false,
|
|
"setEnumValues": "",
|
|
"isBinary": false,
|
|
"charset": "",
|
|
"collation": "",
|
|
"isNullable": true,
|
|
"defaultType": "Null",
|
|
"defaultValue": "NULL",
|
|
"isOnUpdateCurrentTimestamp": false,
|
|
"isAutoInc": false,
|
|
"comment": "删除时间",
|
|
"columnFormat": "",
|
|
"storage": "",
|
|
"isVirtual": false,
|
|
"isGeneratedAlways": false,
|
|
"virtualExpr": "",
|
|
"virtualType": "",
|
|
"oldName": "deletetime"
|
|
}
|
|
],
|
|
"indexes": [
|
|
{
|
|
"objectType": "Index_MYSQL",
|
|
"name": "pac_index",
|
|
"type": "UNIQUE",
|
|
"method": "",
|
|
"comment": "",
|
|
"oldName": "",
|
|
"online": false,
|
|
"keyBlockSize": 0,
|
|
"parser": "",
|
|
"algorithm": "",
|
|
"lock": "",
|
|
"collation": "",
|
|
"cardinality": "",
|
|
"packed": "",
|
|
"IsVisibleIndex": true,
|
|
"fields": [
|
|
{
|
|
"objectType": "IndexField_MYSQL",
|
|
"name": "index",
|
|
"keyLength": 0,
|
|
"order": "",
|
|
"oldName": ""
|
|
}
|
|
]
|
|
}
|
|
],
|
|
"primaryKey": {
|
|
"objectType": "PrimaryKey_MYSQL",
|
|
"name": "",
|
|
"fields": [
|
|
{
|
|
"objectType": "IndexField_MYSQL",
|
|
"name": "index",
|
|
"keyLength": -2147483648,
|
|
"order": "",
|
|
"oldName": ""
|
|
}
|
|
],
|
|
"oldName": "",
|
|
"indexMethod": "",
|
|
"comment": ""
|
|
},
|
|
"foreignKeys": [],
|
|
"checks": [],
|
|
"triggers": [],
|
|
"tablePartitions": []
|
|
},
|
|
{
|
|
"objectType": "Table_MYSQL",
|
|
"name": "pac_auth_link_user_post",
|
|
"comment": "用户岗位关联",
|
|
"engine": "",
|
|
"characterSet": "",
|
|
"collation": "",
|
|
"autoIncrement": 0,
|
|
"tablespace": "",
|
|
"storage": "",
|
|
"insertMethod": "",
|
|
"connection": "",
|
|
"checksum": false,
|
|
"rowFormat": "",
|
|
"avgRowLength": 0,
|
|
"maxRows": 0,
|
|
"minRows": 0,
|
|
"keyBlockSize": 0,
|
|
"packKeys": "",
|
|
"delayKeyWrite": false,
|
|
"dataDirectory": "",
|
|
"indexDirectory": "",
|
|
"statsAutoRecalc": "",
|
|
"statsPersistent": "",
|
|
"statsSamplePages": 0,
|
|
"union": "",
|
|
"pageCheckSum": false,
|
|
"transactional": false,
|
|
"compression": "",
|
|
"oldName": "",
|
|
"encryption": false,
|
|
"createOptions": "",
|
|
"createTime": "",
|
|
"checkTime": "",
|
|
"dataFree": 0,
|
|
"dataLength": 0,
|
|
"indexLength": 0,
|
|
"maxDataLength": 0,
|
|
"rows": 0,
|
|
"updateTime": "",
|
|
"DDL": "",
|
|
"partitionBy": "",
|
|
"partitionByExpr": "",
|
|
"partitions": 0,
|
|
"partitionKeyAlgorithm": "",
|
|
"subPartitionBy": "",
|
|
"subPartitionByExpr": "",
|
|
"subPartitions": 0,
|
|
"subPartitionKeyAlgorithm": "",
|
|
"fields": [
|
|
{
|
|
"objectType": "TableField_MYSQL",
|
|
"name": "index",
|
|
"type": "int",
|
|
"length": -2147483648,
|
|
"decimals": -2147483648,
|
|
"isUnsigned": false,
|
|
"isZeroFill": false,
|
|
"setEnumValues": "",
|
|
"isBinary": false,
|
|
"charset": "",
|
|
"collation": "",
|
|
"isNullable": false,
|
|
"defaultType": "Others",
|
|
"defaultValue": "",
|
|
"isOnUpdateCurrentTimestamp": false,
|
|
"isAutoInc": true,
|
|
"comment": "数据完整性确认",
|
|
"columnFormat": "",
|
|
"storage": "",
|
|
"isVirtual": false,
|
|
"isGeneratedAlways": false,
|
|
"virtualExpr": "",
|
|
"virtualType": "",
|
|
"oldName": "index"
|
|
},
|
|
{
|
|
"objectType": "TableField_MYSQL",
|
|
"name": "user_id",
|
|
"type": "int",
|
|
"length": -2147483648,
|
|
"decimals": -2147483648,
|
|
"isUnsigned": false,
|
|
"isZeroFill": false,
|
|
"setEnumValues": "",
|
|
"isBinary": false,
|
|
"charset": "",
|
|
"collation": "",
|
|
"isNullable": false,
|
|
"defaultType": "Others",
|
|
"defaultValue": "",
|
|
"isOnUpdateCurrentTimestamp": false,
|
|
"isAutoInc": false,
|
|
"comment": "",
|
|
"columnFormat": "",
|
|
"storage": "",
|
|
"isVirtual": false,
|
|
"isGeneratedAlways": false,
|
|
"virtualExpr": "",
|
|
"virtualType": "",
|
|
"oldName": "user_id"
|
|
},
|
|
{
|
|
"objectType": "TableField_MYSQL",
|
|
"name": "post_id",
|
|
"type": "int",
|
|
"length": -2147483648,
|
|
"decimals": -2147483648,
|
|
"isUnsigned": false,
|
|
"isZeroFill": false,
|
|
"setEnumValues": "",
|
|
"isBinary": false,
|
|
"charset": "",
|
|
"collation": "",
|
|
"isNullable": false,
|
|
"defaultType": "Others",
|
|
"defaultValue": "",
|
|
"isOnUpdateCurrentTimestamp": false,
|
|
"isAutoInc": false,
|
|
"comment": "",
|
|
"columnFormat": "",
|
|
"storage": "",
|
|
"isVirtual": false,
|
|
"isGeneratedAlways": false,
|
|
"virtualExpr": "",
|
|
"virtualType": "",
|
|
"oldName": "post_id"
|
|
},
|
|
{
|
|
"objectType": "TableField_MYSQL",
|
|
"name": "createby",
|
|
"type": "int",
|
|
"length": 0,
|
|
"decimals": 0,
|
|
"isUnsigned": false,
|
|
"isZeroFill": false,
|
|
"setEnumValues": "",
|
|
"isBinary": false,
|
|
"charset": "",
|
|
"collation": "",
|
|
"isNullable": false,
|
|
"defaultType": "Others",
|
|
"defaultValue": "",
|
|
"isOnUpdateCurrentTimestamp": false,
|
|
"isAutoInc": false,
|
|
"comment": "创建人",
|
|
"columnFormat": "",
|
|
"storage": "",
|
|
"isVirtual": false,
|
|
"isGeneratedAlways": false,
|
|
"virtualExpr": "",
|
|
"virtualType": "",
|
|
"oldName": "createby"
|
|
},
|
|
{
|
|
"objectType": "TableField_MYSQL",
|
|
"name": "createtime",
|
|
"type": "datetime",
|
|
"length": 0,
|
|
"decimals": 0,
|
|
"isUnsigned": false,
|
|
"isZeroFill": false,
|
|
"setEnumValues": "",
|
|
"isBinary": false,
|
|
"charset": "",
|
|
"collation": "",
|
|
"isNullable": false,
|
|
"defaultType": "Others",
|
|
"defaultValue": "",
|
|
"isOnUpdateCurrentTimestamp": false,
|
|
"isAutoInc": false,
|
|
"comment": "创建时间",
|
|
"columnFormat": "",
|
|
"storage": "",
|
|
"isVirtual": false,
|
|
"isGeneratedAlways": false,
|
|
"virtualExpr": "",
|
|
"virtualType": "",
|
|
"oldName": "createtime"
|
|
},
|
|
{
|
|
"objectType": "TableField_MYSQL",
|
|
"name": "updateby",
|
|
"type": "int",
|
|
"length": 0,
|
|
"decimals": 0,
|
|
"isUnsigned": false,
|
|
"isZeroFill": false,
|
|
"setEnumValues": "",
|
|
"isBinary": false,
|
|
"charset": "",
|
|
"collation": "",
|
|
"isNullable": true,
|
|
"defaultType": "Null",
|
|
"defaultValue": "NULL",
|
|
"isOnUpdateCurrentTimestamp": false,
|
|
"isAutoInc": false,
|
|
"comment": "更新人",
|
|
"columnFormat": "",
|
|
"storage": "",
|
|
"isVirtual": false,
|
|
"isGeneratedAlways": false,
|
|
"virtualExpr": "",
|
|
"virtualType": "",
|
|
"oldName": "updateby"
|
|
},
|
|
{
|
|
"objectType": "TableField_MYSQL",
|
|
"name": "updatetime",
|
|
"type": "datetime",
|
|
"length": 0,
|
|
"decimals": 0,
|
|
"isUnsigned": false,
|
|
"isZeroFill": false,
|
|
"setEnumValues": "",
|
|
"isBinary": false,
|
|
"charset": "",
|
|
"collation": "",
|
|
"isNullable": true,
|
|
"defaultType": "Null",
|
|
"defaultValue": "NULL",
|
|
"isOnUpdateCurrentTimestamp": false,
|
|
"isAutoInc": false,
|
|
"comment": "更新时间",
|
|
"columnFormat": "",
|
|
"storage": "",
|
|
"isVirtual": false,
|
|
"isGeneratedAlways": false,
|
|
"virtualExpr": "",
|
|
"virtualType": "",
|
|
"oldName": "updatetime"
|
|
},
|
|
{
|
|
"objectType": "TableField_MYSQL",
|
|
"name": "deleteby",
|
|
"type": "int",
|
|
"length": 0,
|
|
"decimals": 0,
|
|
"isUnsigned": false,
|
|
"isZeroFill": false,
|
|
"setEnumValues": "",
|
|
"isBinary": false,
|
|
"charset": "",
|
|
"collation": "",
|
|
"isNullable": true,
|
|
"defaultType": "Null",
|
|
"defaultValue": "NULL",
|
|
"isOnUpdateCurrentTimestamp": false,
|
|
"isAutoInc": false,
|
|
"comment": "删除人",
|
|
"columnFormat": "",
|
|
"storage": "",
|
|
"isVirtual": false,
|
|
"isGeneratedAlways": false,
|
|
"virtualExpr": "",
|
|
"virtualType": "",
|
|
"oldName": "deleteby"
|
|
},
|
|
{
|
|
"objectType": "TableField_MYSQL",
|
|
"name": "deletetime",
|
|
"type": "datetime",
|
|
"length": 0,
|
|
"decimals": 0,
|
|
"isUnsigned": false,
|
|
"isZeroFill": false,
|
|
"setEnumValues": "",
|
|
"isBinary": false,
|
|
"charset": "",
|
|
"collation": "",
|
|
"isNullable": true,
|
|
"defaultType": "Null",
|
|
"defaultValue": "NULL",
|
|
"isOnUpdateCurrentTimestamp": false,
|
|
"isAutoInc": false,
|
|
"comment": "删除时间",
|
|
"columnFormat": "",
|
|
"storage": "",
|
|
"isVirtual": false,
|
|
"isGeneratedAlways": false,
|
|
"virtualExpr": "",
|
|
"virtualType": "",
|
|
"oldName": "deletetime"
|
|
}
|
|
],
|
|
"indexes": [
|
|
{
|
|
"objectType": "Index_MYSQL",
|
|
"name": "pac_index",
|
|
"type": "UNIQUE",
|
|
"method": "",
|
|
"comment": "",
|
|
"oldName": "",
|
|
"online": false,
|
|
"keyBlockSize": 0,
|
|
"parser": "",
|
|
"algorithm": "",
|
|
"lock": "",
|
|
"collation": "",
|
|
"cardinality": "",
|
|
"packed": "",
|
|
"IsVisibleIndex": true,
|
|
"fields": [
|
|
{
|
|
"objectType": "IndexField_MYSQL",
|
|
"name": "index",
|
|
"keyLength": 0,
|
|
"order": "",
|
|
"oldName": ""
|
|
}
|
|
]
|
|
}
|
|
],
|
|
"primaryKey": {
|
|
"objectType": "PrimaryKey_MYSQL",
|
|
"name": "",
|
|
"fields": [
|
|
{
|
|
"objectType": "IndexField_MYSQL",
|
|
"name": "index",
|
|
"keyLength": -2147483648,
|
|
"order": "",
|
|
"oldName": ""
|
|
}
|
|
],
|
|
"oldName": "",
|
|
"indexMethod": "",
|
|
"comment": ""
|
|
},
|
|
"foreignKeys": [],
|
|
"checks": [],
|
|
"triggers": [],
|
|
"tablePartitions": []
|
|
},
|
|
{
|
|
"objectType": "Table_MYSQL",
|
|
"name": "pac_auth_dept",
|
|
"comment": "系统组织架构",
|
|
"engine": "",
|
|
"characterSet": "",
|
|
"collation": "",
|
|
"autoIncrement": 0,
|
|
"tablespace": "",
|
|
"storage": "",
|
|
"insertMethod": "",
|
|
"connection": "",
|
|
"checksum": false,
|
|
"rowFormat": "",
|
|
"avgRowLength": 0,
|
|
"maxRows": 0,
|
|
"minRows": 0,
|
|
"keyBlockSize": 0,
|
|
"packKeys": "",
|
|
"delayKeyWrite": false,
|
|
"dataDirectory": "",
|
|
"indexDirectory": "",
|
|
"statsAutoRecalc": "",
|
|
"statsPersistent": "",
|
|
"statsSamplePages": 0,
|
|
"union": "",
|
|
"pageCheckSum": false,
|
|
"transactional": false,
|
|
"compression": "",
|
|
"oldName": "",
|
|
"encryption": false,
|
|
"createOptions": "",
|
|
"createTime": "",
|
|
"checkTime": "",
|
|
"dataFree": 0,
|
|
"dataLength": 0,
|
|
"indexLength": 0,
|
|
"maxDataLength": 0,
|
|
"rows": 0,
|
|
"updateTime": "",
|
|
"DDL": "",
|
|
"partitionBy": "",
|
|
"partitionByExpr": "",
|
|
"partitions": 0,
|
|
"partitionKeyAlgorithm": "",
|
|
"subPartitionBy": "",
|
|
"subPartitionByExpr": "",
|
|
"subPartitions": 0,
|
|
"subPartitionKeyAlgorithm": "",
|
|
"fields": [
|
|
{
|
|
"objectType": "TableField_MYSQL",
|
|
"name": "index",
|
|
"type": "int",
|
|
"length": -2147483648,
|
|
"decimals": -2147483648,
|
|
"isUnsigned": false,
|
|
"isZeroFill": false,
|
|
"setEnumValues": "",
|
|
"isBinary": false,
|
|
"charset": "",
|
|
"collation": "",
|
|
"isNullable": false,
|
|
"defaultType": "Others",
|
|
"defaultValue": "",
|
|
"isOnUpdateCurrentTimestamp": false,
|
|
"isAutoInc": true,
|
|
"comment": "数据完整性确认",
|
|
"columnFormat": "",
|
|
"storage": "",
|
|
"isVirtual": false,
|
|
"isGeneratedAlways": false,
|
|
"virtualExpr": "",
|
|
"virtualType": "",
|
|
"oldName": "index"
|
|
},
|
|
{
|
|
"objectType": "TableField_MYSQL",
|
|
"name": "dept_id",
|
|
"type": "int",
|
|
"length": -2147483648,
|
|
"decimals": -2147483648,
|
|
"isUnsigned": false,
|
|
"isZeroFill": false,
|
|
"setEnumValues": "",
|
|
"isBinary": false,
|
|
"charset": "",
|
|
"collation": "",
|
|
"isNullable": false,
|
|
"defaultType": "Others",
|
|
"defaultValue": "",
|
|
"isOnUpdateCurrentTimestamp": false,
|
|
"isAutoInc": false,
|
|
"comment": "组织/部门id",
|
|
"columnFormat": "",
|
|
"storage": "",
|
|
"isVirtual": false,
|
|
"isGeneratedAlways": false,
|
|
"virtualExpr": "",
|
|
"virtualType": "",
|
|
"oldName": "dept_id"
|
|
},
|
|
{
|
|
"objectType": "TableField_MYSQL",
|
|
"name": "pid",
|
|
"type": "int",
|
|
"length": -2147483648,
|
|
"decimals": -2147483648,
|
|
"isUnsigned": false,
|
|
"isZeroFill": false,
|
|
"setEnumValues": "",
|
|
"isBinary": false,
|
|
"charset": "",
|
|
"collation": "",
|
|
"isNullable": false,
|
|
"defaultType": "Others",
|
|
"defaultValue": "0",
|
|
"isOnUpdateCurrentTimestamp": false,
|
|
"isAutoInc": false,
|
|
"comment": "父id",
|
|
"columnFormat": "",
|
|
"storage": "",
|
|
"isVirtual": false,
|
|
"isGeneratedAlways": false,
|
|
"virtualExpr": "",
|
|
"virtualType": "",
|
|
"oldName": "pid"
|
|
},
|
|
{
|
|
"objectType": "TableField_MYSQL",
|
|
"name": "grade",
|
|
"type": "int",
|
|
"length": -2147483648,
|
|
"decimals": -2147483648,
|
|
"isUnsigned": false,
|
|
"isZeroFill": false,
|
|
"setEnumValues": "",
|
|
"isBinary": false,
|
|
"charset": "",
|
|
"collation": "",
|
|
"isNullable": false,
|
|
"defaultType": "Others",
|
|
"defaultValue": "",
|
|
"isOnUpdateCurrentTimestamp": false,
|
|
"isAutoInc": false,
|
|
"comment": "部门等级,下级部门自动+1",
|
|
"columnFormat": "",
|
|
"storage": "",
|
|
"isVirtual": false,
|
|
"isGeneratedAlways": false,
|
|
"virtualExpr": "",
|
|
"virtualType": "",
|
|
"oldName": "grade"
|
|
},
|
|
{
|
|
"objectType": "TableField_MYSQL",
|
|
"name": "dept_name",
|
|
"type": "varchar",
|
|
"length": 255,
|
|
"decimals": -2147483648,
|
|
"isUnsigned": false,
|
|
"isZeroFill": false,
|
|
"setEnumValues": "",
|
|
"isBinary": false,
|
|
"charset": "",
|
|
"collation": "",
|
|
"isNullable": true,
|
|
"defaultType": "Others",
|
|
"defaultValue": "",
|
|
"isOnUpdateCurrentTimestamp": false,
|
|
"isAutoInc": false,
|
|
"comment": "部门名称",
|
|
"columnFormat": "",
|
|
"storage": "",
|
|
"isVirtual": false,
|
|
"isGeneratedAlways": false,
|
|
"virtualExpr": "",
|
|
"virtualType": "",
|
|
"oldName": "dept_name"
|
|
},
|
|
{
|
|
"objectType": "TableField_MYSQL",
|
|
"name": "dept_desc",
|
|
"type": "varchar",
|
|
"length": 255,
|
|
"decimals": -2147483648,
|
|
"isUnsigned": false,
|
|
"isZeroFill": false,
|
|
"setEnumValues": "",
|
|
"isBinary": false,
|
|
"charset": "",
|
|
"collation": "",
|
|
"isNullable": true,
|
|
"defaultType": "Others",
|
|
"defaultValue": "",
|
|
"isOnUpdateCurrentTimestamp": false,
|
|
"isAutoInc": false,
|
|
"comment": "部门描述",
|
|
"columnFormat": "",
|
|
"storage": "",
|
|
"isVirtual": false,
|
|
"isGeneratedAlways": false,
|
|
"virtualExpr": "",
|
|
"virtualType": "",
|
|
"oldName": "dept_desc"
|
|
},
|
|
{
|
|
"objectType": "TableField_MYSQL",
|
|
"name": "dept_type",
|
|
"type": "int",
|
|
"length": -2147483648,
|
|
"decimals": -2147483648,
|
|
"isUnsigned": false,
|
|
"isZeroFill": false,
|
|
"setEnumValues": "",
|
|
"isBinary": false,
|
|
"charset": "",
|
|
"collation": "",
|
|
"isNullable": false,
|
|
"defaultType": "Others",
|
|
"defaultValue": "0",
|
|
"isOnUpdateCurrentTimestamp": false,
|
|
"isAutoInc": false,
|
|
"comment": "部门类型",
|
|
"columnFormat": "",
|
|
"storage": "",
|
|
"isVirtual": false,
|
|
"isGeneratedAlways": false,
|
|
"virtualExpr": "",
|
|
"virtualType": "",
|
|
"oldName": "dept_type"
|
|
},
|
|
{
|
|
"objectType": "TableField_MYSQL",
|
|
"name": "dept_leader",
|
|
"type": "int",
|
|
"length": -2147483648,
|
|
"decimals": -2147483648,
|
|
"isUnsigned": false,
|
|
"isZeroFill": false,
|
|
"setEnumValues": "",
|
|
"isBinary": false,
|
|
"charset": "",
|
|
"collation": "",
|
|
"isNullable": true,
|
|
"defaultType": "Others",
|
|
"defaultValue": "",
|
|
"isOnUpdateCurrentTimestamp": false,
|
|
"isAutoInc": false,
|
|
"comment": "部门负责人,默认可以没有",
|
|
"columnFormat": "",
|
|
"storage": "",
|
|
"isVirtual": false,
|
|
"isGeneratedAlways": false,
|
|
"virtualExpr": "",
|
|
"virtualType": "",
|
|
"oldName": "dept_leader"
|
|
},
|
|
{
|
|
"objectType": "TableField_MYSQL",
|
|
"name": "default_role",
|
|
"type": "int",
|
|
"length": -2147483648,
|
|
"decimals": -2147483648,
|
|
"isUnsigned": false,
|
|
"isZeroFill": false,
|
|
"setEnumValues": "",
|
|
"isBinary": false,
|
|
"charset": "",
|
|
"collation": "",
|
|
"isNullable": true,
|
|
"defaultType": "Others",
|
|
"defaultValue": "",
|
|
"isOnUpdateCurrentTimestamp": false,
|
|
"isAutoInc": false,
|
|
"comment": "默认角色,默认可以没有",
|
|
"columnFormat": "",
|
|
"storage": "",
|
|
"isVirtual": false,
|
|
"isGeneratedAlways": false,
|
|
"virtualExpr": "",
|
|
"virtualType": "",
|
|
"oldName": "default_role"
|
|
},
|
|
{
|
|
"objectType": "TableField_MYSQL",
|
|
"name": "order_num",
|
|
"type": "int",
|
|
"length": -2147483648,
|
|
"decimals": -2147483648,
|
|
"isUnsigned": false,
|
|
"isZeroFill": false,
|
|
"setEnumValues": "",
|
|
"isBinary": false,
|
|
"charset": "",
|
|
"collation": "",
|
|
"isNullable": false,
|
|
"defaultType": "Others",
|
|
"defaultValue": "0",
|
|
"isOnUpdateCurrentTimestamp": false,
|
|
"isAutoInc": false,
|
|
"comment": "排序,默认0",
|
|
"columnFormat": "",
|
|
"storage": "",
|
|
"isVirtual": false,
|
|
"isGeneratedAlways": false,
|
|
"virtualExpr": "",
|
|
"virtualType": "",
|
|
"oldName": "order_num"
|
|
},
|
|
{
|
|
"objectType": "TableField_MYSQL",
|
|
"name": "status",
|
|
"type": "int",
|
|
"length": -2147483648,
|
|
"decimals": -2147483648,
|
|
"isUnsigned": false,
|
|
"isZeroFill": false,
|
|
"setEnumValues": "",
|
|
"isBinary": false,
|
|
"charset": "",
|
|
"collation": "",
|
|
"isNullable": false,
|
|
"defaultType": "Others",
|
|
"defaultValue": "0",
|
|
"isOnUpdateCurrentTimestamp": false,
|
|
"isAutoInc": false,
|
|
"comment": "状态:默认0启用,1禁用",
|
|
"columnFormat": "",
|
|
"storage": "",
|
|
"isVirtual": false,
|
|
"isGeneratedAlways": false,
|
|
"virtualExpr": "",
|
|
"virtualType": "",
|
|
"oldName": "status"
|
|
},
|
|
{
|
|
"objectType": "TableField_MYSQL",
|
|
"name": "createby",
|
|
"type": "int",
|
|
"length": 0,
|
|
"decimals": 0,
|
|
"isUnsigned": false,
|
|
"isZeroFill": false,
|
|
"setEnumValues": "",
|
|
"isBinary": false,
|
|
"charset": "",
|
|
"collation": "",
|
|
"isNullable": false,
|
|
"defaultType": "Others",
|
|
"defaultValue": "",
|
|
"isOnUpdateCurrentTimestamp": false,
|
|
"isAutoInc": false,
|
|
"comment": "创建人",
|
|
"columnFormat": "",
|
|
"storage": "",
|
|
"isVirtual": false,
|
|
"isGeneratedAlways": false,
|
|
"virtualExpr": "",
|
|
"virtualType": "",
|
|
"oldName": "createby"
|
|
},
|
|
{
|
|
"objectType": "TableField_MYSQL",
|
|
"name": "createtime",
|
|
"type": "datetime",
|
|
"length": 0,
|
|
"decimals": 0,
|
|
"isUnsigned": false,
|
|
"isZeroFill": false,
|
|
"setEnumValues": "",
|
|
"isBinary": false,
|
|
"charset": "",
|
|
"collation": "",
|
|
"isNullable": false,
|
|
"defaultType": "Others",
|
|
"defaultValue": "",
|
|
"isOnUpdateCurrentTimestamp": false,
|
|
"isAutoInc": false,
|
|
"comment": "创建时间",
|
|
"columnFormat": "",
|
|
"storage": "",
|
|
"isVirtual": false,
|
|
"isGeneratedAlways": false,
|
|
"virtualExpr": "",
|
|
"virtualType": "",
|
|
"oldName": "createtime"
|
|
},
|
|
{
|
|
"objectType": "TableField_MYSQL",
|
|
"name": "updateby",
|
|
"type": "int",
|
|
"length": 0,
|
|
"decimals": 0,
|
|
"isUnsigned": false,
|
|
"isZeroFill": false,
|
|
"setEnumValues": "",
|
|
"isBinary": false,
|
|
"charset": "",
|
|
"collation": "",
|
|
"isNullable": true,
|
|
"defaultType": "Null",
|
|
"defaultValue": "NULL",
|
|
"isOnUpdateCurrentTimestamp": false,
|
|
"isAutoInc": false,
|
|
"comment": "更新人",
|
|
"columnFormat": "",
|
|
"storage": "",
|
|
"isVirtual": false,
|
|
"isGeneratedAlways": false,
|
|
"virtualExpr": "",
|
|
"virtualType": "",
|
|
"oldName": "updateby"
|
|
},
|
|
{
|
|
"objectType": "TableField_MYSQL",
|
|
"name": "updatetime",
|
|
"type": "datetime",
|
|
"length": 0,
|
|
"decimals": 0,
|
|
"isUnsigned": false,
|
|
"isZeroFill": false,
|
|
"setEnumValues": "",
|
|
"isBinary": false,
|
|
"charset": "",
|
|
"collation": "",
|
|
"isNullable": true,
|
|
"defaultType": "Null",
|
|
"defaultValue": "NULL",
|
|
"isOnUpdateCurrentTimestamp": false,
|
|
"isAutoInc": false,
|
|
"comment": "更新时间",
|
|
"columnFormat": "",
|
|
"storage": "",
|
|
"isVirtual": false,
|
|
"isGeneratedAlways": false,
|
|
"virtualExpr": "",
|
|
"virtualType": "",
|
|
"oldName": "updatetime"
|
|
},
|
|
{
|
|
"objectType": "TableField_MYSQL",
|
|
"name": "deleteby",
|
|
"type": "int",
|
|
"length": 0,
|
|
"decimals": 0,
|
|
"isUnsigned": false,
|
|
"isZeroFill": false,
|
|
"setEnumValues": "",
|
|
"isBinary": false,
|
|
"charset": "",
|
|
"collation": "",
|
|
"isNullable": true,
|
|
"defaultType": "Null",
|
|
"defaultValue": "NULL",
|
|
"isOnUpdateCurrentTimestamp": false,
|
|
"isAutoInc": false,
|
|
"comment": "删除人",
|
|
"columnFormat": "",
|
|
"storage": "",
|
|
"isVirtual": false,
|
|
"isGeneratedAlways": false,
|
|
"virtualExpr": "",
|
|
"virtualType": "",
|
|
"oldName": "deleteby"
|
|
},
|
|
{
|
|
"objectType": "TableField_MYSQL",
|
|
"name": "deletetime",
|
|
"type": "datetime",
|
|
"length": 0,
|
|
"decimals": 0,
|
|
"isUnsigned": false,
|
|
"isZeroFill": false,
|
|
"setEnumValues": "",
|
|
"isBinary": false,
|
|
"charset": "",
|
|
"collation": "",
|
|
"isNullable": true,
|
|
"defaultType": "Null",
|
|
"defaultValue": "NULL",
|
|
"isOnUpdateCurrentTimestamp": false,
|
|
"isAutoInc": false,
|
|
"comment": "删除时间",
|
|
"columnFormat": "",
|
|
"storage": "",
|
|
"isVirtual": false,
|
|
"isGeneratedAlways": false,
|
|
"virtualExpr": "",
|
|
"virtualType": "",
|
|
"oldName": "deletetime"
|
|
}
|
|
],
|
|
"indexes": [
|
|
{
|
|
"objectType": "Index_MYSQL",
|
|
"name": "pac_index",
|
|
"type": "UNIQUE",
|
|
"method": "",
|
|
"comment": "",
|
|
"oldName": "",
|
|
"online": false,
|
|
"keyBlockSize": 0,
|
|
"parser": "",
|
|
"algorithm": "",
|
|
"lock": "",
|
|
"collation": "",
|
|
"cardinality": "",
|
|
"packed": "",
|
|
"IsVisibleIndex": true,
|
|
"fields": [
|
|
{
|
|
"objectType": "IndexField_MYSQL",
|
|
"name": "index",
|
|
"keyLength": 0,
|
|
"order": "",
|
|
"oldName": ""
|
|
}
|
|
]
|
|
}
|
|
],
|
|
"primaryKey": {
|
|
"objectType": "PrimaryKey_MYSQL",
|
|
"name": "",
|
|
"fields": [
|
|
{
|
|
"objectType": "IndexField_MYSQL",
|
|
"name": "dept_id",
|
|
"keyLength": -2147483648,
|
|
"order": "",
|
|
"oldName": ""
|
|
}
|
|
],
|
|
"oldName": "",
|
|
"indexMethod": "",
|
|
"comment": ""
|
|
},
|
|
"foreignKeys": [],
|
|
"checks": [],
|
|
"triggers": [],
|
|
"tablePartitions": []
|
|
},
|
|
{
|
|
"objectType": "Table_MYSQL",
|
|
"name": "pac_auth_role_data_scope",
|
|
"comment": "角色的自定义数据权限范围(部门)",
|
|
"engine": "",
|
|
"characterSet": "",
|
|
"collation": "",
|
|
"autoIncrement": 0,
|
|
"tablespace": "",
|
|
"storage": "",
|
|
"insertMethod": "",
|
|
"connection": "",
|
|
"checksum": false,
|
|
"rowFormat": "",
|
|
"avgRowLength": 0,
|
|
"maxRows": 0,
|
|
"minRows": 0,
|
|
"keyBlockSize": 0,
|
|
"packKeys": "",
|
|
"delayKeyWrite": false,
|
|
"dataDirectory": "",
|
|
"indexDirectory": "",
|
|
"statsAutoRecalc": "",
|
|
"statsPersistent": "",
|
|
"statsSamplePages": 0,
|
|
"union": "",
|
|
"pageCheckSum": false,
|
|
"transactional": false,
|
|
"compression": "",
|
|
"oldName": "",
|
|
"encryption": false,
|
|
"createOptions": "",
|
|
"createTime": "",
|
|
"checkTime": "",
|
|
"dataFree": 0,
|
|
"dataLength": 0,
|
|
"indexLength": 0,
|
|
"maxDataLength": 0,
|
|
"rows": 0,
|
|
"updateTime": "",
|
|
"DDL": "",
|
|
"partitionBy": "",
|
|
"partitionByExpr": "",
|
|
"partitions": 0,
|
|
"partitionKeyAlgorithm": "",
|
|
"subPartitionBy": "",
|
|
"subPartitionByExpr": "",
|
|
"subPartitions": 0,
|
|
"subPartitionKeyAlgorithm": "",
|
|
"fields": [
|
|
{
|
|
"objectType": "TableField_MYSQL",
|
|
"name": "index",
|
|
"type": "int",
|
|
"length": -2147483648,
|
|
"decimals": -2147483648,
|
|
"isUnsigned": false,
|
|
"isZeroFill": false,
|
|
"setEnumValues": "",
|
|
"isBinary": false,
|
|
"charset": "",
|
|
"collation": "",
|
|
"isNullable": false,
|
|
"defaultType": "Others",
|
|
"defaultValue": "",
|
|
"isOnUpdateCurrentTimestamp": false,
|
|
"isAutoInc": true,
|
|
"comment": "数据完整性确认",
|
|
"columnFormat": "",
|
|
"storage": "",
|
|
"isVirtual": false,
|
|
"isGeneratedAlways": false,
|
|
"virtualExpr": "",
|
|
"virtualType": "",
|
|
"oldName": "index"
|
|
},
|
|
{
|
|
"objectType": "TableField_MYSQL",
|
|
"name": "role_id",
|
|
"type": "int",
|
|
"length": -2147483648,
|
|
"decimals": -2147483648,
|
|
"isUnsigned": false,
|
|
"isZeroFill": false,
|
|
"setEnumValues": "",
|
|
"isBinary": false,
|
|
"charset": "",
|
|
"collation": "",
|
|
"isNullable": false,
|
|
"defaultType": "Others",
|
|
"defaultValue": "",
|
|
"isOnUpdateCurrentTimestamp": false,
|
|
"isAutoInc": false,
|
|
"comment": "",
|
|
"columnFormat": "",
|
|
"storage": "",
|
|
"isVirtual": false,
|
|
"isGeneratedAlways": false,
|
|
"virtualExpr": "",
|
|
"virtualType": "",
|
|
"oldName": "role_id"
|
|
},
|
|
{
|
|
"objectType": "TableField_MYSQL",
|
|
"name": "dept_id",
|
|
"type": "int",
|
|
"length": -2147483648,
|
|
"decimals": -2147483648,
|
|
"isUnsigned": false,
|
|
"isZeroFill": false,
|
|
"setEnumValues": "",
|
|
"isBinary": false,
|
|
"charset": "",
|
|
"collation": "",
|
|
"isNullable": false,
|
|
"defaultType": "Others",
|
|
"defaultValue": "",
|
|
"isOnUpdateCurrentTimestamp": false,
|
|
"isAutoInc": false,
|
|
"comment": "",
|
|
"columnFormat": "",
|
|
"storage": "",
|
|
"isVirtual": false,
|
|
"isGeneratedAlways": false,
|
|
"virtualExpr": "",
|
|
"virtualType": "",
|
|
"oldName": "dept_id"
|
|
},
|
|
{
|
|
"objectType": "TableField_MYSQL",
|
|
"name": "scope_id",
|
|
"type": "int",
|
|
"length": -2147483648,
|
|
"decimals": -2147483648,
|
|
"isUnsigned": false,
|
|
"isZeroFill": false,
|
|
"setEnumValues": "",
|
|
"isBinary": false,
|
|
"charset": "",
|
|
"collation": "",
|
|
"isNullable": false,
|
|
"defaultType": "Others",
|
|
"defaultValue": "",
|
|
"isOnUpdateCurrentTimestamp": false,
|
|
"isAutoInc": false,
|
|
"comment": "",
|
|
"columnFormat": "",
|
|
"storage": "",
|
|
"isVirtual": false,
|
|
"isGeneratedAlways": false,
|
|
"virtualExpr": "",
|
|
"virtualType": "",
|
|
"oldName": "scope_id"
|
|
},
|
|
{
|
|
"objectType": "TableField_MYSQL",
|
|
"name": "createby",
|
|
"type": "int",
|
|
"length": 0,
|
|
"decimals": 0,
|
|
"isUnsigned": false,
|
|
"isZeroFill": false,
|
|
"setEnumValues": "",
|
|
"isBinary": false,
|
|
"charset": "",
|
|
"collation": "",
|
|
"isNullable": false,
|
|
"defaultType": "Others",
|
|
"defaultValue": "",
|
|
"isOnUpdateCurrentTimestamp": false,
|
|
"isAutoInc": false,
|
|
"comment": "创建人",
|
|
"columnFormat": "",
|
|
"storage": "",
|
|
"isVirtual": false,
|
|
"isGeneratedAlways": false,
|
|
"virtualExpr": "",
|
|
"virtualType": "",
|
|
"oldName": "createby"
|
|
},
|
|
{
|
|
"objectType": "TableField_MYSQL",
|
|
"name": "createtime",
|
|
"type": "datetime",
|
|
"length": 0,
|
|
"decimals": 0,
|
|
"isUnsigned": false,
|
|
"isZeroFill": false,
|
|
"setEnumValues": "",
|
|
"isBinary": false,
|
|
"charset": "",
|
|
"collation": "",
|
|
"isNullable": false,
|
|
"defaultType": "Others",
|
|
"defaultValue": "",
|
|
"isOnUpdateCurrentTimestamp": false,
|
|
"isAutoInc": false,
|
|
"comment": "创建时间",
|
|
"columnFormat": "",
|
|
"storage": "",
|
|
"isVirtual": false,
|
|
"isGeneratedAlways": false,
|
|
"virtualExpr": "",
|
|
"virtualType": "",
|
|
"oldName": "createtime"
|
|
},
|
|
{
|
|
"objectType": "TableField_MYSQL",
|
|
"name": "updateby",
|
|
"type": "int",
|
|
"length": 0,
|
|
"decimals": 0,
|
|
"isUnsigned": false,
|
|
"isZeroFill": false,
|
|
"setEnumValues": "",
|
|
"isBinary": false,
|
|
"charset": "",
|
|
"collation": "",
|
|
"isNullable": true,
|
|
"defaultType": "Null",
|
|
"defaultValue": "NULL",
|
|
"isOnUpdateCurrentTimestamp": false,
|
|
"isAutoInc": false,
|
|
"comment": "更新人",
|
|
"columnFormat": "",
|
|
"storage": "",
|
|
"isVirtual": false,
|
|
"isGeneratedAlways": false,
|
|
"virtualExpr": "",
|
|
"virtualType": "",
|
|
"oldName": "updateby"
|
|
},
|
|
{
|
|
"objectType": "TableField_MYSQL",
|
|
"name": "updatetime",
|
|
"type": "datetime",
|
|
"length": 0,
|
|
"decimals": 0,
|
|
"isUnsigned": false,
|
|
"isZeroFill": false,
|
|
"setEnumValues": "",
|
|
"isBinary": false,
|
|
"charset": "",
|
|
"collation": "",
|
|
"isNullable": true,
|
|
"defaultType": "Null",
|
|
"defaultValue": "NULL",
|
|
"isOnUpdateCurrentTimestamp": false,
|
|
"isAutoInc": false,
|
|
"comment": "更新时间",
|
|
"columnFormat": "",
|
|
"storage": "",
|
|
"isVirtual": false,
|
|
"isGeneratedAlways": false,
|
|
"virtualExpr": "",
|
|
"virtualType": "",
|
|
"oldName": "updatetime"
|
|
},
|
|
{
|
|
"objectType": "TableField_MYSQL",
|
|
"name": "deleteby",
|
|
"type": "int",
|
|
"length": 0,
|
|
"decimals": 0,
|
|
"isUnsigned": false,
|
|
"isZeroFill": false,
|
|
"setEnumValues": "",
|
|
"isBinary": false,
|
|
"charset": "",
|
|
"collation": "",
|
|
"isNullable": true,
|
|
"defaultType": "Null",
|
|
"defaultValue": "NULL",
|
|
"isOnUpdateCurrentTimestamp": false,
|
|
"isAutoInc": false,
|
|
"comment": "删除人",
|
|
"columnFormat": "",
|
|
"storage": "",
|
|
"isVirtual": false,
|
|
"isGeneratedAlways": false,
|
|
"virtualExpr": "",
|
|
"virtualType": "",
|
|
"oldName": "deleteby"
|
|
},
|
|
{
|
|
"objectType": "TableField_MYSQL",
|
|
"name": "deletetime",
|
|
"type": "datetime",
|
|
"length": 0,
|
|
"decimals": 0,
|
|
"isUnsigned": false,
|
|
"isZeroFill": false,
|
|
"setEnumValues": "",
|
|
"isBinary": false,
|
|
"charset": "",
|
|
"collation": "",
|
|
"isNullable": true,
|
|
"defaultType": "Null",
|
|
"defaultValue": "NULL",
|
|
"isOnUpdateCurrentTimestamp": false,
|
|
"isAutoInc": false,
|
|
"comment": "删除时间",
|
|
"columnFormat": "",
|
|
"storage": "",
|
|
"isVirtual": false,
|
|
"isGeneratedAlways": false,
|
|
"virtualExpr": "",
|
|
"virtualType": "",
|
|
"oldName": "deletetime"
|
|
}
|
|
],
|
|
"indexes": [
|
|
{
|
|
"objectType": "Index_MYSQL",
|
|
"name": "pac_index",
|
|
"type": "UNIQUE",
|
|
"method": "",
|
|
"comment": "",
|
|
"oldName": "",
|
|
"online": false,
|
|
"keyBlockSize": 0,
|
|
"parser": "",
|
|
"algorithm": "",
|
|
"lock": "",
|
|
"collation": "",
|
|
"cardinality": "",
|
|
"packed": "",
|
|
"IsVisibleIndex": true,
|
|
"fields": [
|
|
{
|
|
"objectType": "IndexField_MYSQL",
|
|
"name": "index",
|
|
"keyLength": 0,
|
|
"order": "",
|
|
"oldName": ""
|
|
}
|
|
]
|
|
}
|
|
],
|
|
"primaryKey": {
|
|
"objectType": "PrimaryKey_MYSQL",
|
|
"name": "",
|
|
"fields": [
|
|
{
|
|
"objectType": "IndexField_MYSQL",
|
|
"name": "scope_id",
|
|
"keyLength": -2147483648,
|
|
"order": "",
|
|
"oldName": ""
|
|
}
|
|
],
|
|
"oldName": "",
|
|
"indexMethod": "",
|
|
"comment": ""
|
|
},
|
|
"foreignKeys": [],
|
|
"checks": [],
|
|
"triggers": [],
|
|
"tablePartitions": []
|
|
},
|
|
{
|
|
"objectType": "Table_MYSQL",
|
|
"name": "pac_auth_post",
|
|
"comment": "岗位",
|
|
"engine": "",
|
|
"characterSet": "",
|
|
"collation": "",
|
|
"autoIncrement": 0,
|
|
"tablespace": "",
|
|
"storage": "",
|
|
"insertMethod": "",
|
|
"connection": "",
|
|
"checksum": false,
|
|
"rowFormat": "",
|
|
"avgRowLength": 0,
|
|
"maxRows": 0,
|
|
"minRows": 0,
|
|
"keyBlockSize": 0,
|
|
"packKeys": "",
|
|
"delayKeyWrite": false,
|
|
"dataDirectory": "",
|
|
"indexDirectory": "",
|
|
"statsAutoRecalc": "",
|
|
"statsPersistent": "",
|
|
"statsSamplePages": 0,
|
|
"union": "",
|
|
"pageCheckSum": false,
|
|
"transactional": false,
|
|
"compression": "",
|
|
"oldName": "",
|
|
"encryption": false,
|
|
"createOptions": "",
|
|
"createTime": "",
|
|
"checkTime": "",
|
|
"dataFree": 0,
|
|
"dataLength": 0,
|
|
"indexLength": 0,
|
|
"maxDataLength": 0,
|
|
"rows": 0,
|
|
"updateTime": "",
|
|
"DDL": "",
|
|
"partitionBy": "",
|
|
"partitionByExpr": "",
|
|
"partitions": 0,
|
|
"partitionKeyAlgorithm": "",
|
|
"subPartitionBy": "",
|
|
"subPartitionByExpr": "",
|
|
"subPartitions": 0,
|
|
"subPartitionKeyAlgorithm": "",
|
|
"fields": [
|
|
{
|
|
"objectType": "TableField_MYSQL",
|
|
"name": "index",
|
|
"type": "int",
|
|
"length": -2147483648,
|
|
"decimals": -2147483648,
|
|
"isUnsigned": false,
|
|
"isZeroFill": false,
|
|
"setEnumValues": "",
|
|
"isBinary": false,
|
|
"charset": "",
|
|
"collation": "",
|
|
"isNullable": false,
|
|
"defaultType": "Others",
|
|
"defaultValue": "",
|
|
"isOnUpdateCurrentTimestamp": false,
|
|
"isAutoInc": true,
|
|
"comment": "数据完整性验证",
|
|
"columnFormat": "",
|
|
"storage": "",
|
|
"isVirtual": false,
|
|
"isGeneratedAlways": false,
|
|
"virtualExpr": "",
|
|
"virtualType": "",
|
|
"oldName": "index"
|
|
},
|
|
{
|
|
"objectType": "TableField_MYSQL",
|
|
"name": "post_id",
|
|
"type": "int",
|
|
"length": -2147483648,
|
|
"decimals": -2147483648,
|
|
"isUnsigned": false,
|
|
"isZeroFill": false,
|
|
"setEnumValues": "",
|
|
"isBinary": false,
|
|
"charset": "",
|
|
"collation": "",
|
|
"isNullable": false,
|
|
"defaultType": "Others",
|
|
"defaultValue": "",
|
|
"isOnUpdateCurrentTimestamp": false,
|
|
"isAutoInc": false,
|
|
"comment": "岗位id",
|
|
"columnFormat": "",
|
|
"storage": "",
|
|
"isVirtual": false,
|
|
"isGeneratedAlways": false,
|
|
"virtualExpr": "",
|
|
"virtualType": "",
|
|
"oldName": "post_id"
|
|
},
|
|
{
|
|
"objectType": "TableField_MYSQL",
|
|
"name": "post_key",
|
|
"type": "varchar",
|
|
"length": 255,
|
|
"decimals": -2147483648,
|
|
"isUnsigned": false,
|
|
"isZeroFill": false,
|
|
"setEnumValues": "",
|
|
"isBinary": false,
|
|
"charset": "",
|
|
"collation": "",
|
|
"isNullable": false,
|
|
"defaultType": "Others",
|
|
"defaultValue": "",
|
|
"isOnUpdateCurrentTimestamp": false,
|
|
"isAutoInc": false,
|
|
"comment": "岗位标识",
|
|
"columnFormat": "",
|
|
"storage": "",
|
|
"isVirtual": false,
|
|
"isGeneratedAlways": false,
|
|
"virtualExpr": "",
|
|
"virtualType": "",
|
|
"oldName": "post_key"
|
|
},
|
|
{
|
|
"objectType": "TableField_MYSQL",
|
|
"name": "post_name",
|
|
"type": "varchar",
|
|
"length": 255,
|
|
"decimals": -2147483648,
|
|
"isUnsigned": false,
|
|
"isZeroFill": false,
|
|
"setEnumValues": "",
|
|
"isBinary": false,
|
|
"charset": "",
|
|
"collation": "",
|
|
"isNullable": true,
|
|
"defaultType": "Others",
|
|
"defaultValue": "",
|
|
"isOnUpdateCurrentTimestamp": false,
|
|
"isAutoInc": false,
|
|
"comment": "岗位名称",
|
|
"columnFormat": "",
|
|
"storage": "",
|
|
"isVirtual": false,
|
|
"isGeneratedAlways": false,
|
|
"virtualExpr": "",
|
|
"virtualType": "",
|
|
"oldName": "post_name"
|
|
},
|
|
{
|
|
"objectType": "TableField_MYSQL",
|
|
"name": "post_desc",
|
|
"type": "varchar",
|
|
"length": 255,
|
|
"decimals": -2147483648,
|
|
"isUnsigned": false,
|
|
"isZeroFill": false,
|
|
"setEnumValues": "",
|
|
"isBinary": false,
|
|
"charset": "",
|
|
"collation": "",
|
|
"isNullable": true,
|
|
"defaultType": "Others",
|
|
"defaultValue": "",
|
|
"isOnUpdateCurrentTimestamp": false,
|
|
"isAutoInc": false,
|
|
"comment": "岗位描述",
|
|
"columnFormat": "",
|
|
"storage": "",
|
|
"isVirtual": false,
|
|
"isGeneratedAlways": false,
|
|
"virtualExpr": "",
|
|
"virtualType": "",
|
|
"oldName": "post_desc"
|
|
},
|
|
{
|
|
"objectType": "TableField_MYSQL",
|
|
"name": "order_num",
|
|
"type": "int",
|
|
"length": -2147483648,
|
|
"decimals": -2147483648,
|
|
"isUnsigned": false,
|
|
"isZeroFill": false,
|
|
"setEnumValues": "",
|
|
"isBinary": false,
|
|
"charset": "",
|
|
"collation": "",
|
|
"isNullable": false,
|
|
"defaultType": "Others",
|
|
"defaultValue": "0",
|
|
"isOnUpdateCurrentTimestamp": false,
|
|
"isAutoInc": false,
|
|
"comment": "排序:默认0",
|
|
"columnFormat": "",
|
|
"storage": "",
|
|
"isVirtual": false,
|
|
"isGeneratedAlways": false,
|
|
"virtualExpr": "",
|
|
"virtualType": "",
|
|
"oldName": "order_num"
|
|
},
|
|
{
|
|
"objectType": "TableField_MYSQL",
|
|
"name": "status",
|
|
"type": "int",
|
|
"length": -2147483648,
|
|
"decimals": -2147483648,
|
|
"isUnsigned": false,
|
|
"isZeroFill": false,
|
|
"setEnumValues": "",
|
|
"isBinary": false,
|
|
"charset": "",
|
|
"collation": "",
|
|
"isNullable": false,
|
|
"defaultType": "Others",
|
|
"defaultValue": "0",
|
|
"isOnUpdateCurrentTimestamp": false,
|
|
"isAutoInc": false,
|
|
"comment": "状态:默认0可以用,1禁用",
|
|
"columnFormat": "",
|
|
"storage": "",
|
|
"isVirtual": false,
|
|
"isGeneratedAlways": false,
|
|
"virtualExpr": "",
|
|
"virtualType": "",
|
|
"oldName": "status"
|
|
},
|
|
{
|
|
"objectType": "TableField_MYSQL",
|
|
"name": "createby",
|
|
"type": "int",
|
|
"length": 0,
|
|
"decimals": 0,
|
|
"isUnsigned": false,
|
|
"isZeroFill": false,
|
|
"setEnumValues": "",
|
|
"isBinary": false,
|
|
"charset": "",
|
|
"collation": "",
|
|
"isNullable": false,
|
|
"defaultType": "Others",
|
|
"defaultValue": "",
|
|
"isOnUpdateCurrentTimestamp": false,
|
|
"isAutoInc": false,
|
|
"comment": "创建人",
|
|
"columnFormat": "",
|
|
"storage": "",
|
|
"isVirtual": false,
|
|
"isGeneratedAlways": false,
|
|
"virtualExpr": "",
|
|
"virtualType": "",
|
|
"oldName": "createby"
|
|
},
|
|
{
|
|
"objectType": "TableField_MYSQL",
|
|
"name": "createtime",
|
|
"type": "datetime",
|
|
"length": 0,
|
|
"decimals": 0,
|
|
"isUnsigned": false,
|
|
"isZeroFill": false,
|
|
"setEnumValues": "",
|
|
"isBinary": false,
|
|
"charset": "",
|
|
"collation": "",
|
|
"isNullable": false,
|
|
"defaultType": "Others",
|
|
"defaultValue": "",
|
|
"isOnUpdateCurrentTimestamp": false,
|
|
"isAutoInc": false,
|
|
"comment": "创建时间",
|
|
"columnFormat": "",
|
|
"storage": "",
|
|
"isVirtual": false,
|
|
"isGeneratedAlways": false,
|
|
"virtualExpr": "",
|
|
"virtualType": "",
|
|
"oldName": "createtime"
|
|
},
|
|
{
|
|
"objectType": "TableField_MYSQL",
|
|
"name": "updateby",
|
|
"type": "int",
|
|
"length": 0,
|
|
"decimals": 0,
|
|
"isUnsigned": false,
|
|
"isZeroFill": false,
|
|
"setEnumValues": "",
|
|
"isBinary": false,
|
|
"charset": "",
|
|
"collation": "",
|
|
"isNullable": true,
|
|
"defaultType": "Null",
|
|
"defaultValue": "NULL",
|
|
"isOnUpdateCurrentTimestamp": false,
|
|
"isAutoInc": false,
|
|
"comment": "更新人",
|
|
"columnFormat": "",
|
|
"storage": "",
|
|
"isVirtual": false,
|
|
"isGeneratedAlways": false,
|
|
"virtualExpr": "",
|
|
"virtualType": "",
|
|
"oldName": "updateby"
|
|
},
|
|
{
|
|
"objectType": "TableField_MYSQL",
|
|
"name": "updatetime",
|
|
"type": "datetime",
|
|
"length": 0,
|
|
"decimals": 0,
|
|
"isUnsigned": false,
|
|
"isZeroFill": false,
|
|
"setEnumValues": "",
|
|
"isBinary": false,
|
|
"charset": "",
|
|
"collation": "",
|
|
"isNullable": true,
|
|
"defaultType": "Null",
|
|
"defaultValue": "NULL",
|
|
"isOnUpdateCurrentTimestamp": false,
|
|
"isAutoInc": false,
|
|
"comment": "更新时间",
|
|
"columnFormat": "",
|
|
"storage": "",
|
|
"isVirtual": false,
|
|
"isGeneratedAlways": false,
|
|
"virtualExpr": "",
|
|
"virtualType": "",
|
|
"oldName": "updatetime"
|
|
},
|
|
{
|
|
"objectType": "TableField_MYSQL",
|
|
"name": "deleteby",
|
|
"type": "int",
|
|
"length": 0,
|
|
"decimals": 0,
|
|
"isUnsigned": false,
|
|
"isZeroFill": false,
|
|
"setEnumValues": "",
|
|
"isBinary": false,
|
|
"charset": "",
|
|
"collation": "",
|
|
"isNullable": true,
|
|
"defaultType": "Null",
|
|
"defaultValue": "NULL",
|
|
"isOnUpdateCurrentTimestamp": false,
|
|
"isAutoInc": false,
|
|
"comment": "删除人",
|
|
"columnFormat": "",
|
|
"storage": "",
|
|
"isVirtual": false,
|
|
"isGeneratedAlways": false,
|
|
"virtualExpr": "",
|
|
"virtualType": "",
|
|
"oldName": "deleteby"
|
|
},
|
|
{
|
|
"objectType": "TableField_MYSQL",
|
|
"name": "deletetime",
|
|
"type": "datetime",
|
|
"length": 0,
|
|
"decimals": 0,
|
|
"isUnsigned": false,
|
|
"isZeroFill": false,
|
|
"setEnumValues": "",
|
|
"isBinary": false,
|
|
"charset": "",
|
|
"collation": "",
|
|
"isNullable": true,
|
|
"defaultType": "Null",
|
|
"defaultValue": "NULL",
|
|
"isOnUpdateCurrentTimestamp": false,
|
|
"isAutoInc": false,
|
|
"comment": "删除时间",
|
|
"columnFormat": "",
|
|
"storage": "",
|
|
"isVirtual": false,
|
|
"isGeneratedAlways": false,
|
|
"virtualExpr": "",
|
|
"virtualType": "",
|
|
"oldName": "deletetime"
|
|
}
|
|
],
|
|
"indexes": [
|
|
{
|
|
"objectType": "Index_MYSQL",
|
|
"name": "pac_index",
|
|
"type": "UNIQUE",
|
|
"method": "",
|
|
"comment": "",
|
|
"oldName": "",
|
|
"online": false,
|
|
"keyBlockSize": 0,
|
|
"parser": "",
|
|
"algorithm": "",
|
|
"lock": "",
|
|
"collation": "",
|
|
"cardinality": "",
|
|
"packed": "",
|
|
"IsVisibleIndex": true,
|
|
"fields": [
|
|
{
|
|
"objectType": "IndexField_MYSQL",
|
|
"name": "index",
|
|
"keyLength": 0,
|
|
"order": "",
|
|
"oldName": ""
|
|
}
|
|
]
|
|
}
|
|
],
|
|
"primaryKey": {
|
|
"objectType": "PrimaryKey_MYSQL",
|
|
"name": "",
|
|
"fields": [
|
|
{
|
|
"objectType": "IndexField_MYSQL",
|
|
"name": "post_id",
|
|
"keyLength": 0,
|
|
"order": "",
|
|
"oldName": ""
|
|
}
|
|
],
|
|
"oldName": "",
|
|
"indexMethod": "",
|
|
"comment": ""
|
|
},
|
|
"foreignKeys": [],
|
|
"checks": [],
|
|
"triggers": [],
|
|
"tablePartitions": []
|
|
},
|
|
{
|
|
"objectType": "Table_MYSQL",
|
|
"name": "pac_auth_link_user_dept",
|
|
"comment": "用户部门关联",
|
|
"engine": "",
|
|
"characterSet": "",
|
|
"collation": "",
|
|
"autoIncrement": 0,
|
|
"tablespace": "",
|
|
"storage": "",
|
|
"insertMethod": "",
|
|
"connection": "",
|
|
"checksum": false,
|
|
"rowFormat": "",
|
|
"avgRowLength": 0,
|
|
"maxRows": 0,
|
|
"minRows": 0,
|
|
"keyBlockSize": 0,
|
|
"packKeys": "",
|
|
"delayKeyWrite": false,
|
|
"dataDirectory": "",
|
|
"indexDirectory": "",
|
|
"statsAutoRecalc": "",
|
|
"statsPersistent": "",
|
|
"statsSamplePages": 0,
|
|
"union": "",
|
|
"pageCheckSum": false,
|
|
"transactional": false,
|
|
"compression": "",
|
|
"oldName": "",
|
|
"encryption": false,
|
|
"createOptions": "",
|
|
"createTime": "",
|
|
"checkTime": "",
|
|
"dataFree": 0,
|
|
"dataLength": 0,
|
|
"indexLength": 0,
|
|
"maxDataLength": 0,
|
|
"rows": 0,
|
|
"updateTime": "",
|
|
"DDL": "",
|
|
"partitionBy": "",
|
|
"partitionByExpr": "",
|
|
"partitions": 0,
|
|
"partitionKeyAlgorithm": "",
|
|
"subPartitionBy": "",
|
|
"subPartitionByExpr": "",
|
|
"subPartitions": 0,
|
|
"subPartitionKeyAlgorithm": "",
|
|
"fields": [
|
|
{
|
|
"objectType": "TableField_MYSQL",
|
|
"name": "index",
|
|
"type": "int",
|
|
"length": -2147483648,
|
|
"decimals": -2147483648,
|
|
"isUnsigned": false,
|
|
"isZeroFill": false,
|
|
"setEnumValues": "",
|
|
"isBinary": false,
|
|
"charset": "",
|
|
"collation": "",
|
|
"isNullable": false,
|
|
"defaultType": "Others",
|
|
"defaultValue": "",
|
|
"isOnUpdateCurrentTimestamp": false,
|
|
"isAutoInc": true,
|
|
"comment": "数据完整性确认",
|
|
"columnFormat": "",
|
|
"storage": "",
|
|
"isVirtual": false,
|
|
"isGeneratedAlways": false,
|
|
"virtualExpr": "",
|
|
"virtualType": "",
|
|
"oldName": "index"
|
|
},
|
|
{
|
|
"objectType": "TableField_MYSQL",
|
|
"name": "user_id",
|
|
"type": "int",
|
|
"length": -2147483648,
|
|
"decimals": -2147483648,
|
|
"isUnsigned": false,
|
|
"isZeroFill": false,
|
|
"setEnumValues": "",
|
|
"isBinary": false,
|
|
"charset": "",
|
|
"collation": "",
|
|
"isNullable": false,
|
|
"defaultType": "Others",
|
|
"defaultValue": "",
|
|
"isOnUpdateCurrentTimestamp": false,
|
|
"isAutoInc": false,
|
|
"comment": "",
|
|
"columnFormat": "",
|
|
"storage": "",
|
|
"isVirtual": false,
|
|
"isGeneratedAlways": false,
|
|
"virtualExpr": "",
|
|
"virtualType": "",
|
|
"oldName": "user_id"
|
|
},
|
|
{
|
|
"objectType": "TableField_MYSQL",
|
|
"name": "dept_id",
|
|
"type": "int",
|
|
"length": -2147483648,
|
|
"decimals": -2147483648,
|
|
"isUnsigned": false,
|
|
"isZeroFill": false,
|
|
"setEnumValues": "",
|
|
"isBinary": false,
|
|
"charset": "",
|
|
"collation": "",
|
|
"isNullable": false,
|
|
"defaultType": "Others",
|
|
"defaultValue": "",
|
|
"isOnUpdateCurrentTimestamp": false,
|
|
"isAutoInc": false,
|
|
"comment": "",
|
|
"columnFormat": "",
|
|
"storage": "",
|
|
"isVirtual": false,
|
|
"isGeneratedAlways": false,
|
|
"virtualExpr": "",
|
|
"virtualType": "",
|
|
"oldName": "dept_id"
|
|
},
|
|
{
|
|
"objectType": "TableField_MYSQL",
|
|
"name": "createby",
|
|
"type": "int",
|
|
"length": 0,
|
|
"decimals": 0,
|
|
"isUnsigned": false,
|
|
"isZeroFill": false,
|
|
"setEnumValues": "",
|
|
"isBinary": false,
|
|
"charset": "",
|
|
"collation": "",
|
|
"isNullable": false,
|
|
"defaultType": "Others",
|
|
"defaultValue": "",
|
|
"isOnUpdateCurrentTimestamp": false,
|
|
"isAutoInc": false,
|
|
"comment": "创建人",
|
|
"columnFormat": "",
|
|
"storage": "",
|
|
"isVirtual": false,
|
|
"isGeneratedAlways": false,
|
|
"virtualExpr": "",
|
|
"virtualType": "",
|
|
"oldName": "createby"
|
|
},
|
|
{
|
|
"objectType": "TableField_MYSQL",
|
|
"name": "createtime",
|
|
"type": "datetime",
|
|
"length": 0,
|
|
"decimals": 0,
|
|
"isUnsigned": false,
|
|
"isZeroFill": false,
|
|
"setEnumValues": "",
|
|
"isBinary": false,
|
|
"charset": "",
|
|
"collation": "",
|
|
"isNullable": false,
|
|
"defaultType": "Others",
|
|
"defaultValue": "",
|
|
"isOnUpdateCurrentTimestamp": false,
|
|
"isAutoInc": false,
|
|
"comment": "创建时间",
|
|
"columnFormat": "",
|
|
"storage": "",
|
|
"isVirtual": false,
|
|
"isGeneratedAlways": false,
|
|
"virtualExpr": "",
|
|
"virtualType": "",
|
|
"oldName": "createtime"
|
|
},
|
|
{
|
|
"objectType": "TableField_MYSQL",
|
|
"name": "updateby",
|
|
"type": "int",
|
|
"length": 0,
|
|
"decimals": 0,
|
|
"isUnsigned": false,
|
|
"isZeroFill": false,
|
|
"setEnumValues": "",
|
|
"isBinary": false,
|
|
"charset": "",
|
|
"collation": "",
|
|
"isNullable": true,
|
|
"defaultType": "Null",
|
|
"defaultValue": "NULL",
|
|
"isOnUpdateCurrentTimestamp": false,
|
|
"isAutoInc": false,
|
|
"comment": "更新人",
|
|
"columnFormat": "",
|
|
"storage": "",
|
|
"isVirtual": false,
|
|
"isGeneratedAlways": false,
|
|
"virtualExpr": "",
|
|
"virtualType": "",
|
|
"oldName": "updateby"
|
|
},
|
|
{
|
|
"objectType": "TableField_MYSQL",
|
|
"name": "updatetime",
|
|
"type": "datetime",
|
|
"length": 0,
|
|
"decimals": 0,
|
|
"isUnsigned": false,
|
|
"isZeroFill": false,
|
|
"setEnumValues": "",
|
|
"isBinary": false,
|
|
"charset": "",
|
|
"collation": "",
|
|
"isNullable": true,
|
|
"defaultType": "Null",
|
|
"defaultValue": "NULL",
|
|
"isOnUpdateCurrentTimestamp": false,
|
|
"isAutoInc": false,
|
|
"comment": "更新时间",
|
|
"columnFormat": "",
|
|
"storage": "",
|
|
"isVirtual": false,
|
|
"isGeneratedAlways": false,
|
|
"virtualExpr": "",
|
|
"virtualType": "",
|
|
"oldName": "updatetime"
|
|
},
|
|
{
|
|
"objectType": "TableField_MYSQL",
|
|
"name": "deleteby",
|
|
"type": "int",
|
|
"length": 0,
|
|
"decimals": 0,
|
|
"isUnsigned": false,
|
|
"isZeroFill": false,
|
|
"setEnumValues": "",
|
|
"isBinary": false,
|
|
"charset": "",
|
|
"collation": "",
|
|
"isNullable": true,
|
|
"defaultType": "Null",
|
|
"defaultValue": "NULL",
|
|
"isOnUpdateCurrentTimestamp": false,
|
|
"isAutoInc": false,
|
|
"comment": "删除人",
|
|
"columnFormat": "",
|
|
"storage": "",
|
|
"isVirtual": false,
|
|
"isGeneratedAlways": false,
|
|
"virtualExpr": "",
|
|
"virtualType": "",
|
|
"oldName": "deleteby"
|
|
},
|
|
{
|
|
"objectType": "TableField_MYSQL",
|
|
"name": "deletetime",
|
|
"type": "datetime",
|
|
"length": 0,
|
|
"decimals": 0,
|
|
"isUnsigned": false,
|
|
"isZeroFill": false,
|
|
"setEnumValues": "",
|
|
"isBinary": false,
|
|
"charset": "",
|
|
"collation": "",
|
|
"isNullable": true,
|
|
"defaultType": "Null",
|
|
"defaultValue": "NULL",
|
|
"isOnUpdateCurrentTimestamp": false,
|
|
"isAutoInc": false,
|
|
"comment": "删除时间",
|
|
"columnFormat": "",
|
|
"storage": "",
|
|
"isVirtual": false,
|
|
"isGeneratedAlways": false,
|
|
"virtualExpr": "",
|
|
"virtualType": "",
|
|
"oldName": "deletetime"
|
|
}
|
|
],
|
|
"indexes": [
|
|
{
|
|
"objectType": "Index_MYSQL",
|
|
"name": "pac_index",
|
|
"type": "UNIQUE",
|
|
"method": "",
|
|
"comment": "",
|
|
"oldName": "",
|
|
"online": false,
|
|
"keyBlockSize": 0,
|
|
"parser": "",
|
|
"algorithm": "",
|
|
"lock": "",
|
|
"collation": "",
|
|
"cardinality": "",
|
|
"packed": "",
|
|
"IsVisibleIndex": true,
|
|
"fields": [
|
|
{
|
|
"objectType": "IndexField_MYSQL",
|
|
"name": "index",
|
|
"keyLength": 0,
|
|
"order": "",
|
|
"oldName": ""
|
|
}
|
|
]
|
|
}
|
|
],
|
|
"primaryKey": {
|
|
"objectType": "PrimaryKey_MYSQL",
|
|
"name": "",
|
|
"fields": [
|
|
{
|
|
"objectType": "IndexField_MYSQL",
|
|
"name": "index",
|
|
"keyLength": -2147483648,
|
|
"order": "",
|
|
"oldName": ""
|
|
}
|
|
],
|
|
"oldName": "",
|
|
"indexMethod": "",
|
|
"comment": ""
|
|
},
|
|
"foreignKeys": [],
|
|
"checks": [],
|
|
"triggers": [],
|
|
"tablePartitions": []
|
|
},
|
|
{
|
|
"objectType": "Table_MYSQL",
|
|
"name": "pac_auth_user",
|
|
"comment": "用户表",
|
|
"engine": "",
|
|
"characterSet": "",
|
|
"collation": "",
|
|
"autoIncrement": 0,
|
|
"tablespace": "",
|
|
"storage": "",
|
|
"insertMethod": "",
|
|
"connection": "",
|
|
"checksum": false,
|
|
"rowFormat": "",
|
|
"avgRowLength": 0,
|
|
"maxRows": 0,
|
|
"minRows": 0,
|
|
"keyBlockSize": 0,
|
|
"packKeys": "",
|
|
"delayKeyWrite": false,
|
|
"dataDirectory": "",
|
|
"indexDirectory": "",
|
|
"statsAutoRecalc": "",
|
|
"statsPersistent": "",
|
|
"statsSamplePages": 0,
|
|
"union": "",
|
|
"pageCheckSum": false,
|
|
"transactional": false,
|
|
"compression": "",
|
|
"oldName": "",
|
|
"encryption": false,
|
|
"createOptions": "",
|
|
"createTime": "",
|
|
"checkTime": "",
|
|
"dataFree": 0,
|
|
"dataLength": 0,
|
|
"indexLength": 0,
|
|
"maxDataLength": 0,
|
|
"rows": 0,
|
|
"updateTime": "",
|
|
"DDL": "",
|
|
"partitionBy": "",
|
|
"partitionByExpr": "",
|
|
"partitions": 0,
|
|
"partitionKeyAlgorithm": "",
|
|
"subPartitionBy": "",
|
|
"subPartitionByExpr": "",
|
|
"subPartitions": 0,
|
|
"subPartitionKeyAlgorithm": "",
|
|
"fields": [
|
|
{
|
|
"objectType": "TableField_MYSQL",
|
|
"name": "index",
|
|
"type": "int",
|
|
"length": -2147483648,
|
|
"decimals": -2147483648,
|
|
"isUnsigned": false,
|
|
"isZeroFill": false,
|
|
"setEnumValues": "",
|
|
"isBinary": false,
|
|
"charset": "",
|
|
"collation": "",
|
|
"isNullable": false,
|
|
"defaultType": "Others",
|
|
"defaultValue": "",
|
|
"isOnUpdateCurrentTimestamp": false,
|
|
"isAutoInc": true,
|
|
"comment": "数据完整性确认",
|
|
"columnFormat": "",
|
|
"storage": "",
|
|
"isVirtual": false,
|
|
"isGeneratedAlways": false,
|
|
"virtualExpr": "",
|
|
"virtualType": "",
|
|
"oldName": "index"
|
|
},
|
|
{
|
|
"objectType": "TableField_MYSQL",
|
|
"name": "user_id",
|
|
"type": "bigint",
|
|
"length": -2147483648,
|
|
"decimals": -2147483648,
|
|
"isUnsigned": false,
|
|
"isZeroFill": false,
|
|
"setEnumValues": "",
|
|
"isBinary": false,
|
|
"charset": "",
|
|
"collation": "",
|
|
"isNullable": false,
|
|
"defaultType": "Others",
|
|
"defaultValue": "",
|
|
"isOnUpdateCurrentTimestamp": false,
|
|
"isAutoInc": false,
|
|
"comment": "用户id,可采用雪花id",
|
|
"columnFormat": "",
|
|
"storage": "",
|
|
"isVirtual": false,
|
|
"isGeneratedAlways": false,
|
|
"virtualExpr": "",
|
|
"virtualType": "",
|
|
"oldName": "user_id"
|
|
},
|
|
{
|
|
"objectType": "TableField_MYSQL",
|
|
"name": "username",
|
|
"type": "varchar",
|
|
"length": 255,
|
|
"decimals": -2147483648,
|
|
"isUnsigned": false,
|
|
"isZeroFill": false,
|
|
"setEnumValues": "",
|
|
"isBinary": false,
|
|
"charset": "",
|
|
"collation": "",
|
|
"isNullable": false,
|
|
"defaultType": "Others",
|
|
"defaultValue": "",
|
|
"isOnUpdateCurrentTimestamp": false,
|
|
"isAutoInc": false,
|
|
"comment": "用户名",
|
|
"columnFormat": "",
|
|
"storage": "",
|
|
"isVirtual": false,
|
|
"isGeneratedAlways": false,
|
|
"virtualExpr": "",
|
|
"virtualType": "",
|
|
"oldName": "username"
|
|
},
|
|
{
|
|
"objectType": "TableField_MYSQL",
|
|
"name": "password",
|
|
"type": "varchar",
|
|
"length": 255,
|
|
"decimals": -2147483648,
|
|
"isUnsigned": false,
|
|
"isZeroFill": false,
|
|
"setEnumValues": "",
|
|
"isBinary": false,
|
|
"charset": "",
|
|
"collation": "",
|
|
"isNullable": false,
|
|
"defaultType": "Others",
|
|
"defaultValue": "",
|
|
"isOnUpdateCurrentTimestamp": false,
|
|
"isAutoInc": false,
|
|
"comment": "密码",
|
|
"columnFormat": "",
|
|
"storage": "",
|
|
"isVirtual": false,
|
|
"isGeneratedAlways": false,
|
|
"virtualExpr": "",
|
|
"virtualType": "",
|
|
"oldName": "password"
|
|
},
|
|
{
|
|
"objectType": "TableField_MYSQL",
|
|
"name": "nickname",
|
|
"type": "varchar",
|
|
"length": 255,
|
|
"decimals": -2147483648,
|
|
"isUnsigned": false,
|
|
"isZeroFill": false,
|
|
"setEnumValues": "",
|
|
"isBinary": false,
|
|
"charset": "",
|
|
"collation": "",
|
|
"isNullable": false,
|
|
"defaultType": "Others",
|
|
"defaultValue": "",
|
|
"isOnUpdateCurrentTimestamp": false,
|
|
"isAutoInc": false,
|
|
"comment": "昵称",
|
|
"columnFormat": "",
|
|
"storage": "",
|
|
"isVirtual": false,
|
|
"isGeneratedAlways": false,
|
|
"virtualExpr": "",
|
|
"virtualType": "",
|
|
"oldName": "nickname"
|
|
},
|
|
{
|
|
"objectType": "TableField_MYSQL",
|
|
"name": "user_type",
|
|
"type": "int",
|
|
"length": -2147483648,
|
|
"decimals": -2147483648,
|
|
"isUnsigned": false,
|
|
"isZeroFill": false,
|
|
"setEnumValues": "",
|
|
"isBinary": false,
|
|
"charset": "",
|
|
"collation": "",
|
|
"isNullable": false,
|
|
"defaultType": "Others",
|
|
"defaultValue": "0",
|
|
"isOnUpdateCurrentTimestamp": false,
|
|
"isAutoInc": false,
|
|
"comment": "用户类型,来源英语字典,默认0",
|
|
"columnFormat": "",
|
|
"storage": "",
|
|
"isVirtual": false,
|
|
"isGeneratedAlways": false,
|
|
"virtualExpr": "",
|
|
"virtualType": "",
|
|
"oldName": "user_type"
|
|
},
|
|
{
|
|
"objectType": "TableField_MYSQL",
|
|
"name": "user_email",
|
|
"type": "varchar",
|
|
"length": 255,
|
|
"decimals": -2147483648,
|
|
"isUnsigned": false,
|
|
"isZeroFill": false,
|
|
"setEnumValues": "",
|
|
"isBinary": false,
|
|
"charset": "",
|
|
"collation": "",
|
|
"isNullable": true,
|
|
"defaultType": "Others",
|
|
"defaultValue": "",
|
|
"isOnUpdateCurrentTimestamp": false,
|
|
"isAutoInc": false,
|
|
"comment": "邮箱",
|
|
"columnFormat": "",
|
|
"storage": "",
|
|
"isVirtual": false,
|
|
"isGeneratedAlways": false,
|
|
"virtualExpr": "",
|
|
"virtualType": "",
|
|
"oldName": "user_email"
|
|
},
|
|
{
|
|
"objectType": "TableField_MYSQL",
|
|
"name": "pid",
|
|
"type": "bigint",
|
|
"length": -2147483648,
|
|
"decimals": -2147483648,
|
|
"isUnsigned": false,
|
|
"isZeroFill": false,
|
|
"setEnumValues": "",
|
|
"isBinary": false,
|
|
"charset": "",
|
|
"collation": "",
|
|
"isNullable": false,
|
|
"defaultType": "Others",
|
|
"defaultValue": "0",
|
|
"isOnUpdateCurrentTimestamp": false,
|
|
"isAutoInc": false,
|
|
"comment": "父账户,默认0",
|
|
"columnFormat": "",
|
|
"storage": "",
|
|
"isVirtual": false,
|
|
"isGeneratedAlways": false,
|
|
"virtualExpr": "",
|
|
"virtualType": "",
|
|
"oldName": "pid"
|
|
},
|
|
{
|
|
"objectType": "TableField_MYSQL",
|
|
"name": "wx_appid",
|
|
"type": "int",
|
|
"length": -2147483648,
|
|
"decimals": -2147483648,
|
|
"isUnsigned": false,
|
|
"isZeroFill": false,
|
|
"setEnumValues": "",
|
|
"isBinary": false,
|
|
"charset": "",
|
|
"collation": "",
|
|
"isNullable": true,
|
|
"defaultType": "Others",
|
|
"defaultValue": "",
|
|
"isOnUpdateCurrentTimestamp": false,
|
|
"isAutoInc": false,
|
|
"comment": "微信id",
|
|
"columnFormat": "",
|
|
"storage": "",
|
|
"isVirtual": false,
|
|
"isGeneratedAlways": false,
|
|
"virtualExpr": "",
|
|
"virtualType": "",
|
|
"oldName": "wx_appid"
|
|
},
|
|
{
|
|
"objectType": "TableField_MYSQL",
|
|
"name": "avatar",
|
|
"type": "varchar",
|
|
"length": 255,
|
|
"decimals": -2147483648,
|
|
"isUnsigned": false,
|
|
"isZeroFill": false,
|
|
"setEnumValues": "",
|
|
"isBinary": false,
|
|
"charset": "",
|
|
"collation": "",
|
|
"isNullable": true,
|
|
"defaultType": "Others",
|
|
"defaultValue": "",
|
|
"isOnUpdateCurrentTimestamp": false,
|
|
"isAutoInc": false,
|
|
"comment": "图标",
|
|
"columnFormat": "",
|
|
"storage": "",
|
|
"isVirtual": false,
|
|
"isGeneratedAlways": false,
|
|
"virtualExpr": "",
|
|
"virtualType": "",
|
|
"oldName": "avatar"
|
|
},
|
|
{
|
|
"objectType": "TableField_MYSQL",
|
|
"name": "user_phone",
|
|
"type": "varchar",
|
|
"length": 255,
|
|
"decimals": -2147483648,
|
|
"isUnsigned": false,
|
|
"isZeroFill": false,
|
|
"setEnumValues": "",
|
|
"isBinary": false,
|
|
"charset": "",
|
|
"collation": "",
|
|
"isNullable": true,
|
|
"defaultType": "Others",
|
|
"defaultValue": "",
|
|
"isOnUpdateCurrentTimestamp": false,
|
|
"isAutoInc": false,
|
|
"comment": "电话",
|
|
"columnFormat": "",
|
|
"storage": "",
|
|
"isVirtual": false,
|
|
"isGeneratedAlways": false,
|
|
"virtualExpr": "",
|
|
"virtualType": "",
|
|
"oldName": "user_phone"
|
|
},
|
|
{
|
|
"objectType": "TableField_MYSQL",
|
|
"name": "user_desc",
|
|
"type": "varchar",
|
|
"length": 255,
|
|
"decimals": -2147483648,
|
|
"isUnsigned": false,
|
|
"isZeroFill": false,
|
|
"setEnumValues": "",
|
|
"isBinary": false,
|
|
"charset": "",
|
|
"collation": "",
|
|
"isNullable": true,
|
|
"defaultType": "Others",
|
|
"defaultValue": "",
|
|
"isOnUpdateCurrentTimestamp": false,
|
|
"isAutoInc": false,
|
|
"comment": "用户描述",
|
|
"columnFormat": "",
|
|
"storage": "",
|
|
"isVirtual": false,
|
|
"isGeneratedAlways": false,
|
|
"virtualExpr": "",
|
|
"virtualType": "",
|
|
"oldName": "user_desc"
|
|
},
|
|
{
|
|
"objectType": "TableField_MYSQL",
|
|
"name": "status",
|
|
"type": "int",
|
|
"length": -2147483648,
|
|
"decimals": -2147483648,
|
|
"isUnsigned": false,
|
|
"isZeroFill": false,
|
|
"setEnumValues": "",
|
|
"isBinary": false,
|
|
"charset": "",
|
|
"collation": "",
|
|
"isNullable": false,
|
|
"defaultType": "Others",
|
|
"defaultValue": "0",
|
|
"isOnUpdateCurrentTimestamp": false,
|
|
"isAutoInc": false,
|
|
"comment": "状态:0默认正常,1禁用,2临时锁定",
|
|
"columnFormat": "",
|
|
"storage": "",
|
|
"isVirtual": false,
|
|
"isGeneratedAlways": false,
|
|
"virtualExpr": "",
|
|
"virtualType": "",
|
|
"oldName": "status"
|
|
},
|
|
{
|
|
"objectType": "TableField_MYSQL",
|
|
"name": "have_children",
|
|
"type": "int",
|
|
"length": -2147483648,
|
|
"decimals": -2147483648,
|
|
"isUnsigned": false,
|
|
"isZeroFill": false,
|
|
"setEnumValues": "",
|
|
"isBinary": false,
|
|
"charset": "",
|
|
"collation": "",
|
|
"isNullable": false,
|
|
"defaultType": "Others",
|
|
"defaultValue": "0",
|
|
"isOnUpdateCurrentTimestamp": false,
|
|
"isAutoInc": false,
|
|
"comment": "存在子账户:默认0,不存在",
|
|
"columnFormat": "",
|
|
"storage": "",
|
|
"isVirtual": false,
|
|
"isGeneratedAlways": false,
|
|
"virtualExpr": "",
|
|
"virtualType": "",
|
|
"oldName": "have_children"
|
|
},
|
|
{
|
|
"objectType": "TableField_MYSQL",
|
|
"name": "createby",
|
|
"type": "bigint",
|
|
"length": 0,
|
|
"decimals": 0,
|
|
"isUnsigned": false,
|
|
"isZeroFill": false,
|
|
"setEnumValues": "",
|
|
"isBinary": false,
|
|
"charset": "",
|
|
"collation": "",
|
|
"isNullable": false,
|
|
"defaultType": "Others",
|
|
"defaultValue": "",
|
|
"isOnUpdateCurrentTimestamp": false,
|
|
"isAutoInc": false,
|
|
"comment": "创建人",
|
|
"columnFormat": "",
|
|
"storage": "",
|
|
"isVirtual": false,
|
|
"isGeneratedAlways": false,
|
|
"virtualExpr": "",
|
|
"virtualType": "",
|
|
"oldName": "createby"
|
|
},
|
|
{
|
|
"objectType": "TableField_MYSQL",
|
|
"name": "createtime",
|
|
"type": "datetime",
|
|
"length": 0,
|
|
"decimals": 0,
|
|
"isUnsigned": false,
|
|
"isZeroFill": false,
|
|
"setEnumValues": "",
|
|
"isBinary": false,
|
|
"charset": "",
|
|
"collation": "",
|
|
"isNullable": false,
|
|
"defaultType": "None",
|
|
"defaultValue": "",
|
|
"isOnUpdateCurrentTimestamp": false,
|
|
"isAutoInc": false,
|
|
"comment": "创建时间",
|
|
"columnFormat": "",
|
|
"storage": "",
|
|
"isVirtual": false,
|
|
"isGeneratedAlways": false,
|
|
"virtualExpr": "",
|
|
"virtualType": "",
|
|
"oldName": "createtime"
|
|
},
|
|
{
|
|
"objectType": "TableField_MYSQL",
|
|
"name": "updateby",
|
|
"type": "bigint",
|
|
"length": 0,
|
|
"decimals": 0,
|
|
"isUnsigned": false,
|
|
"isZeroFill": false,
|
|
"setEnumValues": "",
|
|
"isBinary": false,
|
|
"charset": "",
|
|
"collation": "",
|
|
"isNullable": true,
|
|
"defaultType": "Null",
|
|
"defaultValue": "NULL",
|
|
"isOnUpdateCurrentTimestamp": false,
|
|
"isAutoInc": false,
|
|
"comment": "更新人",
|
|
"columnFormat": "",
|
|
"storage": "",
|
|
"isVirtual": false,
|
|
"isGeneratedAlways": false,
|
|
"virtualExpr": "",
|
|
"virtualType": "",
|
|
"oldName": "updateby"
|
|
},
|
|
{
|
|
"objectType": "TableField_MYSQL",
|
|
"name": "updatetime",
|
|
"type": "datetime",
|
|
"length": 0,
|
|
"decimals": 0,
|
|
"isUnsigned": false,
|
|
"isZeroFill": false,
|
|
"setEnumValues": "",
|
|
"isBinary": false,
|
|
"charset": "",
|
|
"collation": "",
|
|
"isNullable": true,
|
|
"defaultType": "Null",
|
|
"defaultValue": "NULL",
|
|
"isOnUpdateCurrentTimestamp": false,
|
|
"isAutoInc": false,
|
|
"comment": "更新时间",
|
|
"columnFormat": "",
|
|
"storage": "",
|
|
"isVirtual": false,
|
|
"isGeneratedAlways": false,
|
|
"virtualExpr": "",
|
|
"virtualType": "",
|
|
"oldName": "updatetime"
|
|
},
|
|
{
|
|
"objectType": "TableField_MYSQL",
|
|
"name": "deleteby",
|
|
"type": "bigint",
|
|
"length": 0,
|
|
"decimals": 0,
|
|
"isUnsigned": false,
|
|
"isZeroFill": false,
|
|
"setEnumValues": "",
|
|
"isBinary": false,
|
|
"charset": "",
|
|
"collation": "",
|
|
"isNullable": true,
|
|
"defaultType": "Null",
|
|
"defaultValue": "NULL",
|
|
"isOnUpdateCurrentTimestamp": false,
|
|
"isAutoInc": false,
|
|
"comment": "删除人",
|
|
"columnFormat": "",
|
|
"storage": "",
|
|
"isVirtual": false,
|
|
"isGeneratedAlways": false,
|
|
"virtualExpr": "",
|
|
"virtualType": "",
|
|
"oldName": "deleteby"
|
|
},
|
|
{
|
|
"objectType": "TableField_MYSQL",
|
|
"name": "deletetime",
|
|
"type": "datetime",
|
|
"length": 0,
|
|
"decimals": 0,
|
|
"isUnsigned": false,
|
|
"isZeroFill": false,
|
|
"setEnumValues": "",
|
|
"isBinary": false,
|
|
"charset": "",
|
|
"collation": "",
|
|
"isNullable": true,
|
|
"defaultType": "Null",
|
|
"defaultValue": "NULL",
|
|
"isOnUpdateCurrentTimestamp": false,
|
|
"isAutoInc": false,
|
|
"comment": "删除时间",
|
|
"columnFormat": "",
|
|
"storage": "",
|
|
"isVirtual": false,
|
|
"isGeneratedAlways": false,
|
|
"virtualExpr": "",
|
|
"virtualType": "",
|
|
"oldName": "deletetime"
|
|
}
|
|
],
|
|
"indexes": [
|
|
{
|
|
"objectType": "Index_MYSQL",
|
|
"name": "pac_index",
|
|
"type": "UNIQUE",
|
|
"method": "",
|
|
"comment": "",
|
|
"oldName": "",
|
|
"online": false,
|
|
"keyBlockSize": 0,
|
|
"parser": "",
|
|
"algorithm": "",
|
|
"lock": "",
|
|
"collation": "",
|
|
"cardinality": "",
|
|
"packed": "",
|
|
"IsVisibleIndex": true,
|
|
"fields": [
|
|
{
|
|
"objectType": "IndexField_MYSQL",
|
|
"name": "index",
|
|
"keyLength": 0,
|
|
"order": "",
|
|
"oldName": ""
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"objectType": "Index_MYSQL",
|
|
"name": "username",
|
|
"type": "UNIQUE",
|
|
"method": "",
|
|
"comment": "",
|
|
"oldName": "",
|
|
"online": false,
|
|
"keyBlockSize": 0,
|
|
"parser": "",
|
|
"algorithm": "",
|
|
"lock": "",
|
|
"collation": "",
|
|
"cardinality": "",
|
|
"packed": "",
|
|
"IsVisibleIndex": true,
|
|
"fields": [
|
|
{
|
|
"objectType": "IndexField_MYSQL",
|
|
"name": "username",
|
|
"keyLength": 0,
|
|
"order": "",
|
|
"oldName": ""
|
|
}
|
|
]
|
|
}
|
|
],
|
|
"primaryKey": {
|
|
"objectType": "PrimaryKey_MYSQL",
|
|
"name": "",
|
|
"fields": [
|
|
{
|
|
"objectType": "IndexField_MYSQL",
|
|
"name": "user_id",
|
|
"keyLength": -2147483648,
|
|
"order": "",
|
|
"oldName": ""
|
|
}
|
|
],
|
|
"oldName": "",
|
|
"indexMethod": "",
|
|
"comment": ""
|
|
},
|
|
"foreignKeys": [],
|
|
"checks": [],
|
|
"triggers": [],
|
|
"tablePartitions": []
|
|
},
|
|
{
|
|
"objectType": "Table_MYSQL",
|
|
"name": "pac_core_env",
|
|
"comment": "系统内运行时的环境变量",
|
|
"engine": "",
|
|
"characterSet": "",
|
|
"collation": "",
|
|
"autoIncrement": 0,
|
|
"tablespace": "",
|
|
"storage": "",
|
|
"insertMethod": "",
|
|
"connection": "",
|
|
"checksum": false,
|
|
"rowFormat": "",
|
|
"avgRowLength": 0,
|
|
"maxRows": 0,
|
|
"minRows": 0,
|
|
"keyBlockSize": 0,
|
|
"packKeys": "",
|
|
"delayKeyWrite": false,
|
|
"dataDirectory": "",
|
|
"indexDirectory": "",
|
|
"statsAutoRecalc": "",
|
|
"statsPersistent": "",
|
|
"statsSamplePages": 0,
|
|
"union": "",
|
|
"pageCheckSum": false,
|
|
"transactional": false,
|
|
"compression": "",
|
|
"oldName": "",
|
|
"encryption": false,
|
|
"createOptions": "",
|
|
"createTime": "",
|
|
"checkTime": "",
|
|
"dataFree": 0,
|
|
"dataLength": 0,
|
|
"indexLength": 0,
|
|
"maxDataLength": 0,
|
|
"rows": 0,
|
|
"updateTime": "",
|
|
"DDL": "",
|
|
"partitionBy": "",
|
|
"partitionByExpr": "",
|
|
"partitions": 0,
|
|
"partitionKeyAlgorithm": "",
|
|
"subPartitionBy": "",
|
|
"subPartitionByExpr": "",
|
|
"subPartitions": 0,
|
|
"subPartitionKeyAlgorithm": "",
|
|
"fields": [
|
|
{
|
|
"objectType": "TableField_MYSQL",
|
|
"name": "index",
|
|
"type": "int",
|
|
"length": -2147483648,
|
|
"decimals": -2147483648,
|
|
"isUnsigned": false,
|
|
"isZeroFill": false,
|
|
"setEnumValues": "",
|
|
"isBinary": false,
|
|
"charset": "",
|
|
"collation": "",
|
|
"isNullable": false,
|
|
"defaultType": "Others",
|
|
"defaultValue": "",
|
|
"isOnUpdateCurrentTimestamp": false,
|
|
"isAutoInc": true,
|
|
"comment": "数据完整性确认",
|
|
"columnFormat": "",
|
|
"storage": "",
|
|
"isVirtual": false,
|
|
"isGeneratedAlways": false,
|
|
"virtualExpr": "",
|
|
"virtualType": "",
|
|
"oldName": "index"
|
|
},
|
|
{
|
|
"objectType": "TableField_MYSQL",
|
|
"name": "env_id",
|
|
"type": "bigint",
|
|
"length": -2147483648,
|
|
"decimals": -2147483648,
|
|
"isUnsigned": false,
|
|
"isZeroFill": false,
|
|
"setEnumValues": "",
|
|
"isBinary": false,
|
|
"charset": "",
|
|
"collation": "",
|
|
"isNullable": false,
|
|
"defaultType": "Others",
|
|
"defaultValue": "",
|
|
"isOnUpdateCurrentTimestamp": false,
|
|
"isAutoInc": false,
|
|
"comment": "变量id",
|
|
"columnFormat": "",
|
|
"storage": "",
|
|
"isVirtual": false,
|
|
"isGeneratedAlways": false,
|
|
"virtualExpr": "",
|
|
"virtualType": "",
|
|
"oldName": "env_id"
|
|
},
|
|
{
|
|
"objectType": "TableField_MYSQL",
|
|
"name": "pid",
|
|
"type": "bigint",
|
|
"length": -2147483648,
|
|
"decimals": -2147483648,
|
|
"isUnsigned": false,
|
|
"isZeroFill": false,
|
|
"setEnumValues": "",
|
|
"isBinary": false,
|
|
"charset": "",
|
|
"collation": "",
|
|
"isNullable": false,
|
|
"defaultType": "Others",
|
|
"defaultValue": "0",
|
|
"isOnUpdateCurrentTimestamp": false,
|
|
"isAutoInc": false,
|
|
"comment": "env分组依据,默认0为没有分组",
|
|
"columnFormat": "",
|
|
"storage": "",
|
|
"isVirtual": false,
|
|
"isGeneratedAlways": false,
|
|
"virtualExpr": "",
|
|
"virtualType": "",
|
|
"oldName": "pid"
|
|
},
|
|
{
|
|
"objectType": "TableField_MYSQL",
|
|
"name": "env_name",
|
|
"type": "varchar",
|
|
"length": 255,
|
|
"decimals": -2147483648,
|
|
"isUnsigned": false,
|
|
"isZeroFill": false,
|
|
"setEnumValues": "",
|
|
"isBinary": false,
|
|
"charset": "",
|
|
"collation": "",
|
|
"isNullable": false,
|
|
"defaultType": "Others",
|
|
"defaultValue": "",
|
|
"isOnUpdateCurrentTimestamp": false,
|
|
"isAutoInc": false,
|
|
"comment": "变量名称",
|
|
"columnFormat": "",
|
|
"storage": "",
|
|
"isVirtual": false,
|
|
"isGeneratedAlways": false,
|
|
"virtualExpr": "",
|
|
"virtualType": "",
|
|
"oldName": "env_name"
|
|
},
|
|
{
|
|
"objectType": "TableField_MYSQL",
|
|
"name": "env_key",
|
|
"type": "varchar",
|
|
"length": 255,
|
|
"decimals": -2147483648,
|
|
"isUnsigned": false,
|
|
"isZeroFill": false,
|
|
"setEnumValues": "",
|
|
"isBinary": false,
|
|
"charset": "",
|
|
"collation": "",
|
|
"isNullable": false,
|
|
"defaultType": "Others",
|
|
"defaultValue": "",
|
|
"isOnUpdateCurrentTimestamp": false,
|
|
"isAutoInc": false,
|
|
"comment": "变量标识",
|
|
"columnFormat": "",
|
|
"storage": "",
|
|
"isVirtual": false,
|
|
"isGeneratedAlways": false,
|
|
"virtualExpr": "",
|
|
"virtualType": "",
|
|
"oldName": "env_key"
|
|
},
|
|
{
|
|
"objectType": "TableField_MYSQL",
|
|
"name": "env_val",
|
|
"type": "varchar",
|
|
"length": 255,
|
|
"decimals": -2147483648,
|
|
"isUnsigned": false,
|
|
"isZeroFill": false,
|
|
"setEnumValues": "",
|
|
"isBinary": false,
|
|
"charset": "",
|
|
"collation": "",
|
|
"isNullable": false,
|
|
"defaultType": "Others",
|
|
"defaultValue": "",
|
|
"isOnUpdateCurrentTimestamp": false,
|
|
"isAutoInc": false,
|
|
"comment": "变量值",
|
|
"columnFormat": "",
|
|
"storage": "",
|
|
"isVirtual": false,
|
|
"isGeneratedAlways": false,
|
|
"virtualExpr": "",
|
|
"virtualType": "",
|
|
"oldName": "env_val"
|
|
},
|
|
{
|
|
"objectType": "TableField_MYSQL",
|
|
"name": "val_is_dict",
|
|
"type": "int",
|
|
"length": -2147483648,
|
|
"decimals": -2147483648,
|
|
"isUnsigned": false,
|
|
"isZeroFill": false,
|
|
"setEnumValues": "",
|
|
"isBinary": false,
|
|
"charset": "",
|
|
"collation": "",
|
|
"isNullable": false,
|
|
"defaultType": "Others",
|
|
"defaultValue": "0",
|
|
"isOnUpdateCurrentTimestamp": false,
|
|
"isAutoInc": false,
|
|
"comment": "数值来源于字典:默认0不来源于字典,1来源于字典",
|
|
"columnFormat": "",
|
|
"storage": "",
|
|
"isVirtual": false,
|
|
"isGeneratedAlways": false,
|
|
"virtualExpr": "",
|
|
"virtualType": "",
|
|
"oldName": "val_is_dict"
|
|
},
|
|
{
|
|
"objectType": "TableField_MYSQL",
|
|
"name": "env_desc",
|
|
"type": "varchar",
|
|
"length": 255,
|
|
"decimals": -2147483648,
|
|
"isUnsigned": false,
|
|
"isZeroFill": false,
|
|
"setEnumValues": "",
|
|
"isBinary": false,
|
|
"charset": "",
|
|
"collation": "",
|
|
"isNullable": true,
|
|
"defaultType": "Others",
|
|
"defaultValue": "",
|
|
"isOnUpdateCurrentTimestamp": false,
|
|
"isAutoInc": false,
|
|
"comment": "变量描述",
|
|
"columnFormat": "",
|
|
"storage": "",
|
|
"isVirtual": false,
|
|
"isGeneratedAlways": false,
|
|
"virtualExpr": "",
|
|
"virtualType": "",
|
|
"oldName": "env_desc"
|
|
},
|
|
{
|
|
"objectType": "TableField_MYSQL",
|
|
"name": "have_children",
|
|
"type": "int",
|
|
"length": -2147483648,
|
|
"decimals": -2147483648,
|
|
"isUnsigned": false,
|
|
"isZeroFill": false,
|
|
"setEnumValues": "",
|
|
"isBinary": false,
|
|
"charset": "",
|
|
"collation": "",
|
|
"isNullable": false,
|
|
"defaultType": "Others",
|
|
"defaultValue": "0",
|
|
"isOnUpdateCurrentTimestamp": false,
|
|
"isAutoInc": false,
|
|
"comment": "含有子节点:默认0不含有,1含有",
|
|
"columnFormat": "",
|
|
"storage": "",
|
|
"isVirtual": false,
|
|
"isGeneratedAlways": false,
|
|
"virtualExpr": "",
|
|
"virtualType": "",
|
|
"oldName": "have_children"
|
|
},
|
|
{
|
|
"objectType": "TableField_MYSQL",
|
|
"name": "own_of_pac",
|
|
"type": "int",
|
|
"length": -2147483648,
|
|
"decimals": -2147483648,
|
|
"isUnsigned": false,
|
|
"isZeroFill": false,
|
|
"setEnumValues": "",
|
|
"isBinary": false,
|
|
"charset": "",
|
|
"collation": "",
|
|
"isNullable": false,
|
|
"defaultType": "Others",
|
|
"defaultValue": "0",
|
|
"isOnUpdateCurrentTimestamp": false,
|
|
"isAutoInc": false,
|
|
"comment": "是否属于pac:默认0属于最高所有权,其他用户不可见",
|
|
"columnFormat": "",
|
|
"storage": "",
|
|
"isVirtual": false,
|
|
"isGeneratedAlways": false,
|
|
"virtualExpr": "",
|
|
"virtualType": "",
|
|
"oldName": "own_of_pac"
|
|
},
|
|
{
|
|
"objectType": "TableField_MYSQL",
|
|
"name": "order_num",
|
|
"type": "int",
|
|
"length": -2147483648,
|
|
"decimals": -2147483648,
|
|
"isUnsigned": false,
|
|
"isZeroFill": false,
|
|
"setEnumValues": "",
|
|
"isBinary": false,
|
|
"charset": "",
|
|
"collation": "",
|
|
"isNullable": false,
|
|
"defaultType": "Others",
|
|
"defaultValue": "0",
|
|
"isOnUpdateCurrentTimestamp": false,
|
|
"isAutoInc": false,
|
|
"comment": "排序:默认0",
|
|
"columnFormat": "",
|
|
"storage": "",
|
|
"isVirtual": false,
|
|
"isGeneratedAlways": false,
|
|
"virtualExpr": "",
|
|
"virtualType": "",
|
|
"oldName": "order_num"
|
|
},
|
|
{
|
|
"objectType": "TableField_MYSQL",
|
|
"name": "status",
|
|
"type": "int",
|
|
"length": -2147483648,
|
|
"decimals": -2147483648,
|
|
"isUnsigned": false,
|
|
"isZeroFill": false,
|
|
"setEnumValues": "",
|
|
"isBinary": false,
|
|
"charset": "",
|
|
"collation": "",
|
|
"isNullable": false,
|
|
"defaultType": "Others",
|
|
"defaultValue": "0",
|
|
"isOnUpdateCurrentTimestamp": false,
|
|
"isAutoInc": false,
|
|
"comment": "变量状态:0正常、1不可用",
|
|
"columnFormat": "",
|
|
"storage": "",
|
|
"isVirtual": false,
|
|
"isGeneratedAlways": false,
|
|
"virtualExpr": "",
|
|
"virtualType": "",
|
|
"oldName": "status"
|
|
},
|
|
{
|
|
"objectType": "TableField_MYSQL",
|
|
"name": "service_of",
|
|
"type": "varchar",
|
|
"length": 255,
|
|
"decimals": -2147483648,
|
|
"isUnsigned": false,
|
|
"isZeroFill": false,
|
|
"setEnumValues": "",
|
|
"isBinary": false,
|
|
"charset": "",
|
|
"collation": "",
|
|
"isNullable": false,
|
|
"defaultType": "Others",
|
|
"defaultValue": "0",
|
|
"isOnUpdateCurrentTimestamp": false,
|
|
"isAutoInc": false,
|
|
"comment": "所属服务:0归属于当前服务:pacAuth",
|
|
"columnFormat": "",
|
|
"storage": "",
|
|
"isVirtual": false,
|
|
"isGeneratedAlways": false,
|
|
"virtualExpr": "",
|
|
"virtualType": "",
|
|
"oldName": "service_of"
|
|
},
|
|
{
|
|
"objectType": "TableField_MYSQL",
|
|
"name": "createby",
|
|
"type": "bigint",
|
|
"length": 0,
|
|
"decimals": 0,
|
|
"isUnsigned": false,
|
|
"isZeroFill": false,
|
|
"setEnumValues": "",
|
|
"isBinary": false,
|
|
"charset": "",
|
|
"collation": "",
|
|
"isNullable": false,
|
|
"defaultType": "Others",
|
|
"defaultValue": "",
|
|
"isOnUpdateCurrentTimestamp": false,
|
|
"isAutoInc": false,
|
|
"comment": "创建人",
|
|
"columnFormat": "",
|
|
"storage": "",
|
|
"isVirtual": false,
|
|
"isGeneratedAlways": false,
|
|
"virtualExpr": "",
|
|
"virtualType": "",
|
|
"oldName": "createby"
|
|
},
|
|
{
|
|
"objectType": "TableField_MYSQL",
|
|
"name": "createtime",
|
|
"type": "datetime",
|
|
"length": 0,
|
|
"decimals": 0,
|
|
"isUnsigned": false,
|
|
"isZeroFill": false,
|
|
"setEnumValues": "",
|
|
"isBinary": false,
|
|
"charset": "",
|
|
"collation": "",
|
|
"isNullable": false,
|
|
"defaultType": "Others",
|
|
"defaultValue": "",
|
|
"isOnUpdateCurrentTimestamp": false,
|
|
"isAutoInc": false,
|
|
"comment": "创建时间",
|
|
"columnFormat": "",
|
|
"storage": "",
|
|
"isVirtual": false,
|
|
"isGeneratedAlways": false,
|
|
"virtualExpr": "",
|
|
"virtualType": "",
|
|
"oldName": "createtime"
|
|
},
|
|
{
|
|
"objectType": "TableField_MYSQL",
|
|
"name": "updateby",
|
|
"type": "bigint",
|
|
"length": 0,
|
|
"decimals": 0,
|
|
"isUnsigned": false,
|
|
"isZeroFill": false,
|
|
"setEnumValues": "",
|
|
"isBinary": false,
|
|
"charset": "",
|
|
"collation": "",
|
|
"isNullable": true,
|
|
"defaultType": "Null",
|
|
"defaultValue": "NULL",
|
|
"isOnUpdateCurrentTimestamp": false,
|
|
"isAutoInc": false,
|
|
"comment": "更新人",
|
|
"columnFormat": "",
|
|
"storage": "",
|
|
"isVirtual": false,
|
|
"isGeneratedAlways": false,
|
|
"virtualExpr": "",
|
|
"virtualType": "",
|
|
"oldName": "updateby"
|
|
},
|
|
{
|
|
"objectType": "TableField_MYSQL",
|
|
"name": "updatetime",
|
|
"type": "datetime",
|
|
"length": 0,
|
|
"decimals": 0,
|
|
"isUnsigned": false,
|
|
"isZeroFill": false,
|
|
"setEnumValues": "",
|
|
"isBinary": false,
|
|
"charset": "",
|
|
"collation": "",
|
|
"isNullable": true,
|
|
"defaultType": "Null",
|
|
"defaultValue": "NULL",
|
|
"isOnUpdateCurrentTimestamp": false,
|
|
"isAutoInc": false,
|
|
"comment": "更新时间",
|
|
"columnFormat": "",
|
|
"storage": "",
|
|
"isVirtual": false,
|
|
"isGeneratedAlways": false,
|
|
"virtualExpr": "",
|
|
"virtualType": "",
|
|
"oldName": "updatetime"
|
|
},
|
|
{
|
|
"objectType": "TableField_MYSQL",
|
|
"name": "deleteby",
|
|
"type": "bigint",
|
|
"length": 0,
|
|
"decimals": 0,
|
|
"isUnsigned": false,
|
|
"isZeroFill": false,
|
|
"setEnumValues": "",
|
|
"isBinary": false,
|
|
"charset": "",
|
|
"collation": "",
|
|
"isNullable": true,
|
|
"defaultType": "Null",
|
|
"defaultValue": "NULL",
|
|
"isOnUpdateCurrentTimestamp": false,
|
|
"isAutoInc": false,
|
|
"comment": "删除人",
|
|
"columnFormat": "",
|
|
"storage": "",
|
|
"isVirtual": false,
|
|
"isGeneratedAlways": false,
|
|
"virtualExpr": "",
|
|
"virtualType": "",
|
|
"oldName": "deleteby"
|
|
},
|
|
{
|
|
"objectType": "TableField_MYSQL",
|
|
"name": "deletetime",
|
|
"type": "datetime",
|
|
"length": 0,
|
|
"decimals": 0,
|
|
"isUnsigned": false,
|
|
"isZeroFill": false,
|
|
"setEnumValues": "",
|
|
"isBinary": false,
|
|
"charset": "",
|
|
"collation": "",
|
|
"isNullable": true,
|
|
"defaultType": "Null",
|
|
"defaultValue": "NULL",
|
|
"isOnUpdateCurrentTimestamp": false,
|
|
"isAutoInc": false,
|
|
"comment": "删除时间",
|
|
"columnFormat": "",
|
|
"storage": "",
|
|
"isVirtual": false,
|
|
"isGeneratedAlways": false,
|
|
"virtualExpr": "",
|
|
"virtualType": "",
|
|
"oldName": "deletetime"
|
|
}
|
|
],
|
|
"indexes": [
|
|
{
|
|
"objectType": "Index_MYSQL",
|
|
"name": "pac_index",
|
|
"type": "UNIQUE",
|
|
"method": "",
|
|
"comment": "",
|
|
"oldName": "",
|
|
"online": false,
|
|
"keyBlockSize": 0,
|
|
"parser": "",
|
|
"algorithm": "",
|
|
"lock": "",
|
|
"collation": "",
|
|
"cardinality": "",
|
|
"packed": "",
|
|
"IsVisibleIndex": true,
|
|
"fields": [
|
|
{
|
|
"objectType": "IndexField_MYSQL",
|
|
"name": "index",
|
|
"keyLength": 0,
|
|
"order": "",
|
|
"oldName": ""
|
|
}
|
|
]
|
|
}
|
|
],
|
|
"primaryKey": {
|
|
"objectType": "PrimaryKey_MYSQL",
|
|
"name": "",
|
|
"fields": [
|
|
{
|
|
"objectType": "IndexField_MYSQL",
|
|
"name": "env_id",
|
|
"keyLength": -2147483648,
|
|
"order": "",
|
|
"oldName": ""
|
|
}
|
|
],
|
|
"oldName": "",
|
|
"indexMethod": "",
|
|
"comment": ""
|
|
},
|
|
"foreignKeys": [],
|
|
"checks": [],
|
|
"triggers": [],
|
|
"tablePartitions": []
|
|
},
|
|
{
|
|
"objectType": "Table_MYSQL",
|
|
"name": "pac_core_dict",
|
|
"comment": "核心字典",
|
|
"engine": "",
|
|
"characterSet": "",
|
|
"collation": "",
|
|
"autoIncrement": 0,
|
|
"tablespace": "",
|
|
"storage": "",
|
|
"insertMethod": "",
|
|
"connection": "",
|
|
"checksum": false,
|
|
"rowFormat": "",
|
|
"avgRowLength": 0,
|
|
"maxRows": 0,
|
|
"minRows": 0,
|
|
"keyBlockSize": 0,
|
|
"packKeys": "",
|
|
"delayKeyWrite": false,
|
|
"dataDirectory": "",
|
|
"indexDirectory": "",
|
|
"statsAutoRecalc": "",
|
|
"statsPersistent": "",
|
|
"statsSamplePages": 0,
|
|
"union": "",
|
|
"pageCheckSum": false,
|
|
"transactional": false,
|
|
"compression": "",
|
|
"oldName": "",
|
|
"encryption": false,
|
|
"createOptions": "",
|
|
"createTime": "",
|
|
"checkTime": "",
|
|
"dataFree": 0,
|
|
"dataLength": 0,
|
|
"indexLength": 0,
|
|
"maxDataLength": 0,
|
|
"rows": 0,
|
|
"updateTime": "",
|
|
"DDL": "",
|
|
"partitionBy": "",
|
|
"partitionByExpr": "",
|
|
"partitions": 0,
|
|
"partitionKeyAlgorithm": "",
|
|
"subPartitionBy": "",
|
|
"subPartitionByExpr": "",
|
|
"subPartitions": 0,
|
|
"subPartitionKeyAlgorithm": "",
|
|
"fields": [
|
|
{
|
|
"objectType": "TableField_MYSQL",
|
|
"name": "index",
|
|
"type": "int",
|
|
"length": -2147483648,
|
|
"decimals": -2147483648,
|
|
"isUnsigned": false,
|
|
"isZeroFill": false,
|
|
"setEnumValues": "",
|
|
"isBinary": false,
|
|
"charset": "",
|
|
"collation": "",
|
|
"isNullable": false,
|
|
"defaultType": "Others",
|
|
"defaultValue": "",
|
|
"isOnUpdateCurrentTimestamp": false,
|
|
"isAutoInc": true,
|
|
"comment": "数据完整性确认",
|
|
"columnFormat": "",
|
|
"storage": "",
|
|
"isVirtual": false,
|
|
"isGeneratedAlways": false,
|
|
"virtualExpr": "",
|
|
"virtualType": "",
|
|
"oldName": "index"
|
|
},
|
|
{
|
|
"objectType": "TableField_MYSQL",
|
|
"name": "dict_id",
|
|
"type": "bigint",
|
|
"length": -2147483648,
|
|
"decimals": -2147483648,
|
|
"isUnsigned": false,
|
|
"isZeroFill": false,
|
|
"setEnumValues": "",
|
|
"isBinary": false,
|
|
"charset": "",
|
|
"collation": "",
|
|
"isNullable": false,
|
|
"defaultType": "Others",
|
|
"defaultValue": "",
|
|
"isOnUpdateCurrentTimestamp": false,
|
|
"isAutoInc": false,
|
|
"comment": "字典项id,",
|
|
"columnFormat": "",
|
|
"storage": "",
|
|
"isVirtual": false,
|
|
"isGeneratedAlways": false,
|
|
"virtualExpr": "",
|
|
"virtualType": "",
|
|
"oldName": "dict_id"
|
|
},
|
|
{
|
|
"objectType": "TableField_MYSQL",
|
|
"name": "pid",
|
|
"type": "bigint",
|
|
"length": -2147483648,
|
|
"decimals": -2147483648,
|
|
"isUnsigned": true,
|
|
"isZeroFill": false,
|
|
"setEnumValues": "",
|
|
"isBinary": false,
|
|
"charset": "",
|
|
"collation": "",
|
|
"isNullable": true,
|
|
"defaultType": "Others",
|
|
"defaultValue": "",
|
|
"isOnUpdateCurrentTimestamp": false,
|
|
"isAutoInc": false,
|
|
"comment": "字典项的父id",
|
|
"columnFormat": "",
|
|
"storage": "",
|
|
"isVirtual": false,
|
|
"isGeneratedAlways": false,
|
|
"virtualExpr": "",
|
|
"virtualType": "",
|
|
"oldName": "pid"
|
|
},
|
|
{
|
|
"objectType": "TableField_MYSQL",
|
|
"name": "dict_key",
|
|
"type": "varchar",
|
|
"length": 255,
|
|
"decimals": -2147483648,
|
|
"isUnsigned": false,
|
|
"isZeroFill": false,
|
|
"setEnumValues": "",
|
|
"isBinary": false,
|
|
"charset": "",
|
|
"collation": "",
|
|
"isNullable": false,
|
|
"defaultType": "Others",
|
|
"defaultValue": "",
|
|
"isOnUpdateCurrentTimestamp": false,
|
|
"isAutoInc": false,
|
|
"comment": "字典项的唯一标识,id的显式表达",
|
|
"columnFormat": "",
|
|
"storage": "",
|
|
"isVirtual": false,
|
|
"isGeneratedAlways": false,
|
|
"virtualExpr": "",
|
|
"virtualType": "",
|
|
"oldName": "dict_key"
|
|
},
|
|
{
|
|
"objectType": "TableField_MYSQL",
|
|
"name": "dict_desc",
|
|
"type": "varchar",
|
|
"length": 255,
|
|
"decimals": -2147483648,
|
|
"isUnsigned": false,
|
|
"isZeroFill": false,
|
|
"setEnumValues": "",
|
|
"isBinary": false,
|
|
"charset": "",
|
|
"collation": "",
|
|
"isNullable": true,
|
|
"defaultType": "Others",
|
|
"defaultValue": "",
|
|
"isOnUpdateCurrentTimestamp": false,
|
|
"isAutoInc": false,
|
|
"comment": "字典项描述",
|
|
"columnFormat": "",
|
|
"storage": "",
|
|
"isVirtual": false,
|
|
"isGeneratedAlways": false,
|
|
"virtualExpr": "",
|
|
"virtualType": "",
|
|
"oldName": "dict_desc"
|
|
},
|
|
{
|
|
"objectType": "TableField_MYSQL",
|
|
"name": "dict_name",
|
|
"type": "varchar",
|
|
"length": 255,
|
|
"decimals": -2147483648,
|
|
"isUnsigned": false,
|
|
"isZeroFill": false,
|
|
"setEnumValues": "",
|
|
"isBinary": false,
|
|
"charset": "",
|
|
"collation": "",
|
|
"isNullable": false,
|
|
"defaultType": "Others",
|
|
"defaultValue": "",
|
|
"isOnUpdateCurrentTimestamp": false,
|
|
"isAutoInc": false,
|
|
"comment": "字典项名称",
|
|
"columnFormat": "",
|
|
"storage": "",
|
|
"isVirtual": false,
|
|
"isGeneratedAlways": false,
|
|
"virtualExpr": "",
|
|
"virtualType": "",
|
|
"oldName": "dict_name"
|
|
},
|
|
{
|
|
"objectType": "TableField_MYSQL",
|
|
"name": "dict_icon",
|
|
"type": "varchar",
|
|
"length": 255,
|
|
"decimals": -2147483648,
|
|
"isUnsigned": false,
|
|
"isZeroFill": false,
|
|
"setEnumValues": "",
|
|
"isBinary": false,
|
|
"charset": "",
|
|
"collation": "",
|
|
"isNullable": false,
|
|
"defaultType": "Empty",
|
|
"defaultValue": "Empty String",
|
|
"isOnUpdateCurrentTimestamp": false,
|
|
"isAutoInc": false,
|
|
"comment": "字典项的图标",
|
|
"columnFormat": "",
|
|
"storage": "",
|
|
"isVirtual": false,
|
|
"isGeneratedAlways": false,
|
|
"virtualExpr": "",
|
|
"virtualType": "",
|
|
"oldName": "dict_icon"
|
|
},
|
|
{
|
|
"objectType": "TableField_MYSQL",
|
|
"name": "dict_type",
|
|
"type": "int",
|
|
"length": -2147483648,
|
|
"decimals": -2147483648,
|
|
"isUnsigned": true,
|
|
"isZeroFill": false,
|
|
"setEnumValues": "",
|
|
"isBinary": false,
|
|
"charset": "",
|
|
"collation": "",
|
|
"isNullable": false,
|
|
"defaultType": "Others",
|
|
"defaultValue": "0",
|
|
"isOnUpdateCurrentTimestamp": false,
|
|
"isAutoInc": false,
|
|
"comment": "字典类型:0字符串、1图片、2图标,后面可拓展",
|
|
"columnFormat": "",
|
|
"storage": "",
|
|
"isVirtual": false,
|
|
"isGeneratedAlways": false,
|
|
"virtualExpr": "",
|
|
"virtualType": "",
|
|
"oldName": "dict_type"
|
|
},
|
|
{
|
|
"objectType": "TableField_MYSQL",
|
|
"name": "own_of_pac",
|
|
"type": "int",
|
|
"length": -2147483648,
|
|
"decimals": -2147483648,
|
|
"isUnsigned": true,
|
|
"isZeroFill": false,
|
|
"setEnumValues": "",
|
|
"isBinary": false,
|
|
"charset": "",
|
|
"collation": "",
|
|
"isNullable": false,
|
|
"defaultType": "Others",
|
|
"defaultValue": "0",
|
|
"isOnUpdateCurrentTimestamp": false,
|
|
"isAutoInc": false,
|
|
"comment": "是否属于pac:默认0属于最高所有权,其他用户不可见",
|
|
"columnFormat": "",
|
|
"storage": "",
|
|
"isVirtual": false,
|
|
"isGeneratedAlways": false,
|
|
"virtualExpr": "",
|
|
"virtualType": "",
|
|
"oldName": "own_of_pac"
|
|
},
|
|
{
|
|
"objectType": "TableField_MYSQL",
|
|
"name": "order_num",
|
|
"type": "int",
|
|
"length": -2147483648,
|
|
"decimals": -2147483648,
|
|
"isUnsigned": true,
|
|
"isZeroFill": false,
|
|
"setEnumValues": "",
|
|
"isBinary": false,
|
|
"charset": "",
|
|
"collation": "",
|
|
"isNullable": false,
|
|
"defaultType": "Others",
|
|
"defaultValue": "0",
|
|
"isOnUpdateCurrentTimestamp": false,
|
|
"isAutoInc": false,
|
|
"comment": "排序,默认0",
|
|
"columnFormat": "",
|
|
"storage": "",
|
|
"isVirtual": false,
|
|
"isGeneratedAlways": false,
|
|
"virtualExpr": "",
|
|
"virtualType": "",
|
|
"oldName": "order_num"
|
|
},
|
|
{
|
|
"objectType": "TableField_MYSQL",
|
|
"name": "status",
|
|
"type": "int",
|
|
"length": -2147483648,
|
|
"decimals": -2147483648,
|
|
"isUnsigned": true,
|
|
"isZeroFill": false,
|
|
"setEnumValues": "",
|
|
"isBinary": false,
|
|
"charset": "",
|
|
"collation": "",
|
|
"isNullable": false,
|
|
"defaultType": "Others",
|
|
"defaultValue": "0",
|
|
"isOnUpdateCurrentTimestamp": false,
|
|
"isAutoInc": false,
|
|
"comment": "字典状态:0正常、1禁用可读",
|
|
"columnFormat": "",
|
|
"storage": "",
|
|
"isVirtual": false,
|
|
"isGeneratedAlways": false,
|
|
"virtualExpr": "",
|
|
"virtualType": "",
|
|
"oldName": "status"
|
|
},
|
|
{
|
|
"objectType": "TableField_MYSQL",
|
|
"name": "service_of",
|
|
"type": "varchar",
|
|
"length": 255,
|
|
"decimals": -2147483648,
|
|
"isUnsigned": false,
|
|
"isZeroFill": false,
|
|
"setEnumValues": "",
|
|
"isBinary": false,
|
|
"charset": "",
|
|
"collation": "",
|
|
"isNullable": false,
|
|
"defaultType": "Empty",
|
|
"defaultValue": "Empty String",
|
|
"isOnUpdateCurrentTimestamp": false,
|
|
"isAutoInc": false,
|
|
"comment": "所属服务:0归属于当前服务:pacAuth",
|
|
"columnFormat": "",
|
|
"storage": "",
|
|
"isVirtual": false,
|
|
"isGeneratedAlways": false,
|
|
"virtualExpr": "",
|
|
"virtualType": "",
|
|
"oldName": "service_of"
|
|
},
|
|
{
|
|
"objectType": "TableField_MYSQL",
|
|
"name": "have_children",
|
|
"type": "int",
|
|
"length": -2147483648,
|
|
"decimals": -2147483648,
|
|
"isUnsigned": false,
|
|
"isZeroFill": false,
|
|
"setEnumValues": "",
|
|
"isBinary": false,
|
|
"charset": "",
|
|
"collation": "",
|
|
"isNullable": false,
|
|
"defaultType": "Others",
|
|
"defaultValue": "0",
|
|
"isOnUpdateCurrentTimestamp": false,
|
|
"isAutoInc": false,
|
|
"comment": "是否含有子节点:默认0不含有,1含有",
|
|
"columnFormat": "",
|
|
"storage": "",
|
|
"isVirtual": false,
|
|
"isGeneratedAlways": false,
|
|
"virtualExpr": "",
|
|
"virtualType": "",
|
|
"oldName": "have_children"
|
|
},
|
|
{
|
|
"objectType": "TableField_MYSQL",
|
|
"name": "createby",
|
|
"type": "bigint",
|
|
"length": 0,
|
|
"decimals": 0,
|
|
"isUnsigned": false,
|
|
"isZeroFill": false,
|
|
"setEnumValues": "",
|
|
"isBinary": false,
|
|
"charset": "",
|
|
"collation": "",
|
|
"isNullable": false,
|
|
"defaultType": "Others",
|
|
"defaultValue": "",
|
|
"isOnUpdateCurrentTimestamp": false,
|
|
"isAutoInc": false,
|
|
"comment": "创建人",
|
|
"columnFormat": "",
|
|
"storage": "",
|
|
"isVirtual": false,
|
|
"isGeneratedAlways": false,
|
|
"virtualExpr": "",
|
|
"virtualType": "",
|
|
"oldName": "createby"
|
|
},
|
|
{
|
|
"objectType": "TableField_MYSQL",
|
|
"name": "createtime",
|
|
"type": "datetime",
|
|
"length": 0,
|
|
"decimals": 0,
|
|
"isUnsigned": false,
|
|
"isZeroFill": false,
|
|
"setEnumValues": "",
|
|
"isBinary": false,
|
|
"charset": "",
|
|
"collation": "",
|
|
"isNullable": false,
|
|
"defaultType": "Others",
|
|
"defaultValue": "",
|
|
"isOnUpdateCurrentTimestamp": false,
|
|
"isAutoInc": false,
|
|
"comment": "创建时间",
|
|
"columnFormat": "",
|
|
"storage": "",
|
|
"isVirtual": false,
|
|
"isGeneratedAlways": false,
|
|
"virtualExpr": "",
|
|
"virtualType": "",
|
|
"oldName": "createtime"
|
|
},
|
|
{
|
|
"objectType": "TableField_MYSQL",
|
|
"name": "updateby",
|
|
"type": "bigint",
|
|
"length": 0,
|
|
"decimals": 0,
|
|
"isUnsigned": false,
|
|
"isZeroFill": false,
|
|
"setEnumValues": "",
|
|
"isBinary": false,
|
|
"charset": "",
|
|
"collation": "",
|
|
"isNullable": true,
|
|
"defaultType": "Null",
|
|
"defaultValue": "NULL",
|
|
"isOnUpdateCurrentTimestamp": false,
|
|
"isAutoInc": false,
|
|
"comment": "更新人",
|
|
"columnFormat": "",
|
|
"storage": "",
|
|
"isVirtual": false,
|
|
"isGeneratedAlways": false,
|
|
"virtualExpr": "",
|
|
"virtualType": "",
|
|
"oldName": "updateby"
|
|
},
|
|
{
|
|
"objectType": "TableField_MYSQL",
|
|
"name": "updatetime",
|
|
"type": "datetime",
|
|
"length": 0,
|
|
"decimals": 0,
|
|
"isUnsigned": false,
|
|
"isZeroFill": false,
|
|
"setEnumValues": "",
|
|
"isBinary": false,
|
|
"charset": "",
|
|
"collation": "",
|
|
"isNullable": true,
|
|
"defaultType": "Null",
|
|
"defaultValue": "NULL",
|
|
"isOnUpdateCurrentTimestamp": false,
|
|
"isAutoInc": false,
|
|
"comment": "更新时间",
|
|
"columnFormat": "",
|
|
"storage": "",
|
|
"isVirtual": false,
|
|
"isGeneratedAlways": false,
|
|
"virtualExpr": "",
|
|
"virtualType": "",
|
|
"oldName": "updatetime"
|
|
},
|
|
{
|
|
"objectType": "TableField_MYSQL",
|
|
"name": "deleteby",
|
|
"type": "bigint",
|
|
"length": 0,
|
|
"decimals": 0,
|
|
"isUnsigned": false,
|
|
"isZeroFill": false,
|
|
"setEnumValues": "",
|
|
"isBinary": false,
|
|
"charset": "",
|
|
"collation": "",
|
|
"isNullable": true,
|
|
"defaultType": "Null",
|
|
"defaultValue": "NULL",
|
|
"isOnUpdateCurrentTimestamp": false,
|
|
"isAutoInc": false,
|
|
"comment": "删除人",
|
|
"columnFormat": "",
|
|
"storage": "",
|
|
"isVirtual": false,
|
|
"isGeneratedAlways": false,
|
|
"virtualExpr": "",
|
|
"virtualType": "",
|
|
"oldName": "deleteby"
|
|
},
|
|
{
|
|
"objectType": "TableField_MYSQL",
|
|
"name": "deletetime",
|
|
"type": "datetime",
|
|
"length": 0,
|
|
"decimals": 0,
|
|
"isUnsigned": false,
|
|
"isZeroFill": false,
|
|
"setEnumValues": "",
|
|
"isBinary": false,
|
|
"charset": "",
|
|
"collation": "",
|
|
"isNullable": true,
|
|
"defaultType": "Null",
|
|
"defaultValue": "NULL",
|
|
"isOnUpdateCurrentTimestamp": false,
|
|
"isAutoInc": false,
|
|
"comment": "删除时间",
|
|
"columnFormat": "",
|
|
"storage": "",
|
|
"isVirtual": false,
|
|
"isGeneratedAlways": false,
|
|
"virtualExpr": "",
|
|
"virtualType": "",
|
|
"oldName": "deletetime"
|
|
}
|
|
],
|
|
"indexes": [
|
|
{
|
|
"objectType": "Index_MYSQL",
|
|
"name": "pac_index",
|
|
"type": "UNIQUE",
|
|
"method": "",
|
|
"comment": "",
|
|
"oldName": "",
|
|
"online": false,
|
|
"keyBlockSize": 0,
|
|
"parser": "",
|
|
"algorithm": "",
|
|
"lock": "",
|
|
"collation": "",
|
|
"cardinality": "",
|
|
"packed": "",
|
|
"IsVisibleIndex": true,
|
|
"fields": [
|
|
{
|
|
"objectType": "IndexField_MYSQL",
|
|
"name": "index",
|
|
"keyLength": 0,
|
|
"order": "",
|
|
"oldName": ""
|
|
}
|
|
]
|
|
}
|
|
],
|
|
"primaryKey": {
|
|
"objectType": "PrimaryKey_MYSQL",
|
|
"name": "",
|
|
"fields": [
|
|
{
|
|
"objectType": "IndexField_MYSQL",
|
|
"name": "dict_id",
|
|
"keyLength": -2147483648,
|
|
"order": "",
|
|
"oldName": ""
|
|
}
|
|
],
|
|
"oldName": "",
|
|
"indexMethod": "",
|
|
"comment": ""
|
|
},
|
|
"foreignKeys": [],
|
|
"checks": [],
|
|
"triggers": [],
|
|
"tablePartitions": []
|
|
},
|
|
{
|
|
"objectType": "Table_MYSQL",
|
|
"name": "pac_core_menu",
|
|
"comment": "系统菜单",
|
|
"engine": "",
|
|
"characterSet": "",
|
|
"collation": "",
|
|
"autoIncrement": 0,
|
|
"tablespace": "",
|
|
"storage": "",
|
|
"insertMethod": "",
|
|
"connection": "",
|
|
"checksum": false,
|
|
"rowFormat": "",
|
|
"avgRowLength": 0,
|
|
"maxRows": 0,
|
|
"minRows": 0,
|
|
"keyBlockSize": 0,
|
|
"packKeys": "",
|
|
"delayKeyWrite": false,
|
|
"dataDirectory": "",
|
|
"indexDirectory": "",
|
|
"statsAutoRecalc": "",
|
|
"statsPersistent": "",
|
|
"statsSamplePages": 0,
|
|
"union": "",
|
|
"pageCheckSum": false,
|
|
"transactional": false,
|
|
"compression": "",
|
|
"oldName": "",
|
|
"encryption": false,
|
|
"createOptions": "",
|
|
"createTime": "",
|
|
"checkTime": "",
|
|
"dataFree": 0,
|
|
"dataLength": 0,
|
|
"indexLength": 0,
|
|
"maxDataLength": 0,
|
|
"rows": 0,
|
|
"updateTime": "",
|
|
"DDL": "",
|
|
"partitionBy": "",
|
|
"partitionByExpr": "",
|
|
"partitions": 0,
|
|
"partitionKeyAlgorithm": "",
|
|
"subPartitionBy": "",
|
|
"subPartitionByExpr": "",
|
|
"subPartitions": 0,
|
|
"subPartitionKeyAlgorithm": "",
|
|
"fields": [
|
|
{
|
|
"objectType": "TableField_MYSQL",
|
|
"name": "index",
|
|
"type": "int",
|
|
"length": -2147483648,
|
|
"decimals": -2147483648,
|
|
"isUnsigned": false,
|
|
"isZeroFill": false,
|
|
"setEnumValues": "",
|
|
"isBinary": false,
|
|
"charset": "",
|
|
"collation": "",
|
|
"isNullable": false,
|
|
"defaultType": "Others",
|
|
"defaultValue": "",
|
|
"isOnUpdateCurrentTimestamp": false,
|
|
"isAutoInc": true,
|
|
"comment": "数据完整性确认",
|
|
"columnFormat": "",
|
|
"storage": "",
|
|
"isVirtual": false,
|
|
"isGeneratedAlways": false,
|
|
"virtualExpr": "",
|
|
"virtualType": "",
|
|
"oldName": "index"
|
|
},
|
|
{
|
|
"objectType": "TableField_MYSQL",
|
|
"name": "menu_id",
|
|
"type": "bigint",
|
|
"length": -2147483648,
|
|
"decimals": -2147483648,
|
|
"isUnsigned": false,
|
|
"isZeroFill": false,
|
|
"setEnumValues": "",
|
|
"isBinary": false,
|
|
"charset": "",
|
|
"collation": "",
|
|
"isNullable": false,
|
|
"defaultType": "Others",
|
|
"defaultValue": "",
|
|
"isOnUpdateCurrentTimestamp": false,
|
|
"isAutoInc": false,
|
|
"comment": "菜单ID",
|
|
"columnFormat": "",
|
|
"storage": "",
|
|
"isVirtual": false,
|
|
"isGeneratedAlways": false,
|
|
"virtualExpr": "",
|
|
"virtualType": "",
|
|
"oldName": "menu_id"
|
|
},
|
|
{
|
|
"objectType": "TableField_MYSQL",
|
|
"name": "pid",
|
|
"type": "bigint",
|
|
"length": -2147483648,
|
|
"decimals": -2147483648,
|
|
"isUnsigned": false,
|
|
"isZeroFill": false,
|
|
"setEnumValues": "",
|
|
"isBinary": false,
|
|
"charset": "",
|
|
"collation": "",
|
|
"isNullable": false,
|
|
"defaultType": "Others",
|
|
"defaultValue": "0",
|
|
"isOnUpdateCurrentTimestamp": false,
|
|
"isAutoInc": false,
|
|
"comment": "父ID",
|
|
"columnFormat": "",
|
|
"storage": "",
|
|
"isVirtual": false,
|
|
"isGeneratedAlways": false,
|
|
"virtualExpr": "",
|
|
"virtualType": "",
|
|
"oldName": "pid"
|
|
},
|
|
{
|
|
"objectType": "TableField_MYSQL",
|
|
"name": "have_children",
|
|
"type": "int",
|
|
"length": -2147483648,
|
|
"decimals": -2147483648,
|
|
"isUnsigned": false,
|
|
"isZeroFill": false,
|
|
"setEnumValues": "",
|
|
"isBinary": false,
|
|
"charset": "",
|
|
"collation": "",
|
|
"isNullable": false,
|
|
"defaultType": "Others",
|
|
"defaultValue": "0",
|
|
"isOnUpdateCurrentTimestamp": false,
|
|
"isAutoInc": false,
|
|
"comment": "是否含有子节点:默认0不含有",
|
|
"columnFormat": "",
|
|
"storage": "",
|
|
"isVirtual": false,
|
|
"isGeneratedAlways": false,
|
|
"virtualExpr": "",
|
|
"virtualType": "",
|
|
"oldName": "have_children"
|
|
},
|
|
{
|
|
"objectType": "TableField_MYSQL",
|
|
"name": "api_path",
|
|
"type": "varchar",
|
|
"length": 255,
|
|
"decimals": -2147483648,
|
|
"isUnsigned": false,
|
|
"isZeroFill": false,
|
|
"setEnumValues": "",
|
|
"isBinary": false,
|
|
"charset": "",
|
|
"collation": "",
|
|
"isNullable": true,
|
|
"defaultType": "Null",
|
|
"defaultValue": "NULL",
|
|
"isOnUpdateCurrentTimestamp": false,
|
|
"isAutoInc": false,
|
|
"comment": "后端权限地址",
|
|
"columnFormat": "",
|
|
"storage": "",
|
|
"isVirtual": false,
|
|
"isGeneratedAlways": false,
|
|
"virtualExpr": "",
|
|
"virtualType": "",
|
|
"oldName": "api_path"
|
|
},
|
|
{
|
|
"objectType": "TableField_MYSQL",
|
|
"name": "web_path",
|
|
"type": "varchar",
|
|
"length": 255,
|
|
"decimals": -2147483648,
|
|
"isUnsigned": false,
|
|
"isZeroFill": false,
|
|
"setEnumValues": "",
|
|
"isBinary": false,
|
|
"charset": "",
|
|
"collation": "",
|
|
"isNullable": true,
|
|
"defaultType": "Null",
|
|
"defaultValue": "NULL",
|
|
"isOnUpdateCurrentTimestamp": false,
|
|
"isAutoInc": false,
|
|
"comment": "前端路由地址",
|
|
"columnFormat": "",
|
|
"storage": "",
|
|
"isVirtual": false,
|
|
"isGeneratedAlways": false,
|
|
"virtualExpr": "",
|
|
"virtualType": "",
|
|
"oldName": "web_path"
|
|
},
|
|
{
|
|
"objectType": "TableField_MYSQL",
|
|
"name": "web_component_path",
|
|
"type": "varchar",
|
|
"length": 255,
|
|
"decimals": -2147483648,
|
|
"isUnsigned": false,
|
|
"isZeroFill": false,
|
|
"setEnumValues": "",
|
|
"isBinary": false,
|
|
"charset": "",
|
|
"collation": "",
|
|
"isNullable": true,
|
|
"defaultType": "Null",
|
|
"defaultValue": "NULL",
|
|
"isOnUpdateCurrentTimestamp": false,
|
|
"isAutoInc": false,
|
|
"comment": "",
|
|
"columnFormat": "",
|
|
"storage": "",
|
|
"isVirtual": false,
|
|
"isGeneratedAlways": false,
|
|
"virtualExpr": "",
|
|
"virtualType": "",
|
|
"oldName": "web_component_path"
|
|
},
|
|
{
|
|
"objectType": "TableField_MYSQL",
|
|
"name": "menu_name",
|
|
"type": "varchar",
|
|
"length": 255,
|
|
"decimals": -2147483648,
|
|
"isUnsigned": false,
|
|
"isZeroFill": false,
|
|
"setEnumValues": "",
|
|
"isBinary": false,
|
|
"charset": "",
|
|
"collation": "",
|
|
"isNullable": false,
|
|
"defaultType": "Others",
|
|
"defaultValue": "",
|
|
"isOnUpdateCurrentTimestamp": false,
|
|
"isAutoInc": false,
|
|
"comment": "菜单名称",
|
|
"columnFormat": "",
|
|
"storage": "",
|
|
"isVirtual": false,
|
|
"isGeneratedAlways": false,
|
|
"virtualExpr": "",
|
|
"virtualType": "",
|
|
"oldName": "menu_name"
|
|
},
|
|
{
|
|
"objectType": "TableField_MYSQL",
|
|
"name": "menu_desc",
|
|
"type": "varchar",
|
|
"length": 255,
|
|
"decimals": -2147483648,
|
|
"isUnsigned": false,
|
|
"isZeroFill": false,
|
|
"setEnumValues": "",
|
|
"isBinary": false,
|
|
"charset": "",
|
|
"collation": "",
|
|
"isNullable": true,
|
|
"defaultType": "Others",
|
|
"defaultValue": "",
|
|
"isOnUpdateCurrentTimestamp": false,
|
|
"isAutoInc": false,
|
|
"comment": "菜单描述",
|
|
"columnFormat": "",
|
|
"storage": "",
|
|
"isVirtual": false,
|
|
"isGeneratedAlways": false,
|
|
"virtualExpr": "",
|
|
"virtualType": "",
|
|
"oldName": "menu_desc"
|
|
},
|
|
{
|
|
"objectType": "TableField_MYSQL",
|
|
"name": "menu_type",
|
|
"type": "bigint",
|
|
"length": -2147483648,
|
|
"decimals": -2147483648,
|
|
"isUnsigned": false,
|
|
"isZeroFill": false,
|
|
"setEnumValues": "",
|
|
"isBinary": false,
|
|
"charset": "",
|
|
"collation": "",
|
|
"isNullable": false,
|
|
"defaultType": "Others",
|
|
"defaultValue": "0",
|
|
"isOnUpdateCurrentTimestamp": false,
|
|
"isAutoInc": false,
|
|
"comment": "菜单类型:来源于字典,默认0为默认类型",
|
|
"columnFormat": "",
|
|
"storage": "",
|
|
"isVirtual": false,
|
|
"isGeneratedAlways": false,
|
|
"virtualExpr": "",
|
|
"virtualType": "",
|
|
"oldName": "menu_type"
|
|
},
|
|
{
|
|
"objectType": "TableField_MYSQL",
|
|
"name": "menu_icon",
|
|
"type": "varchar",
|
|
"length": 255,
|
|
"decimals": -2147483648,
|
|
"isUnsigned": false,
|
|
"isZeroFill": false,
|
|
"setEnumValues": "",
|
|
"isBinary": false,
|
|
"charset": "",
|
|
"collation": "",
|
|
"isNullable": true,
|
|
"defaultType": "Others",
|
|
"defaultValue": "",
|
|
"isOnUpdateCurrentTimestamp": false,
|
|
"isAutoInc": false,
|
|
"comment": "菜单图标",
|
|
"columnFormat": "",
|
|
"storage": "",
|
|
"isVirtual": false,
|
|
"isGeneratedAlways": false,
|
|
"virtualExpr": "",
|
|
"virtualType": "",
|
|
"oldName": "menu_icon"
|
|
},
|
|
{
|
|
"objectType": "TableField_MYSQL",
|
|
"name": "is_frame",
|
|
"type": "int",
|
|
"length": -2147483648,
|
|
"decimals": -2147483648,
|
|
"isUnsigned": false,
|
|
"isZeroFill": false,
|
|
"setEnumValues": "",
|
|
"isBinary": false,
|
|
"charset": "",
|
|
"collation": "",
|
|
"isNullable": false,
|
|
"defaultType": "Others",
|
|
"defaultValue": "0",
|
|
"isOnUpdateCurrentTimestamp": false,
|
|
"isAutoInc": false,
|
|
"comment": "是否是外链:默认0不是外链,1时外链",
|
|
"columnFormat": "",
|
|
"storage": "",
|
|
"isVirtual": false,
|
|
"isGeneratedAlways": false,
|
|
"virtualExpr": "",
|
|
"virtualType": "",
|
|
"oldName": "is_frame"
|
|
},
|
|
{
|
|
"objectType": "TableField_MYSQL",
|
|
"name": "is_visible",
|
|
"type": "int",
|
|
"length": -2147483648,
|
|
"decimals": -2147483648,
|
|
"isUnsigned": false,
|
|
"isZeroFill": false,
|
|
"setEnumValues": "",
|
|
"isBinary": false,
|
|
"charset": "",
|
|
"collation": "",
|
|
"isNullable": false,
|
|
"defaultType": "Others",
|
|
"defaultValue": "0",
|
|
"isOnUpdateCurrentTimestamp": false,
|
|
"isAutoInc": false,
|
|
"comment": "是否为显示的菜单:默认0显示、1为不显示",
|
|
"columnFormat": "",
|
|
"storage": "",
|
|
"isVirtual": false,
|
|
"isGeneratedAlways": false,
|
|
"virtualExpr": "",
|
|
"virtualType": "",
|
|
"oldName": "is_visible"
|
|
},
|
|
{
|
|
"objectType": "TableField_MYSQL",
|
|
"name": "is_activate",
|
|
"type": "int",
|
|
"length": -2147483648,
|
|
"decimals": -2147483648,
|
|
"isUnsigned": false,
|
|
"isZeroFill": false,
|
|
"setEnumValues": "",
|
|
"isBinary": false,
|
|
"charset": "",
|
|
"collation": "",
|
|
"isNullable": false,
|
|
"defaultType": "Others",
|
|
"defaultValue": "0",
|
|
"isOnUpdateCurrentTimestamp": false,
|
|
"isAutoInc": false,
|
|
"comment": "是否激活:默认0为激活可用状态,1为不可用",
|
|
"columnFormat": "",
|
|
"storage": "",
|
|
"isVirtual": false,
|
|
"isGeneratedAlways": false,
|
|
"virtualExpr": "",
|
|
"virtualType": "",
|
|
"oldName": "is_activate"
|
|
},
|
|
{
|
|
"objectType": "TableField_MYSQL",
|
|
"name": "order_num",
|
|
"type": "int",
|
|
"length": -2147483648,
|
|
"decimals": -2147483648,
|
|
"isUnsigned": false,
|
|
"isZeroFill": false,
|
|
"setEnumValues": "",
|
|
"isBinary": false,
|
|
"charset": "",
|
|
"collation": "",
|
|
"isNullable": false,
|
|
"defaultType": "Others",
|
|
"defaultValue": "0",
|
|
"isOnUpdateCurrentTimestamp": false,
|
|
"isAutoInc": false,
|
|
"comment": "排序:默认0",
|
|
"columnFormat": "",
|
|
"storage": "",
|
|
"isVirtual": false,
|
|
"isGeneratedAlways": false,
|
|
"virtualExpr": "",
|
|
"virtualType": "",
|
|
"oldName": "order_num"
|
|
},
|
|
{
|
|
"objectType": "TableField_MYSQL",
|
|
"name": "status",
|
|
"type": "int",
|
|
"length": -2147483648,
|
|
"decimals": -2147483648,
|
|
"isUnsigned": false,
|
|
"isZeroFill": false,
|
|
"setEnumValues": "",
|
|
"isBinary": false,
|
|
"charset": "",
|
|
"collation": "",
|
|
"isNullable": false,
|
|
"defaultType": "Others",
|
|
"defaultValue": "0",
|
|
"isOnUpdateCurrentTimestamp": false,
|
|
"isAutoInc": false,
|
|
"comment": "菜单状态:0正常、1禁用",
|
|
"columnFormat": "",
|
|
"storage": "",
|
|
"isVirtual": false,
|
|
"isGeneratedAlways": false,
|
|
"virtualExpr": "",
|
|
"virtualType": "",
|
|
"oldName": "status"
|
|
},
|
|
{
|
|
"objectType": "TableField_MYSQL",
|
|
"name": "service_of",
|
|
"type": "varchar",
|
|
"length": 255,
|
|
"decimals": -2147483648,
|
|
"isUnsigned": false,
|
|
"isZeroFill": false,
|
|
"setEnumValues": "",
|
|
"isBinary": false,
|
|
"charset": "",
|
|
"collation": "",
|
|
"isNullable": false,
|
|
"defaultType": "Others",
|
|
"defaultValue": "0",
|
|
"isOnUpdateCurrentTimestamp": false,
|
|
"isAutoInc": false,
|
|
"comment": "所属服务:0归属于当前服务:pacAuth",
|
|
"columnFormat": "",
|
|
"storage": "",
|
|
"isVirtual": false,
|
|
"isGeneratedAlways": false,
|
|
"virtualExpr": "",
|
|
"virtualType": "",
|
|
"oldName": "service_of"
|
|
},
|
|
{
|
|
"objectType": "TableField_MYSQL",
|
|
"name": "createby",
|
|
"type": "bigint",
|
|
"length": 0,
|
|
"decimals": 0,
|
|
"isUnsigned": false,
|
|
"isZeroFill": false,
|
|
"setEnumValues": "",
|
|
"isBinary": false,
|
|
"charset": "",
|
|
"collation": "",
|
|
"isNullable": false,
|
|
"defaultType": "Others",
|
|
"defaultValue": "",
|
|
"isOnUpdateCurrentTimestamp": false,
|
|
"isAutoInc": false,
|
|
"comment": "创建人",
|
|
"columnFormat": "",
|
|
"storage": "",
|
|
"isVirtual": false,
|
|
"isGeneratedAlways": false,
|
|
"virtualExpr": "",
|
|
"virtualType": "",
|
|
"oldName": "createby"
|
|
},
|
|
{
|
|
"objectType": "TableField_MYSQL",
|
|
"name": "createtime",
|
|
"type": "datetime",
|
|
"length": 0,
|
|
"decimals": 0,
|
|
"isUnsigned": false,
|
|
"isZeroFill": false,
|
|
"setEnumValues": "",
|
|
"isBinary": false,
|
|
"charset": "",
|
|
"collation": "",
|
|
"isNullable": false,
|
|
"defaultType": "Others",
|
|
"defaultValue": "",
|
|
"isOnUpdateCurrentTimestamp": false,
|
|
"isAutoInc": false,
|
|
"comment": "创建时间",
|
|
"columnFormat": "",
|
|
"storage": "",
|
|
"isVirtual": false,
|
|
"isGeneratedAlways": false,
|
|
"virtualExpr": "",
|
|
"virtualType": "",
|
|
"oldName": "createtime"
|
|
},
|
|
{
|
|
"objectType": "TableField_MYSQL",
|
|
"name": "updateby",
|
|
"type": "bigint",
|
|
"length": 0,
|
|
"decimals": 0,
|
|
"isUnsigned": false,
|
|
"isZeroFill": false,
|
|
"setEnumValues": "",
|
|
"isBinary": false,
|
|
"charset": "",
|
|
"collation": "",
|
|
"isNullable": true,
|
|
"defaultType": "Null",
|
|
"defaultValue": "NULL",
|
|
"isOnUpdateCurrentTimestamp": false,
|
|
"isAutoInc": false,
|
|
"comment": "更新人",
|
|
"columnFormat": "",
|
|
"storage": "",
|
|
"isVirtual": false,
|
|
"isGeneratedAlways": false,
|
|
"virtualExpr": "",
|
|
"virtualType": "",
|
|
"oldName": "updateby"
|
|
},
|
|
{
|
|
"objectType": "TableField_MYSQL",
|
|
"name": "updatetime",
|
|
"type": "datetime",
|
|
"length": 0,
|
|
"decimals": 0,
|
|
"isUnsigned": false,
|
|
"isZeroFill": false,
|
|
"setEnumValues": "",
|
|
"isBinary": false,
|
|
"charset": "",
|
|
"collation": "",
|
|
"isNullable": true,
|
|
"defaultType": "Null",
|
|
"defaultValue": "NULL",
|
|
"isOnUpdateCurrentTimestamp": false,
|
|
"isAutoInc": false,
|
|
"comment": "更新时间",
|
|
"columnFormat": "",
|
|
"storage": "",
|
|
"isVirtual": false,
|
|
"isGeneratedAlways": false,
|
|
"virtualExpr": "",
|
|
"virtualType": "",
|
|
"oldName": "updatetime"
|
|
},
|
|
{
|
|
"objectType": "TableField_MYSQL",
|
|
"name": "deleteby",
|
|
"type": "bigint",
|
|
"length": 0,
|
|
"decimals": 0,
|
|
"isUnsigned": false,
|
|
"isZeroFill": false,
|
|
"setEnumValues": "",
|
|
"isBinary": false,
|
|
"charset": "",
|
|
"collation": "",
|
|
"isNullable": true,
|
|
"defaultType": "Null",
|
|
"defaultValue": "NULL",
|
|
"isOnUpdateCurrentTimestamp": false,
|
|
"isAutoInc": false,
|
|
"comment": "删除人",
|
|
"columnFormat": "",
|
|
"storage": "",
|
|
"isVirtual": false,
|
|
"isGeneratedAlways": false,
|
|
"virtualExpr": "",
|
|
"virtualType": "",
|
|
"oldName": "deleteby"
|
|
},
|
|
{
|
|
"objectType": "TableField_MYSQL",
|
|
"name": "deletetime",
|
|
"type": "datetime",
|
|
"length": 0,
|
|
"decimals": 0,
|
|
"isUnsigned": false,
|
|
"isZeroFill": false,
|
|
"setEnumValues": "",
|
|
"isBinary": false,
|
|
"charset": "",
|
|
"collation": "",
|
|
"isNullable": true,
|
|
"defaultType": "Null",
|
|
"defaultValue": "NULL",
|
|
"isOnUpdateCurrentTimestamp": false,
|
|
"isAutoInc": false,
|
|
"comment": "删除时间",
|
|
"columnFormat": "",
|
|
"storage": "",
|
|
"isVirtual": false,
|
|
"isGeneratedAlways": false,
|
|
"virtualExpr": "",
|
|
"virtualType": "",
|
|
"oldName": "deletetime"
|
|
}
|
|
],
|
|
"indexes": [
|
|
{
|
|
"objectType": "Index_MYSQL",
|
|
"name": "pac_index",
|
|
"type": "UNIQUE",
|
|
"method": "",
|
|
"comment": "",
|
|
"oldName": "",
|
|
"online": false,
|
|
"keyBlockSize": 0,
|
|
"parser": "",
|
|
"algorithm": "",
|
|
"lock": "",
|
|
"collation": "",
|
|
"cardinality": "",
|
|
"packed": "",
|
|
"IsVisibleIndex": true,
|
|
"fields": [
|
|
{
|
|
"objectType": "IndexField_MYSQL",
|
|
"name": "index",
|
|
"keyLength": 0,
|
|
"order": "",
|
|
"oldName": ""
|
|
}
|
|
]
|
|
}
|
|
],
|
|
"primaryKey": {
|
|
"objectType": "PrimaryKey_MYSQL",
|
|
"name": "",
|
|
"fields": [
|
|
{
|
|
"objectType": "IndexField_MYSQL",
|
|
"name": "menu_id",
|
|
"keyLength": -2147483648,
|
|
"order": "",
|
|
"oldName": ""
|
|
}
|
|
],
|
|
"oldName": "",
|
|
"indexMethod": "",
|
|
"comment": ""
|
|
},
|
|
"foreignKeys": [],
|
|
"checks": [],
|
|
"triggers": [],
|
|
"tablePartitions": []
|
|
},
|
|
{
|
|
"objectType": "Table_MYSQL",
|
|
"name": "pac_auth_role",
|
|
"comment": "角色",
|
|
"engine": "",
|
|
"characterSet": "",
|
|
"collation": "",
|
|
"autoIncrement": 0,
|
|
"tablespace": "",
|
|
"storage": "",
|
|
"insertMethod": "",
|
|
"connection": "",
|
|
"checksum": false,
|
|
"rowFormat": "",
|
|
"avgRowLength": 0,
|
|
"maxRows": 0,
|
|
"minRows": 0,
|
|
"keyBlockSize": 0,
|
|
"packKeys": "",
|
|
"delayKeyWrite": false,
|
|
"dataDirectory": "",
|
|
"indexDirectory": "",
|
|
"statsAutoRecalc": "",
|
|
"statsPersistent": "",
|
|
"statsSamplePages": 0,
|
|
"union": "",
|
|
"pageCheckSum": false,
|
|
"transactional": false,
|
|
"compression": "",
|
|
"oldName": "",
|
|
"encryption": false,
|
|
"createOptions": "",
|
|
"createTime": "",
|
|
"checkTime": "",
|
|
"dataFree": 0,
|
|
"dataLength": 0,
|
|
"indexLength": 0,
|
|
"maxDataLength": 0,
|
|
"rows": 0,
|
|
"updateTime": "",
|
|
"DDL": "",
|
|
"partitionBy": "",
|
|
"partitionByExpr": "",
|
|
"partitions": 0,
|
|
"partitionKeyAlgorithm": "",
|
|
"subPartitionBy": "",
|
|
"subPartitionByExpr": "",
|
|
"subPartitions": 0,
|
|
"subPartitionKeyAlgorithm": "",
|
|
"fields": [
|
|
{
|
|
"objectType": "TableField_MYSQL",
|
|
"name": "index",
|
|
"type": "int",
|
|
"length": -2147483648,
|
|
"decimals": -2147483648,
|
|
"isUnsigned": false,
|
|
"isZeroFill": false,
|
|
"setEnumValues": "",
|
|
"isBinary": false,
|
|
"charset": "",
|
|
"collation": "",
|
|
"isNullable": false,
|
|
"defaultType": "Others",
|
|
"defaultValue": "",
|
|
"isOnUpdateCurrentTimestamp": false,
|
|
"isAutoInc": false,
|
|
"comment": "数据完整性确认",
|
|
"columnFormat": "",
|
|
"storage": "",
|
|
"isVirtual": false,
|
|
"isGeneratedAlways": false,
|
|
"virtualExpr": "",
|
|
"virtualType": "",
|
|
"oldName": "index"
|
|
},
|
|
{
|
|
"objectType": "TableField_MYSQL",
|
|
"name": "role_id",
|
|
"type": "bigint",
|
|
"length": -2147483648,
|
|
"decimals": -2147483648,
|
|
"isUnsigned": false,
|
|
"isZeroFill": false,
|
|
"setEnumValues": "",
|
|
"isBinary": false,
|
|
"charset": "",
|
|
"collation": "",
|
|
"isNullable": false,
|
|
"defaultType": "Others",
|
|
"defaultValue": "",
|
|
"isOnUpdateCurrentTimestamp": false,
|
|
"isAutoInc": false,
|
|
"comment": "角色id",
|
|
"columnFormat": "",
|
|
"storage": "",
|
|
"isVirtual": false,
|
|
"isGeneratedAlways": false,
|
|
"virtualExpr": "",
|
|
"virtualType": "",
|
|
"oldName": "role_id"
|
|
},
|
|
{
|
|
"objectType": "TableField_MYSQL",
|
|
"name": "pid",
|
|
"type": "bigint",
|
|
"length": -2147483648,
|
|
"decimals": -2147483648,
|
|
"isUnsigned": false,
|
|
"isZeroFill": false,
|
|
"setEnumValues": "",
|
|
"isBinary": false,
|
|
"charset": "",
|
|
"collation": "",
|
|
"isNullable": false,
|
|
"defaultType": "Others",
|
|
"defaultValue": "0",
|
|
"isOnUpdateCurrentTimestamp": false,
|
|
"isAutoInc": false,
|
|
"comment": "父id",
|
|
"columnFormat": "",
|
|
"storage": "",
|
|
"isVirtual": false,
|
|
"isGeneratedAlways": false,
|
|
"virtualExpr": "",
|
|
"virtualType": "",
|
|
"oldName": "pid"
|
|
},
|
|
{
|
|
"objectType": "TableField_MYSQL",
|
|
"name": "role_name",
|
|
"type": "varchar",
|
|
"length": 255,
|
|
"decimals": -2147483648,
|
|
"isUnsigned": false,
|
|
"isZeroFill": false,
|
|
"setEnumValues": "",
|
|
"isBinary": false,
|
|
"charset": "",
|
|
"collation": "",
|
|
"isNullable": false,
|
|
"defaultType": "Others",
|
|
"defaultValue": "",
|
|
"isOnUpdateCurrentTimestamp": false,
|
|
"isAutoInc": false,
|
|
"comment": "角色名",
|
|
"columnFormat": "",
|
|
"storage": "",
|
|
"isVirtual": false,
|
|
"isGeneratedAlways": false,
|
|
"virtualExpr": "",
|
|
"virtualType": "",
|
|
"oldName": "role_name"
|
|
},
|
|
{
|
|
"objectType": "TableField_MYSQL",
|
|
"name": "role_key",
|
|
"type": "varchar",
|
|
"length": 255,
|
|
"decimals": -2147483648,
|
|
"isUnsigned": false,
|
|
"isZeroFill": false,
|
|
"setEnumValues": "",
|
|
"isBinary": false,
|
|
"charset": "",
|
|
"collation": "",
|
|
"isNullable": false,
|
|
"defaultType": "Others",
|
|
"defaultValue": "",
|
|
"isOnUpdateCurrentTimestamp": false,
|
|
"isAutoInc": false,
|
|
"comment": "角色标识",
|
|
"columnFormat": "",
|
|
"storage": "",
|
|
"isVirtual": false,
|
|
"isGeneratedAlways": false,
|
|
"virtualExpr": "",
|
|
"virtualType": "",
|
|
"oldName": "role_key"
|
|
},
|
|
{
|
|
"objectType": "TableField_MYSQL",
|
|
"name": "role_desc",
|
|
"type": "varchar",
|
|
"length": 255,
|
|
"decimals": -2147483648,
|
|
"isUnsigned": false,
|
|
"isZeroFill": false,
|
|
"setEnumValues": "",
|
|
"isBinary": false,
|
|
"charset": "",
|
|
"collation": "",
|
|
"isNullable": true,
|
|
"defaultType": "Others",
|
|
"defaultValue": "",
|
|
"isOnUpdateCurrentTimestamp": false,
|
|
"isAutoInc": false,
|
|
"comment": "角色描述",
|
|
"columnFormat": "",
|
|
"storage": "",
|
|
"isVirtual": false,
|
|
"isGeneratedAlways": false,
|
|
"virtualExpr": "",
|
|
"virtualType": "",
|
|
"oldName": "role_desc"
|
|
},
|
|
{
|
|
"objectType": "TableField_MYSQL",
|
|
"name": "role_type",
|
|
"type": "bigint",
|
|
"length": -2147483648,
|
|
"decimals": -2147483648,
|
|
"isUnsigned": false,
|
|
"isZeroFill": false,
|
|
"setEnumValues": "",
|
|
"isBinary": false,
|
|
"charset": "",
|
|
"collation": "",
|
|
"isNullable": false,
|
|
"defaultType": "Others",
|
|
"defaultValue": "0",
|
|
"isOnUpdateCurrentTimestamp": false,
|
|
"isAutoInc": false,
|
|
"comment": "来源于字典,默认0",
|
|
"columnFormat": "",
|
|
"storage": "",
|
|
"isVirtual": false,
|
|
"isGeneratedAlways": false,
|
|
"virtualExpr": "",
|
|
"virtualType": "",
|
|
"oldName": "role_type"
|
|
},
|
|
{
|
|
"objectType": "TableField_MYSQL",
|
|
"name": "role_data_scope",
|
|
"type": "int",
|
|
"length": -2147483648,
|
|
"decimals": -2147483648,
|
|
"isUnsigned": false,
|
|
"isZeroFill": false,
|
|
"setEnumValues": "",
|
|
"isBinary": false,
|
|
"charset": "",
|
|
"collation": "",
|
|
"isNullable": false,
|
|
"defaultType": "Others",
|
|
"defaultValue": "1",
|
|
"isOnUpdateCurrentTimestamp": false,
|
|
"isAutoInc": false,
|
|
"comment": "数据范围:默认全部1(1:全部数据权限 2:自定数据权限 3:本部门数据权限 4:本部门及以下数据权限)",
|
|
"columnFormat": "",
|
|
"storage": "",
|
|
"isVirtual": false,
|
|
"isGeneratedAlways": false,
|
|
"virtualExpr": "",
|
|
"virtualType": "",
|
|
"oldName": "role_data_scope"
|
|
},
|
|
{
|
|
"objectType": "TableField_MYSQL",
|
|
"name": "root",
|
|
"type": "int",
|
|
"length": -2147483648,
|
|
"decimals": -2147483648,
|
|
"isUnsigned": false,
|
|
"isZeroFill": false,
|
|
"setEnumValues": "",
|
|
"isBinary": false,
|
|
"charset": "",
|
|
"collation": "",
|
|
"isNullable": false,
|
|
"defaultType": "Others",
|
|
"defaultValue": "0",
|
|
"isOnUpdateCurrentTimestamp": false,
|
|
"isAutoInc": false,
|
|
"comment": "1是属于Root的,无法删除和修改",
|
|
"columnFormat": "",
|
|
"storage": "",
|
|
"isVirtual": false,
|
|
"isGeneratedAlways": false,
|
|
"virtualExpr": "",
|
|
"virtualType": "",
|
|
"oldName": "root"
|
|
},
|
|
{
|
|
"objectType": "TableField_MYSQL",
|
|
"name": "order_num",
|
|
"type": "int",
|
|
"length": -2147483648,
|
|
"decimals": -2147483648,
|
|
"isUnsigned": false,
|
|
"isZeroFill": false,
|
|
"setEnumValues": "",
|
|
"isBinary": false,
|
|
"charset": "",
|
|
"collation": "",
|
|
"isNullable": false,
|
|
"defaultType": "Others",
|
|
"defaultValue": "0",
|
|
"isOnUpdateCurrentTimestamp": false,
|
|
"isAutoInc": false,
|
|
"comment": "排序:默认0",
|
|
"columnFormat": "",
|
|
"storage": "",
|
|
"isVirtual": false,
|
|
"isGeneratedAlways": false,
|
|
"virtualExpr": "",
|
|
"virtualType": "",
|
|
"oldName": "order_num"
|
|
},
|
|
{
|
|
"objectType": "TableField_MYSQL",
|
|
"name": "status",
|
|
"type": "int",
|
|
"length": -2147483648,
|
|
"decimals": -2147483648,
|
|
"isUnsigned": false,
|
|
"isZeroFill": false,
|
|
"setEnumValues": "",
|
|
"isBinary": false,
|
|
"charset": "",
|
|
"collation": "",
|
|
"isNullable": false,
|
|
"defaultType": "Others",
|
|
"defaultValue": "0",
|
|
"isOnUpdateCurrentTimestamp": false,
|
|
"isAutoInc": false,
|
|
"comment": "状态:默认0可用,1禁用",
|
|
"columnFormat": "",
|
|
"storage": "",
|
|
"isVirtual": false,
|
|
"isGeneratedAlways": false,
|
|
"virtualExpr": "",
|
|
"virtualType": "",
|
|
"oldName": "status"
|
|
},
|
|
{
|
|
"objectType": "TableField_MYSQL",
|
|
"name": "createby",
|
|
"type": "bigint",
|
|
"length": 0,
|
|
"decimals": 0,
|
|
"isUnsigned": false,
|
|
"isZeroFill": false,
|
|
"setEnumValues": "",
|
|
"isBinary": false,
|
|
"charset": "",
|
|
"collation": "",
|
|
"isNullable": false,
|
|
"defaultType": "Others",
|
|
"defaultValue": "",
|
|
"isOnUpdateCurrentTimestamp": false,
|
|
"isAutoInc": false,
|
|
"comment": "创建人",
|
|
"columnFormat": "",
|
|
"storage": "",
|
|
"isVirtual": false,
|
|
"isGeneratedAlways": false,
|
|
"virtualExpr": "",
|
|
"virtualType": "",
|
|
"oldName": "createby"
|
|
},
|
|
{
|
|
"objectType": "TableField_MYSQL",
|
|
"name": "createtime",
|
|
"type": "datetime",
|
|
"length": 0,
|
|
"decimals": 0,
|
|
"isUnsigned": false,
|
|
"isZeroFill": false,
|
|
"setEnumValues": "",
|
|
"isBinary": false,
|
|
"charset": "",
|
|
"collation": "",
|
|
"isNullable": false,
|
|
"defaultType": "Others",
|
|
"defaultValue": "",
|
|
"isOnUpdateCurrentTimestamp": false,
|
|
"isAutoInc": false,
|
|
"comment": "创建时间",
|
|
"columnFormat": "",
|
|
"storage": "",
|
|
"isVirtual": false,
|
|
"isGeneratedAlways": false,
|
|
"virtualExpr": "",
|
|
"virtualType": "",
|
|
"oldName": "createtime"
|
|
},
|
|
{
|
|
"objectType": "TableField_MYSQL",
|
|
"name": "updateby",
|
|
"type": "bigint",
|
|
"length": 0,
|
|
"decimals": 0,
|
|
"isUnsigned": false,
|
|
"isZeroFill": false,
|
|
"setEnumValues": "",
|
|
"isBinary": false,
|
|
"charset": "",
|
|
"collation": "",
|
|
"isNullable": true,
|
|
"defaultType": "Null",
|
|
"defaultValue": "NULL",
|
|
"isOnUpdateCurrentTimestamp": false,
|
|
"isAutoInc": false,
|
|
"comment": "更新人",
|
|
"columnFormat": "",
|
|
"storage": "",
|
|
"isVirtual": false,
|
|
"isGeneratedAlways": false,
|
|
"virtualExpr": "",
|
|
"virtualType": "",
|
|
"oldName": "updateby"
|
|
},
|
|
{
|
|
"objectType": "TableField_MYSQL",
|
|
"name": "updatetime",
|
|
"type": "datetime",
|
|
"length": 0,
|
|
"decimals": 0,
|
|
"isUnsigned": false,
|
|
"isZeroFill": false,
|
|
"setEnumValues": "",
|
|
"isBinary": false,
|
|
"charset": "",
|
|
"collation": "",
|
|
"isNullable": true,
|
|
"defaultType": "Null",
|
|
"defaultValue": "NULL",
|
|
"isOnUpdateCurrentTimestamp": false,
|
|
"isAutoInc": false,
|
|
"comment": "更新时间",
|
|
"columnFormat": "",
|
|
"storage": "",
|
|
"isVirtual": false,
|
|
"isGeneratedAlways": false,
|
|
"virtualExpr": "",
|
|
"virtualType": "",
|
|
"oldName": "updatetime"
|
|
},
|
|
{
|
|
"objectType": "TableField_MYSQL",
|
|
"name": "deleteby",
|
|
"type": "bigint",
|
|
"length": 0,
|
|
"decimals": 0,
|
|
"isUnsigned": false,
|
|
"isZeroFill": false,
|
|
"setEnumValues": "",
|
|
"isBinary": false,
|
|
"charset": "",
|
|
"collation": "",
|
|
"isNullable": true,
|
|
"defaultType": "Null",
|
|
"defaultValue": "NULL",
|
|
"isOnUpdateCurrentTimestamp": false,
|
|
"isAutoInc": false,
|
|
"comment": "删除人",
|
|
"columnFormat": "",
|
|
"storage": "",
|
|
"isVirtual": false,
|
|
"isGeneratedAlways": false,
|
|
"virtualExpr": "",
|
|
"virtualType": "",
|
|
"oldName": "deleteby"
|
|
},
|
|
{
|
|
"objectType": "TableField_MYSQL",
|
|
"name": "deletetime",
|
|
"type": "datetime",
|
|
"length": 0,
|
|
"decimals": 0,
|
|
"isUnsigned": false,
|
|
"isZeroFill": false,
|
|
"setEnumValues": "",
|
|
"isBinary": false,
|
|
"charset": "",
|
|
"collation": "",
|
|
"isNullable": true,
|
|
"defaultType": "Null",
|
|
"defaultValue": "NULL",
|
|
"isOnUpdateCurrentTimestamp": false,
|
|
"isAutoInc": false,
|
|
"comment": "删除时间",
|
|
"columnFormat": "",
|
|
"storage": "",
|
|
"isVirtual": false,
|
|
"isGeneratedAlways": false,
|
|
"virtualExpr": "",
|
|
"virtualType": "",
|
|
"oldName": "deletetime"
|
|
}
|
|
],
|
|
"indexes": [
|
|
{
|
|
"objectType": "Index_MYSQL",
|
|
"name": "pac_index",
|
|
"type": "UNIQUE",
|
|
"method": "",
|
|
"comment": "",
|
|
"oldName": "",
|
|
"online": false,
|
|
"keyBlockSize": 0,
|
|
"parser": "",
|
|
"algorithm": "",
|
|
"lock": "",
|
|
"collation": "",
|
|
"cardinality": "",
|
|
"packed": "",
|
|
"IsVisibleIndex": true,
|
|
"fields": [
|
|
{
|
|
"objectType": "IndexField_MYSQL",
|
|
"name": "index",
|
|
"keyLength": 0,
|
|
"order": "",
|
|
"oldName": ""
|
|
}
|
|
]
|
|
}
|
|
],
|
|
"primaryKey": {
|
|
"objectType": "PrimaryKey_MYSQL",
|
|
"name": "",
|
|
"fields": [
|
|
{
|
|
"objectType": "IndexField_MYSQL",
|
|
"name": "role_id",
|
|
"keyLength": -2147483648,
|
|
"order": "",
|
|
"oldName": ""
|
|
}
|
|
],
|
|
"oldName": "",
|
|
"indexMethod": "",
|
|
"comment": ""
|
|
},
|
|
"foreignKeys": [],
|
|
"checks": [],
|
|
"triggers": [],
|
|
"tablePartitions": []
|
|
}
|
|
],
|
|
"views": []
|
|
}
|
|
]
|
|
},
|
|
"diagrams": [
|
|
{
|
|
"name": "Diagram 1",
|
|
"paperWidth": 2,
|
|
"paperHeight": 2,
|
|
"tableFont": "Arial Unicode MS",
|
|
"tableFontSize": 14,
|
|
"isBalckWhite": false,
|
|
"showDBSchemaName": true,
|
|
"showViewRelations": true,
|
|
"notation": "default",
|
|
"showFieldComment": true,
|
|
"showTableComment": true,
|
|
"shapes": [
|
|
{
|
|
"type": "table",
|
|
"schemaName": "pacAuth0_2",
|
|
"tableName": "pac_core_env",
|
|
"x": 30,
|
|
"y": 610,
|
|
"width": 453,
|
|
"height": 450,
|
|
"isBold": false,
|
|
"titleColor": {
|
|
"r": 55,
|
|
"g": 131,
|
|
"b": 192,
|
|
"a": 1
|
|
}
|
|
},
|
|
{
|
|
"type": "table",
|
|
"schemaName": "pacAuth0_2",
|
|
"tableName": "pac_core_service",
|
|
"x": 1080,
|
|
"y": 610,
|
|
"width": 284,
|
|
"height": 270,
|
|
"isBold": false,
|
|
"titleColor": {
|
|
"r": 55,
|
|
"g": 131,
|
|
"b": 192,
|
|
"a": 1
|
|
}
|
|
},
|
|
{
|
|
"type": "table",
|
|
"schemaName": "pacAuth0_2",
|
|
"tableName": "pac_core_dict",
|
|
"x": 550,
|
|
"y": 610,
|
|
"width": 453,
|
|
"height": 450,
|
|
"isBold": false,
|
|
"titleColor": {
|
|
"r": 55,
|
|
"g": 131,
|
|
"b": 192,
|
|
"a": 1
|
|
}
|
|
},
|
|
{
|
|
"type": "table",
|
|
"schemaName": "pacAuth0_2",
|
|
"tableName": "pac_core_menu",
|
|
"x": 30,
|
|
"y": 30,
|
|
"width": 393,
|
|
"height": 510,
|
|
"isBold": false,
|
|
"titleColor": {
|
|
"r": 55,
|
|
"g": 131,
|
|
"b": 192,
|
|
"a": 1
|
|
}
|
|
},
|
|
{
|
|
"type": "table",
|
|
"schemaName": "pacAuth0_2",
|
|
"tableName": "pac_auth_dept",
|
|
"x": 890,
|
|
"y": 30,
|
|
"width": 306,
|
|
"height": 410,
|
|
"isBold": false,
|
|
"titleColor": {
|
|
"r": 55,
|
|
"g": 131,
|
|
"b": 192,
|
|
"a": 1
|
|
}
|
|
},
|
|
{
|
|
"type": "table",
|
|
"schemaName": "pacAuth0_2",
|
|
"tableName": "pac_auth_post",
|
|
"x": 860,
|
|
"y": 1130,
|
|
"width": 272,
|
|
"height": 330,
|
|
"isBold": false,
|
|
"titleColor": {
|
|
"r": 55,
|
|
"g": 131,
|
|
"b": 192,
|
|
"a": 1
|
|
}
|
|
},
|
|
{
|
|
"type": "table",
|
|
"schemaName": "pacAuth0_2",
|
|
"tableName": "pac_auth_role",
|
|
"x": 30,
|
|
"y": 1130,
|
|
"width": 758,
|
|
"height": 410,
|
|
"isBold": false,
|
|
"titleColor": {
|
|
"r": 55,
|
|
"g": 131,
|
|
"b": 192,
|
|
"a": 1
|
|
}
|
|
},
|
|
{
|
|
"type": "table",
|
|
"schemaName": "pacAuth0_2",
|
|
"tableName": "pac_auth_role_data_scope",
|
|
"x": 1200,
|
|
"y": 1130,
|
|
"width": 285,
|
|
"height": 270,
|
|
"isBold": false,
|
|
"titleColor": {
|
|
"r": 55,
|
|
"g": 131,
|
|
"b": 192,
|
|
"a": 1
|
|
}
|
|
},
|
|
{
|
|
"type": "table",
|
|
"schemaName": "pacAuth0_2",
|
|
"tableName": "pac_auth_user",
|
|
"x": 490,
|
|
"y": 30,
|
|
"width": 327,
|
|
"height": 470,
|
|
"isBold": false,
|
|
"titleColor": {
|
|
"r": 55,
|
|
"g": 131,
|
|
"b": 192,
|
|
"a": 1
|
|
}
|
|
},
|
|
{
|
|
"type": "table",
|
|
"schemaName": "pacAuth0_2",
|
|
"tableName": "pac_auth_link_role_menu",
|
|
"x": 1270,
|
|
"y": 30,
|
|
"width": 279,
|
|
"height": 250,
|
|
"isBold": false,
|
|
"titleColor": {
|
|
"r": 55,
|
|
"g": 131,
|
|
"b": 192,
|
|
"a": 1
|
|
}
|
|
},
|
|
{
|
|
"type": "table",
|
|
"schemaName": "pacAuth0_2",
|
|
"tableName": "pac_auth_link_user_role",
|
|
"x": 1430,
|
|
"y": 610,
|
|
"width": 270,
|
|
"height": 250,
|
|
"isBold": false,
|
|
"titleColor": {
|
|
"r": 55,
|
|
"g": 131,
|
|
"b": 192,
|
|
"a": 1
|
|
}
|
|
},
|
|
{
|
|
"type": "table",
|
|
"schemaName": "pacAuth0_2",
|
|
"tableName": "pac_auth_link_user_post",
|
|
"x": 1560,
|
|
"y": 1130,
|
|
"width": 273,
|
|
"height": 250,
|
|
"isBold": false,
|
|
"titleColor": {
|
|
"r": 55,
|
|
"g": 131,
|
|
"b": 192,
|
|
"a": 1
|
|
}
|
|
},
|
|
{
|
|
"type": "table",
|
|
"schemaName": "pacAuth0_2",
|
|
"tableName": "pac_auth_link_user_dept",
|
|
"x": 30,
|
|
"y": 1610,
|
|
"width": 274,
|
|
"height": 250,
|
|
"isBold": false,
|
|
"titleColor": {
|
|
"r": 55,
|
|
"g": 131,
|
|
"b": 192,
|
|
"a": 1
|
|
}
|
|
}
|
|
],
|
|
"layers": [],
|
|
"relations": [],
|
|
"viewRelations": []
|
|
}
|
|
]
|
|
} |