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.
pac-auth/docs/pacAuth_database_0.2.ndm2

5839 lines
196 KiB

4 months ago
{
"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_post",
"comment": "岗位",
4 months ago
"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": "数据完整性验证",
4 months ago
"columnFormat": "",
"storage": "",
"isVirtual": false,
"isGeneratedAlways": false,
"virtualExpr": "",
"virtualType": "",
"oldName": "index"
},
{
"objectType": "TableField_MYSQL",
"name": "post_id",
4 months ago
"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",
4 months ago
"columnFormat": "",
"storage": "",
"isVirtual": false,
"isGeneratedAlways": false,
"virtualExpr": "",
"virtualType": "",
"oldName": "post_id"
4 months ago
},
{
"objectType": "TableField_MYSQL",
"name": "post_key",
"type": "varchar",
"length": 255,
"decimals": -2147483648,
4 months ago
"isUnsigned": false,
"isZeroFill": false,
"setEnumValues": "",
"isBinary": false,
"charset": "",
"collation": "",
"isNullable": false,
"defaultType": "Others",
"defaultValue": "",
"isOnUpdateCurrentTimestamp": false,
"isAutoInc": false,
"comment": "岗位标识",
4 months ago
"columnFormat": "",
"storage": "",
"isVirtual": false,
"isGeneratedAlways": false,
"virtualExpr": "",
"virtualType": "",
"oldName": "post_key"
4 months ago
},
{
"objectType": "TableField_MYSQL",
"name": "post_name",
"type": "varchar",
"length": 255,
"decimals": -2147483648,
4 months ago
"isUnsigned": false,
"isZeroFill": false,
"setEnumValues": "",
"isBinary": false,
"charset": "",
"collation": "",
"isNullable": true,
4 months ago
"defaultType": "Others",
"defaultValue": "",
"isOnUpdateCurrentTimestamp": false,
"isAutoInc": false,
"comment": "岗位名称",
4 months ago
"columnFormat": "",
"storage": "",
"isVirtual": false,
"isGeneratedAlways": false,
"virtualExpr": "",
"virtualType": "",
"oldName": "post_name"
4 months ago
},
{
"objectType": "TableField_MYSQL",
"name": "post_desc",
"type": "varchar",
"length": 255,
"decimals": -2147483648,
4 months ago
"isUnsigned": false,
"isZeroFill": false,
"setEnumValues": "",
"isBinary": false,
"charset": "",
"collation": "",
"isNullable": true,
"defaultType": "Others",
"defaultValue": "",
4 months ago
"isOnUpdateCurrentTimestamp": false,
"isAutoInc": false,
"comment": "岗位描述",
4 months ago
"columnFormat": "",
"storage": "",
"isVirtual": false,
"isGeneratedAlways": false,
"virtualExpr": "",
"virtualType": "",
"oldName": "post_desc"
4 months ago
},
{
"objectType": "TableField_MYSQL",
"name": "order_num",
4 months ago
"type": "int",
"length": -2147483648,
"decimals": -2147483648,
"isUnsigned": false,
"isZeroFill": false,
"setEnumValues": "",
"isBinary": false,
"charset": "",
"collation": "",
"isNullable": false,
"defaultType": "Others",
"defaultValue": "0",
4 months ago
"isOnUpdateCurrentTimestamp": false,
"isAutoInc": false,
"comment": "排序:默认0",
4 months ago
"columnFormat": "",
"storage": "",
"isVirtual": false,
"isGeneratedAlways": false,
"virtualExpr": "",
"virtualType": "",
"oldName": "order_num"
4 months ago
},
{
"objectType": "TableField_MYSQL",
"name": "status",
4 months ago
"type": "int",
"length": -2147483648,
"decimals": -2147483648,
"isUnsigned": false,
"isZeroFill": false,
"setEnumValues": "",
"isBinary": false,
"charset": "",
"collation": "",
"isNullable": false,
"defaultType": "Others",
"defaultValue": "0",
4 months ago
"isOnUpdateCurrentTimestamp": false,
"isAutoInc": false,
"comment": "状态:默认0可以用,1禁用",
4 months ago
"columnFormat": "",
"storage": "",
"isVirtual": false,
"isGeneratedAlways": false,
"virtualExpr": "",
"virtualType": "",
"oldName": "status"
4 months ago
},
{
"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,
4 months ago
"order": "",
"oldName": ""
}
],
"oldName": "",
"indexMethod": "",
"comment": ""
},
"foreignKeys": [],
"checks": [],
"triggers": [],
"tablePartitions": []
},
{
"objectType": "Table_MYSQL",
"name": "pac_core_dict",
"comment": "核心字典",
4 months ago
"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": "数据完整性确认",
4 months ago
"columnFormat": "",
"storage": "",
"isVirtual": false,
"isGeneratedAlways": false,
"virtualExpr": "",
"virtualType": "",
"oldName": "index"
},
{
"objectType": "TableField_MYSQL",
"name": "dict_id",
"type": "bigint",
4 months ago
"length": -2147483648,
"decimals": -2147483648,
"isUnsigned": false,
"isZeroFill": false,
"setEnumValues": "",
"isBinary": false,
"charset": "",
"collation": "",
"isNullable": false,
"defaultType": "Others",
"defaultValue": "",
"isOnUpdateCurrentTimestamp": false,
"isAutoInc": false,
"comment": "字典项id,",
4 months ago
"columnFormat": "",
"storage": "",
"isVirtual": false,
"isGeneratedAlways": false,
"virtualExpr": "",
"virtualType": "",
"oldName": "dict_id"
4 months ago
},
{
"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,
4 months ago
"decimals": -2147483648,
"isUnsigned": false,
"isZeroFill": false,
"setEnumValues": "",
"isBinary": false,
"charset": "",
"collation": "",
"isNullable": false,
"defaultType": "Others",
"defaultValue": "",
4 months ago
"isOnUpdateCurrentTimestamp": false,
"isAutoInc": false,
"comment": "字典项名称",
4 months ago
"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"
4 months ago
},
{
"objectType": "TableField_MYSQL",
"name": "dict_type",
4 months ago
"type": "int",
"length": -2147483648,
"decimals": -2147483648,
"isUnsigned": true,
4 months ago
"isZeroFill": false,
"setEnumValues": "",
"isBinary": false,
"charset": "",
"collation": "",
"isNullable": false,
"defaultType": "Others",
"defaultValue": "0",
4 months ago
"isOnUpdateCurrentTimestamp": false,
"isAutoInc": false,
"comment": "字典类型:0字符串、1图片、2图标,后面可拓展",
4 months ago
"columnFormat": "",
"storage": "",
"isVirtual": false,
"isGeneratedAlways": false,
"virtualExpr": "",
"virtualType": "",
"oldName": "dict_type"
4 months ago
},
{
"objectType": "TableField_MYSQL",
"name": "root",
"type": "int",
"length": -2147483648,
"decimals": -2147483648,
"isUnsigned": true,
4 months ago
"isZeroFill": false,
"setEnumValues": "",
"isBinary": false,
"charset": "",
"collation": "",
"isNullable": false,
"defaultType": "Others",
"defaultValue": "0",
4 months ago
"isOnUpdateCurrentTimestamp": false,
"isAutoInc": false,
"comment": "默认0公有数据",
4 months ago
"columnFormat": "",
"storage": "",
"isVirtual": false,
"isGeneratedAlways": false,
"virtualExpr": "",
"virtualType": "",
"oldName": "root"
4 months ago
},
{
"objectType": "TableField_MYSQL",
"name": "order_num",
4 months ago
"type": "int",
"length": -2147483648,
"decimals": -2147483648,
"isUnsigned": true,
4 months ago
"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": "serviceKey",
"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": "serviceKey"
},
{
"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,
4 months ago
"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",
4 months ago
"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,
4 months ago
"order": "",
"oldName": ""
}
],
"oldName": "",
"indexMethod": "",
"comment": ""
},
"foreignKeys": [],
"checks": [],
"triggers": [],
"tablePartitions": []
},
{
"objectType": "Table_MYSQL",
"name": "pac_core_menu",
"comment": "系统菜单",
4 months ago
"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,
4 months ago
"isAutoInc": true,
4 months ago
"comment": "数据完整性确认",
"columnFormat": "",
"storage": "",
"isVirtual": false,
"isGeneratedAlways": false,
"virtualExpr": "",
"virtualType": "",
"oldName": "index"
},
{
"objectType": "TableField_MYSQL",
"name": "menu_id",
"type": "bigint",
4 months ago
"length": -2147483648,
"decimals": -2147483648,
"isUnsigned": false,
"isZeroFill": false,
"setEnumValues": "",
"isBinary": false,
"charset": "",
"collation": "",
"isNullable": false,
"defaultType": "Others",
"defaultValue": "",
"isOnUpdateCurrentTimestamp": false,
"isAutoInc": false,
"comment": "菜单ID",
4 months ago
"columnFormat": "",
"storage": "",
"isVirtual": false,
"isGeneratedAlways": false,
"virtualExpr": "",
"virtualType": "",
"oldName": "menu_id"
4 months ago
},
{
"objectType": "TableField_MYSQL",
"name": "pid",
"type": "bigint",
"length": -2147483648,
4 months ago
"decimals": -2147483648,
"isUnsigned": false,
"isZeroFill": false,
"setEnumValues": "",
"isBinary": false,
"charset": "",
"collation": "",
"isNullable": false,
"defaultType": "Others",
"defaultValue": "0",
4 months ago
"isOnUpdateCurrentTimestamp": false,
"isAutoInc": false,
"comment": "父ID",
4 months ago
"columnFormat": "",
"storage": "",
"isVirtual": false,
"isGeneratedAlways": false,
"virtualExpr": "",
"virtualType": "",
"oldName": "pid"
4 months ago
},
{
"objectType": "TableField_MYSQL",
"name": "have_children",
"type": "int",
"length": -2147483648,
4 months ago
"decimals": -2147483648,
"isUnsigned": false,
"isZeroFill": false,
"setEnumValues": "",
"isBinary": false,
"charset": "",
"collation": "",
"isNullable": false,
"defaultType": "Others",
"defaultValue": "0",
4 months ago
"isOnUpdateCurrentTimestamp": false,
"isAutoInc": false,
"comment": "是否含有子节点:默认0不含有",
4 months ago
"columnFormat": "",
"storage": "",
"isVirtual": false,
"isGeneratedAlways": false,
"virtualExpr": "",
"virtualType": "",
"oldName": "have_children"
4 months ago
},
{
"objectType": "TableField_MYSQL",
"name": "api_path",
4 months ago
"type": "varchar",
"length": 255,
"decimals": -2147483648,
"isUnsigned": false,
"isZeroFill": false,
"setEnumValues": "",
"isBinary": false,
"charset": "",
"collation": "",
"isNullable": true,
"defaultType": "Null",
"defaultValue": "NULL",
4 months ago
"isOnUpdateCurrentTimestamp": false,
"isAutoInc": false,
"comment": "后端权限地址",
4 months ago
"columnFormat": "",
"storage": "",
"isVirtual": false,
"isGeneratedAlways": false,
"virtualExpr": "",
"virtualType": "",
"oldName": "api_path"
4 months ago
},
{
"objectType": "TableField_MYSQL",
"name": "web_path",
"type": "varchar",
"length": 255,
4 months ago
"decimals": -2147483648,
"isUnsigned": false,
"isZeroFill": false,
"setEnumValues": "",
"isBinary": false,
"charset": "",
"collation": "",
"isNullable": true,
"defaultType": "Null",
"defaultValue": "NULL",
4 months ago
"isOnUpdateCurrentTimestamp": false,
"isAutoInc": false,
"comment": "前端路由地址",
4 months ago
"columnFormat": "",
"storage": "",
"isVirtual": false,
"isGeneratedAlways": false,
"virtualExpr": "",
"virtualType": "",
"oldName": "web_path"
4 months ago
},
{
"objectType": "TableField_MYSQL",
"name": "web_component_path",
"type": "varchar",
"length": 255,
4 months ago
"decimals": -2147483648,
"isUnsigned": false,
"isZeroFill": false,
"setEnumValues": "",
"isBinary": false,
"charset": "",
"collation": "",
"isNullable": true,
"defaultType": "Null",
"defaultValue": "NULL",
4 months ago
"isOnUpdateCurrentTimestamp": false,
"isAutoInc": false,
"comment": "",
4 months ago
"columnFormat": "",
"storage": "",
"isVirtual": false,
"isGeneratedAlways": false,
"virtualExpr": "",
"virtualType": "",
"oldName": "web_component_path"
4 months ago
},
{
"objectType": "TableField_MYSQL",
"name": "menu_name",
"type": "varchar",
"length": 255,
4 months ago
"decimals": -2147483648,
"isUnsigned": false,
"isZeroFill": false,
"setEnumValues": "",
"isBinary": false,
"charset": "",
"collation": "",
"isNullable": false,
4 months ago
"defaultType": "Others",
"defaultValue": "",
4 months ago
"isOnUpdateCurrentTimestamp": false,
"isAutoInc": false,
"comment": "菜单名称",
4 months ago
"columnFormat": "",
"storage": "",
"isVirtual": false,
"isGeneratedAlways": false,
"virtualExpr": "",
"virtualType": "",
"oldName": "menu_name"
4 months ago
},
{
"objectType": "TableField_MYSQL",
"name": "menu_desc",
"type": "varchar",
"length": 255,
4 months ago
"decimals": -2147483648,
"isUnsigned": false,
"isZeroFill": false,
"setEnumValues": "",
"isBinary": false,
"charset": "",
"collation": "",
4 months ago
"isNullable": true,
4 months ago
"defaultType": "Others",
4 months ago
"defaultValue": "",
4 months ago
"isOnUpdateCurrentTimestamp": false,
"isAutoInc": false,
"comment": "菜单描述",
4 months ago
"columnFormat": "",
"storage": "",
"isVirtual": false,
"isGeneratedAlways": false,
"virtualExpr": "",
"virtualType": "",
"oldName": "menu_desc"
4 months ago
},
{
"objectType": "TableField_MYSQL",
"name": "menu_type",
"type": "bigint",
"length": -2147483648,
4 months ago
"decimals": -2147483648,
"isUnsigned": false,
"isZeroFill": false,
"setEnumValues": "",
"isBinary": false,
"charset": "",
"collation": "",
"isNullable": false,
4 months ago
"defaultType": "Others",
"defaultValue": "0",
4 months ago
"isOnUpdateCurrentTimestamp": false,
"isAutoInc": false,
"comment": "菜单类型:来源于字典,默认0为默认类型",
4 months ago
"columnFormat": "",
"storage": "",
"isVirtual": false,
"isGeneratedAlways": false,
"virtualExpr": "",
"virtualType": "",
"oldName": "menu_type"
4 months ago
},
{
"objectType": "TableField_MYSQL",
"name": "menu_icon",
"type": "varchar",
"length": 255,
4 months ago
"decimals": -2147483648,
"isUnsigned": false,
"isZeroFill": false,
"setEnumValues": "",
"isBinary": false,
"charset": "",
"collation": "",
"isNullable": true,
4 months ago
"defaultType": "Others",
"defaultValue": "",
4 months ago
"isOnUpdateCurrentTimestamp": false,
"isAutoInc": false,
"comment": "菜单图标",
4 months ago
"columnFormat": "",
"storage": "",
"isVirtual": false,
"isGeneratedAlways": false,
"virtualExpr": "",
"virtualType": "",
"oldName": "menu_icon"
4 months ago
},
{
"objectType": "TableField_MYSQL",
"name": "is_frame",
"type": "int",
"length": -2147483648,
"decimals": -2147483648,
4 months ago
"isUnsigned": false,
"isZeroFill": false,
"setEnumValues": "",
"isBinary": false,
"charset": "",
"collation": "",
"isNullable": false,
4 months ago
"defaultType": "Others",
"defaultValue": "0",
4 months ago
"isOnUpdateCurrentTimestamp": false,
"isAutoInc": false,
"comment": "是否是外链:默认0不是外链,1时外链",
4 months ago
"columnFormat": "",
"storage": "",
"isVirtual": false,
"isGeneratedAlways": false,
"virtualExpr": "",
"virtualType": "",
"oldName": "is_frame"
4 months ago
},
{
"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": "1",
"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": "1",
"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,
4 months ago
"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_key",
"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_key"
},
{
"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": "",
4 months ago
"isOnUpdateCurrentTimestamp": false,
"isAutoInc": false,
"comment": "创建时间",
"columnFormat": "",
"storage": "",
"isVirtual": false,
"isGeneratedAlways": false,
"virtualExpr": "",
"virtualType": "",
"oldName": "createtime"
},
{
"objectType": "TableField_MYSQL",
"name": "updateby",
"type": "bigint",
4 months ago
"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",
4 months ago
"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",
4 months ago
"keyLength": -2147483648,
"order": "",
"oldName": ""
}
],
"oldName": "",
"indexMethod": "",
"comment": ""
},
"foreignKeys": [],
"checks": [],
"triggers": [],
"tablePartitions": []
},
{
"objectType": "Table_MYSQL",
"name": "pac_core_env",
"comment": "系统内运行时的环境变量",
4 months ago
"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": "数据完整性确认",
4 months ago
"columnFormat": "",
"storage": "",
"isVirtual": false,
"isGeneratedAlways": false,
"virtualExpr": "",
"virtualType": "",
"oldName": "index"
},
{
"objectType": "TableField_MYSQL",
"name": "env_id",
"type": "bigint",
4 months ago
"length": -2147483648,
"decimals": -2147483648,
"isUnsigned": false,
"isZeroFill": false,
"setEnumValues": "",
"isBinary": false,
"charset": "",
"collation": "",
"isNullable": false,
"defaultType": "Others",
"defaultValue": "",
"isOnUpdateCurrentTimestamp": false,
"isAutoInc": false,
"comment": "变量id",
4 months ago
"columnFormat": "",
"storage": "",
"isVirtual": false,
"isGeneratedAlways": false,
"virtualExpr": "",
"virtualType": "",
"oldName": "env_id"
4 months ago
},
{
"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,
4 months ago
"decimals": -2147483648,
"isUnsigned": false,
"isZeroFill": false,
"setEnumValues": "",
"isBinary": false,
"charset": "",
"collation": "",
"isNullable": false,
"defaultType": "Others",
"defaultValue": "",
4 months ago
"isOnUpdateCurrentTimestamp": false,
"isAutoInc": false,
"comment": "变量值",
4 months ago
"columnFormat": "",
"storage": "",
"isVirtual": false,
"isGeneratedAlways": false,
"virtualExpr": "",
"virtualType": "",
"oldName": "env_val"
4 months ago
},
{
"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,
4 months ago
"decimals": -2147483648,
"isUnsigned": false,
"isZeroFill": false,
"setEnumValues": "",
"isBinary": false,
"charset": "",
"collation": "",
"isNullable": true,
"defaultType": "Others",
"defaultValue": "",
4 months ago
"isOnUpdateCurrentTimestamp": false,
"isAutoInc": false,
"comment": "变量描述",
4 months ago
"columnFormat": "",
"storage": "",
"isVirtual": false,
"isGeneratedAlways": false,
"virtualExpr": "",
"virtualType": "",
"oldName": "env_desc"
4 months ago
},
{
"objectType": "TableField_MYSQL",
"name": "have_children",
4 months ago
"type": "int",
"length": -2147483648,
"decimals": -2147483648,
"isUnsigned": false,
4 months ago
"isZeroFill": false,
"setEnumValues": "",
"isBinary": false,
"charset": "",
"collation": "",
"isNullable": false,
"defaultType": "Others",
"defaultValue": "0",
4 months ago
"isOnUpdateCurrentTimestamp": false,
"isAutoInc": false,
"comment": "含有子节点:默认0不含有,1含有",
4 months ago
"columnFormat": "",
"storage": "",
"isVirtual": false,
"isGeneratedAlways": false,
"virtualExpr": "",
"virtualType": "",
"oldName": "have_children"
4 months ago
},
{
"objectType": "TableField_MYSQL",
"name": "root",
"type": "int",
"length": -2147483648,
"decimals": -2147483648,
"isUnsigned": false,
4 months ago
"isZeroFill": false,
"setEnumValues": "",
"isBinary": false,
"charset": "",
"collation": "",
4 months ago
"isNullable": false,
4 months ago
"defaultType": "Others",
"defaultValue": "0",
4 months ago
"isOnUpdateCurrentTimestamp": false,
"isAutoInc": false,
"comment": "默认0,公共变量",
4 months ago
"columnFormat": "",
"storage": "",
"isVirtual": false,
"isGeneratedAlways": false,
"virtualExpr": "",
"virtualType": "",
"oldName": "root"
4 months ago
},
{
"objectType": "TableField_MYSQL",
"name": "order_num",
4 months ago
"type": "int",
"length": -2147483648,
"decimals": -2147483648,
"isUnsigned": false,
4 months ago
"isZeroFill": false,
"setEnumValues": "",
"isBinary": false,
"charset": "",
"collation": "",
"isNullable": false,
"defaultType": "Others",
"defaultValue": "0",
4 months ago
"isOnUpdateCurrentTimestamp": false,
"isAutoInc": false,
"comment": "排序:默认0",
4 months ago
"columnFormat": "",
"storage": "",
"isVirtual": false,
"isGeneratedAlways": false,
"virtualExpr": "",
"virtualType": "",
"oldName": "order_num"
4 months ago
},
{
"objectType": "TableField_MYSQL",
"name": "status",
"type": "int",
"length": -2147483648,
"decimals": -2147483648,
"isUnsigned": false,
4 months ago
"isZeroFill": false,
"setEnumValues": "",
"isBinary": false,
"charset": "",
"collation": "",
"isNullable": false,
"defaultType": "Others",
"defaultValue": "0",
4 months ago
"isOnUpdateCurrentTimestamp": false,
"isAutoInc": false,
"comment": "变量状态:0正常、1不可用",
4 months ago
"columnFormat": "",
"storage": "",
"isVirtual": false,
"isGeneratedAlways": false,
"virtualExpr": "",
"virtualType": "",
"oldName": "status"
4 months ago
},
{
"objectType": "TableField_MYSQL",
"name": "service_key",
"type": "varchar",
"length": 255,
"decimals": -2147483648,
4 months ago
"isUnsigned": false,
"isZeroFill": false,
"setEnumValues": "",
"isBinary": false,
"charset": "",
"collation": "",
"isNullable": false,
"defaultType": "Others",
"defaultValue": "0",
4 months ago
"isOnUpdateCurrentTimestamp": false,
"isAutoInc": false,
"comment": "所属服务:0归属于当前服务:pacAuth",
4 months ago
"columnFormat": "",
"storage": "",
"isVirtual": false,
"isGeneratedAlways": false,
"virtualExpr": "",
"virtualType": "",
"oldName": "service_key"
4 months ago
},
{
"objectType": "TableField_MYSQL",
"name": "createby",
"type": "bigint",
4 months ago
"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",
4 months ago
"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",
4 months ago
"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,
4 months ago
"order": "",
"oldName": ""
}
],
"oldName": "",
"indexMethod": "",
"comment": ""
},
"foreignKeys": [],
"checks": [],
"triggers": [],
"tablePartitions": []
},
{
"objectType": "Table_MYSQL",
"name": "pac_auth_role",
"comment": "角色",
4 months ago
"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,
4 months ago
"comment": "数据完整性确认",
4 months ago
"columnFormat": "",
"storage": "",
"isVirtual": false,
"isGeneratedAlways": false,
"virtualExpr": "",
"virtualType": "",
"oldName": "index"
},
{
"objectType": "TableField_MYSQL",
"name": "role_id",
"type": "bigint",
4 months ago
"length": -2147483648,
"decimals": -2147483648,
"isUnsigned": false,
"isZeroFill": false,
"setEnumValues": "",
"isBinary": false,
"charset": "",
"collation": "",
"isNullable": false,
"defaultType": "Others",
"defaultValue": "",
"isOnUpdateCurrentTimestamp": false,
"isAutoInc": false,
"comment": "角色id",
4 months ago
"columnFormat": "",
"storage": "",
"isVirtual": false,
"isGeneratedAlways": false,
"virtualExpr": "",
"virtualType": "",
"oldName": "role_id"
4 months ago
},
{
"objectType": "TableField_MYSQL",
"name": "pid",
"type": "bigint",
"length": -2147483648,
4 months ago
"decimals": -2147483648,
"isUnsigned": false,
"isZeroFill": false,
"setEnumValues": "",
"isBinary": false,
"charset": "",
"collation": "",
"isNullable": false,
"defaultType": "Others",
"defaultValue": "0",
4 months ago
"isOnUpdateCurrentTimestamp": false,
"isAutoInc": false,
"comment": "父id",
4 months ago
"columnFormat": "",
"storage": "",
"isVirtual": false,
"isGeneratedAlways": false,
"virtualExpr": "",
"virtualType": "",
"oldName": "pid"
4 months ago
},
{
"objectType": "TableField_MYSQL",
"name": "role_name",
4 months ago
"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,
4 months ago
"defaultType": "Others",
"defaultValue": "",
"isOnUpdateCurrentTimestamp": false,
"isAutoInc": false,
"comment": "角色标识",
4 months ago
"columnFormat": "",
"storage": "",
"isVirtual": false,
"isGeneratedAlways": false,
"virtualExpr": "",
"virtualType": "",
"oldName": "role_key"
4 months ago
},
{
"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",
4 months ago
"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",
4 months ago
"columnFormat": "",
"storage": "",
"isVirtual": false,
"isGeneratedAlways": false,
"virtualExpr": "",
"virtualType": "",
"oldName": "role_type"
4 months ago
},
{
"objectType": "TableField_MYSQL",
"name": "dept_scope",
"type": "int",
"length": -2147483648,
4 months ago
"decimals": -2147483648,
"isUnsigned": false,
"isZeroFill": false,
"setEnumValues": "",
"isBinary": false,
"charset": "",
"collation": "",
"isNullable": false,
4 months ago
"defaultType": "Others",
"defaultValue": "1",
4 months ago
"isOnUpdateCurrentTimestamp": false,
"isAutoInc": false,
"comment": "数据范围:默认全部1(1:全部数据权限 2:自定数据权限 3:本部门数据权限 4:本部门及以下数据权限)",
4 months ago
"columnFormat": "",
"storage": "",
"isVirtual": false,
"isGeneratedAlways": false,
"virtualExpr": "",
"virtualType": "",
"oldName": "dept_scope"
4 months ago
},
{
"objectType": "TableField_MYSQL",
"name": "have_children",
"type": "int",
"length": -2147483648,
4 months ago
"decimals": -2147483648,
"isUnsigned": false,
"isZeroFill": false,
"setEnumValues": "",
"isBinary": false,
"charset": "",
"collation": "",
"isNullable": false,
4 months ago
"defaultType": "Others",
"defaultValue": "0",
4 months ago
"isOnUpdateCurrentTimestamp": false,
"isAutoInc": false,
"comment": "",
4 months ago
"columnFormat": "",
"storage": "",
"isVirtual": false,
"isGeneratedAlways": false,
"virtualExpr": "",
"virtualType": "",
"oldName": "have_children"
4 months ago
},
{
"objectType": "TableField_MYSQL",
"name": "root",
"type": "int",
"length": -2147483648,
4 months ago
"decimals": -2147483648,
"isUnsigned": false,
"isZeroFill": false,
"setEnumValues": "",
"isBinary": false,
"charset": "",
"collation": "",
"isNullable": false,
4 months ago
"defaultType": "Others",
"defaultValue": "0",
4 months ago
"isOnUpdateCurrentTimestamp": false,
"isAutoInc": false,
"comment": "1是属于Root的,无法删除和修改",
4 months ago
"columnFormat": "",
"storage": "",
"isVirtual": false,
"isGeneratedAlways": false,
"virtualExpr": "",
"virtualType": "",
"oldName": "root"
4 months ago
},
{
"objectType": "TableField_MYSQL",
"name": "order_num",
4 months ago
"type": "int",
"length": -2147483648,
"decimals": -2147483648,
"isUnsigned": false,
"isZeroFill": false,
"setEnumValues": "",
"isBinary": false,
"charset": "",
"collation": "",
"isNullable": false,
"defaultType": "Others",
4 months ago
"defaultValue": "0",
4 months ago
"isOnUpdateCurrentTimestamp": false,
"isAutoInc": false,
"comment": "排序:默认0",
4 months ago
"columnFormat": "",
"storage": "",
"isVirtual": false,
"isGeneratedAlways": false,
"virtualExpr": "",
"virtualType": "",
"oldName": "order_num"
4 months ago
},
{
"objectType": "TableField_MYSQL",
"name": "status",
4 months ago
"type": "int",
"length": -2147483648,
"decimals": -2147483648,
"isUnsigned": false,
"isZeroFill": false,
"setEnumValues": "",
"isBinary": false,
"charset": "",
"collation": "",
"isNullable": false,
"defaultType": "Others",
4 months ago
"defaultValue": "0",
4 months ago
"isOnUpdateCurrentTimestamp": false,
"isAutoInc": false,
"comment": "状态:默认0可用,1禁用",
4 months ago
"columnFormat": "",
"storage": "",
"isVirtual": false,
"isGeneratedAlways": false,
"virtualExpr": "",
"virtualType": "",
"oldName": "status"
},
4 months ago
{
"objectType": "TableField_MYSQL",
"name": "createby",
4 months ago
"type": "bigint",
4 months ago
"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",
4 months ago
"defaultValue": "",
"isOnUpdateCurrentTimestamp": false,
"isAutoInc": false,
"comment": "创建时间",
"columnFormat": "",
"storage": "",
"isVirtual": false,
"isGeneratedAlways": false,
"virtualExpr": "",
"virtualType": "",
"oldName": "createtime"
},
{
"objectType": "TableField_MYSQL",
"name": "updateby",
4 months ago
"type": "bigint",
4 months ago
"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",
4 months ago
"type": "bigint",
4 months ago
"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",
4 months ago
"keyLength": -2147483648,
"order": "",
"oldName": ""
}
],
"oldName": "",
"indexMethod": "",
"comment": ""
},
"foreignKeys": [],
"checks": [],
"triggers": [],
"tablePartitions": []
},
{
"objectType": "Table_MYSQL",
"name": "pac_auth_link_user_post",
"comment": "用户岗位关联",
4 months ago
"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",
4 months ago
"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": "",
4 months ago
"columnFormat": "",
"storage": "",
"isVirtual": false,
"isGeneratedAlways": false,
"virtualExpr": "",
"virtualType": "",
"oldName": "user_id"
4 months ago
},
{
"objectType": "TableField_MYSQL",
"name": "post_id",
4 months ago
"type": "bigint",
"length": -2147483648,
4 months ago
"decimals": -2147483648,
"isUnsigned": false,
4 months ago
"isZeroFill": false,
"setEnumValues": "",
"isBinary": false,
"charset": "",
"collation": "",
"isNullable": false,
4 months ago
"defaultType": "Others",
"defaultValue": "",
4 months ago
"isOnUpdateCurrentTimestamp": false,
"isAutoInc": false,
"comment": "",
4 months ago
"columnFormat": "",
"storage": "",
"isVirtual": false,
"isGeneratedAlways": false,
"virtualExpr": "",
"virtualType": "",
"oldName": "post_id"
4 months ago
},
{
"objectType": "TableField_MYSQL",
"name": "createby",
"type": "bigint",
"length": 0,
"decimals": 0,
4 months ago
"isUnsigned": false,
"isZeroFill": false,
"setEnumValues": "",
"isBinary": false,
"charset": "",
"collation": "",
"isNullable": false,
4 months ago
"defaultType": "Others",
"defaultValue": "",
"isOnUpdateCurrentTimestamp": false,
"isAutoInc": false,
"comment": "创建人",
4 months ago
"columnFormat": "",
"storage": "",
"isVirtual": false,
"isGeneratedAlways": false,
"virtualExpr": "",
"virtualType": "",
"oldName": "createby"
4 months ago
},
{
"objectType": "TableField_MYSQL",
"name": "createtime",
"type": "datetime",
"length": 0,
"decimals": 0,
4 months ago
"isUnsigned": false,
"isZeroFill": false,
"setEnumValues": "",
"isBinary": false,
"charset": "",
"collation": "",
4 months ago
"isNullable": false,
4 months ago
"defaultType": "Others",
"defaultValue": "",
"isOnUpdateCurrentTimestamp": false,
"isAutoInc": false,
"comment": "创建时间",
4 months ago
"columnFormat": "",
"storage": "",
"isVirtual": false,
"isGeneratedAlways": false,
"virtualExpr": "",
"virtualType": "",
"oldName": "createtime"
}
],
"indexes": [
4 months ago
{
"objectType": "Index_MYSQL",
"name": "pac_index",
"type": "UNIQUE",
"method": "",
"comment": "",
"oldName": "",
"online": false,
"keyBlockSize": 0,
"parser": "",
"algorithm": "",
"lock": "",
4 months ago
"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": [
4 months ago
{
"objectType": "TableField_MYSQL",
"name": "index",
4 months ago
"type": "int",
"length": -2147483648,
4 months ago
"decimals": -2147483648,
"isUnsigned": false,
4 months ago
"isZeroFill": false,
"setEnumValues": "",
"isBinary": false,
"charset": "",
"collation": "",
4 months ago
"isNullable": false,
4 months ago
"defaultType": "Others",
"defaultValue": "",
4 months ago
"isOnUpdateCurrentTimestamp": false,
"isAutoInc": true,
"comment": "数据完整性确认",
4 months ago
"columnFormat": "",
"storage": "",
"isVirtual": false,
"isGeneratedAlways": false,
"virtualExpr": "",
"virtualType": "",
"oldName": "index"
4 months ago
},
{
"objectType": "TableField_MYSQL",
"name": "user_id",
"type": "bigint",
4 months ago
"length": -2147483648,
4 months ago
"decimals": -2147483648,
"isUnsigned": false,
4 months ago
"isZeroFill": false,
"setEnumValues": "",
"isBinary": false,
"charset": "",
"collation": "",
4 months ago
"isNullable": false,
4 months ago
"defaultType": "Others",
"defaultValue": "",
4 months ago
"isOnUpdateCurrentTimestamp": false,
"isAutoInc": false,
"comment": "",
4 months ago
"columnFormat": "",
"storage": "",
"isVirtual": false,
"isGeneratedAlways": false,
"virtualExpr": "",
"virtualType": "",
"oldName": "user_id"
4 months ago
},
{
"objectType": "TableField_MYSQL",
"name": "role_id",
"type": "bigint",
4 months ago
"length": -2147483648,
4 months ago
"decimals": -2147483648,
"isUnsigned": false,
4 months ago
"isZeroFill": false,
"setEnumValues": "",
"isBinary": false,
"charset": "",
"collation": "",
4 months ago
"isNullable": false,
4 months ago
"defaultType": "Others",
"defaultValue": "",
4 months ago
"isOnUpdateCurrentTimestamp": false,
"isAutoInc": false,
"comment": "",
4 months ago
"columnFormat": "",
"storage": "",
"isVirtual": false,
"isGeneratedAlways": false,
"virtualExpr": "",
"virtualType": "",
"oldName": "role_id"
4 months ago
},
{
"objectType": "TableField_MYSQL",
"name": "createby",
"type": "bigint",
"length": 0,
"decimals": 0,
4 months ago
"isUnsigned": false,
"isZeroFill": false,
"setEnumValues": "",
"isBinary": false,
"charset": "",
"collation": "",
"isNullable": false,
"defaultType": "Others",
"defaultValue": "",
4 months ago
"isOnUpdateCurrentTimestamp": false,
"isAutoInc": false,
"comment": "创建人",
4 months ago
"columnFormat": "",
"storage": "",
"isVirtual": false,
"isGeneratedAlways": false,
"virtualExpr": "",
"virtualType": "",
"oldName": "createby"
4 months ago
},
{
"objectType": "TableField_MYSQL",
"name": "createtime",
"type": "datetime",
"length": 0,
"decimals": 0,
4 months ago
"isUnsigned": false,
"isZeroFill": false,
"setEnumValues": "",
"isBinary": false,
"charset": "",
"collation": "",
"isNullable": false,
"defaultType": "Others",
"defaultValue": "",
4 months ago
"isOnUpdateCurrentTimestamp": false,
"isAutoInc": false,
"comment": "创建时间",
4 months ago
"columnFormat": "",
"storage": "",
"isVirtual": false,
"isGeneratedAlways": false,
"virtualExpr": "",
"virtualType": "",
"oldName": "createtime"
}
],
"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_role_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": [
4 months ago
{
"objectType": "TableField_MYSQL",
"name": "index",
"type": "int",
"length": -2147483648,
"decimals": -2147483648,
4 months ago
"isUnsigned": false,
"isZeroFill": false,
"setEnumValues": "",
"isBinary": false,
"charset": "",
"collation": "",
"isNullable": false,
"defaultType": "Others",
"defaultValue": "",
"isOnUpdateCurrentTimestamp": false,
"isAutoInc": true,
"comment": "数据完整性确认",
4 months ago
"columnFormat": "",
"storage": "",
"isVirtual": false,
"isGeneratedAlways": false,
"virtualExpr": "",
"virtualType": "",
"oldName": "index"
4 months ago
},
{
"objectType": "TableField_MYSQL",
"name": "role_id",
"type": "bigint",
"length": -2147483648,
"decimals": -2147483648,
4 months ago
"isUnsigned": false,
"isZeroFill": false,
"setEnumValues": "",
"isBinary": false,
"charset": "",
"collation": "",
"isNullable": false,
4 months ago
"defaultType": "Others",
4 months ago
"defaultValue": "",
"isOnUpdateCurrentTimestamp": false,
"isAutoInc": false,
"comment": "",
4 months ago
"columnFormat": "",
"storage": "",
"isVirtual": false,
"isGeneratedAlways": false,
"virtualExpr": "",
"virtualType": "",
"oldName": "role_id"
4 months ago
},
{
"objectType": "TableField_MYSQL",
"name": "dept_id",
4 months ago
"type": "bigint",
"length": -2147483648,
"decimals": -2147483648,
4 months ago
"isUnsigned": false,
"isZeroFill": false,
"setEnumValues": "",
"isBinary": false,
"charset": "",
"collation": "",
"isNullable": false,
"defaultType": "Others",
"defaultValue": "",
4 months ago
"isOnUpdateCurrentTimestamp": false,
"isAutoInc": false,
"comment": "",
4 months ago
"columnFormat": "",
"storage": "",
"isVirtual": false,
"isGeneratedAlways": false,
"virtualExpr": "",
"virtualType": "",
"oldName": "dept_id"
4 months ago
},
{
"objectType": "TableField_MYSQL",
"name": "createby",
4 months ago
"type": "bigint",
"length": 0,
"decimals": 0,
"isUnsigned": false,
"isZeroFill": false,
"setEnumValues": "",
"isBinary": false,
"charset": "",
"collation": "",
"isNullable": false,
"defaultType": "Others",
"defaultValue": "",
4 months ago
"isOnUpdateCurrentTimestamp": false,
"isAutoInc": false,
"comment": "创建人",
4 months ago
"columnFormat": "",
"storage": "",
"isVirtual": false,
"isGeneratedAlways": false,
"virtualExpr": "",
"virtualType": "",
"oldName": "createby"
4 months ago
},
{
"objectType": "TableField_MYSQL",
"name": "createtime",
4 months ago
"type": "datetime",
"length": 0,
"decimals": 0,
"isUnsigned": false,
"isZeroFill": false,
"setEnumValues": "",
"isBinary": false,
"charset": "",
"collation": "",
"isNullable": false,
"defaultType": "Others",
"defaultValue": "",
4 months ago
"isOnUpdateCurrentTimestamp": false,
"isAutoInc": false,
"comment": "创建时间",
4 months ago
"columnFormat": "",
"storage": "",
"isVirtual": false,
"isGeneratedAlways": false,
"virtualExpr": "",
"virtualType": "",
"oldName": "createtime"
4 months ago
}
],
"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": [],
4 months ago
"oldName": "",
"indexMethod": "",
"comment": ""
},
"foreignKeys": [],
"checks": [],
"triggers": [],
"tablePartitions": []
},
{
"objectType": "Table_MYSQL",
"name": "pac_auth_link_role_menu",
"comment": "角色菜单关联",
4 months ago
"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": "",
4 months ago
"oldName": "index"
4 months ago
},
{
"objectType": "TableField_MYSQL",
"name": "role_id",
4 months ago
"type": "bigint",
"length": -2147483648,
"decimals": -2147483648,
"isUnsigned": false,
"isZeroFill": false,
"setEnumValues": "",
"isBinary": false,
"charset": "",
"collation": "",
"isNullable": false,
"defaultType": "Others",
4 months ago
"defaultValue": "",
4 months ago
"isOnUpdateCurrentTimestamp": false,
"isAutoInc": false,
"comment": "",
4 months ago
"columnFormat": "",
"storage": "",
"isVirtual": false,
"isGeneratedAlways": false,
"virtualExpr": "",
"virtualType": "",
"oldName": "role_id"
4 months ago
},
{
"objectType": "TableField_MYSQL",
"name": "menu_id",
4 months ago
"type": "bigint",
"length": -2147483648,
4 months ago
"decimals": -2147483648,
"isUnsigned": false,
4 months ago
"isZeroFill": false,
"setEnumValues": "",
"isBinary": false,
"charset": "",
"collation": "",
"isNullable": false,
4 months ago
"defaultType": "Others",
"defaultValue": "",
4 months ago
"isOnUpdateCurrentTimestamp": false,
"isAutoInc": false,
"comment": "",
4 months ago
"columnFormat": "",
"storage": "",
"isVirtual": false,
"isGeneratedAlways": false,
"virtualExpr": "",
"virtualType": "",
"oldName": "menu_id"
4 months ago
},
{
"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,
4 months ago
"isUnsigned": false,
"isZeroFill": false,
"setEnumValues": "",
"isBinary": false,
"charset": "",
"collation": "",
"isNullable": false,
"defaultType": "Others",
"defaultValue": "",
"isOnUpdateCurrentTimestamp": false,
"isAutoInc": false,
"comment": "创建时间",
4 months ago
"columnFormat": "",
"storage": "",
"isVirtual": false,
"isGeneratedAlways": false,
"virtualExpr": "",
"virtualType": "",
"oldName": "createtime"
}
],
"indexes": [
4 months ago
{
"objectType": "Index_MYSQL",
"name": "pac_index",
"type": "UNIQUE",
"method": "",
"comment": "",
"oldName": "",
"online": false,
"keyBlockSize": 0,
"parser": "",
"algorithm": "",
"lock": "",
4 months ago
"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_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": [
4 months ago
{
"objectType": "TableField_MYSQL",
"name": "index",
4 months ago
"type": "int",
"length": -2147483648,
"decimals": -2147483648,
"isUnsigned": false,
4 months ago
"isZeroFill": false,
"setEnumValues": "",
"isBinary": false,
"charset": "",
"collation": "",
"isNullable": false,
"defaultType": "Others",
"defaultValue": "",
4 months ago
"isOnUpdateCurrentTimestamp": false,
"isAutoInc": true,
"comment": "数据完整性确认",
4 months ago
"columnFormat": "",
"storage": "",
"isVirtual": false,
"isGeneratedAlways": false,
"virtualExpr": "",
"virtualType": "",
"oldName": "index"
4 months ago
},
{
"objectType": "TableField_MYSQL",
"name": "user_id",
"type": "bigint",
4 months ago
"length": -2147483648,
"decimals": -2147483648,
"isUnsigned": false,
4 months ago
"isZeroFill": false,
"setEnumValues": "",
"isBinary": false,
"charset": "",
"collation": "",
"isNullable": false,
"defaultType": "Others",
"defaultValue": "",
4 months ago
"isOnUpdateCurrentTimestamp": false,
"isAutoInc": false,
"comment": "",
4 months ago
"columnFormat": "",
"storage": "",
"isVirtual": false,
"isGeneratedAlways": false,
"virtualExpr": "",
"virtualType": "",
"oldName": "user_id"
4 months ago
},
{
"objectType": "TableField_MYSQL",
"name": "dept_id",
"type": "bigint",
"length": -2147483648,
4 months ago
"decimals": -2147483648,
"isUnsigned": false,
"isZeroFill": false,
"setEnumValues": "",
"isBinary": false,
"charset": "",
"collation": "",
"isNullable": false,
"defaultType": "Others",
"defaultValue": "",
4 months ago
"isOnUpdateCurrentTimestamp": false,
"isAutoInc": false,
"comment": "",
4 months ago
"columnFormat": "",
"storage": "",
"isVirtual": false,
"isGeneratedAlways": false,
"virtualExpr": "",
"virtualType": "",
"oldName": "dept_id"
4 months ago
},
{
"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"
}
],
"indexes": [
4 months ago
{
"objectType": "Index_MYSQL",
"name": "pac_index",
"type": "UNIQUE",
"method": "",
"comment": "",
"oldName": "",
"online": false,
"keyBlockSize": 0,
"parser": "",
"algorithm": "",
"lock": "",
4 months ago
"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",
4 months ago
"keyLength": -2147483648,
"order": "",
"oldName": ""
}
],
"oldName": "",
"indexMethod": "",
"comment": ""
},
"foreignKeys": [],
"checks": [],
"triggers": [],
"tablePartitions": []
},
{
"objectType": "Table_MYSQL",
"name": "pac_auth_dept",
"comment": "系统组织架构",
4 months ago
"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",
4 months ago
"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",
4 months ago
"columnFormat": "",
"storage": "",
"isVirtual": false,
"isGeneratedAlways": false,
"virtualExpr": "",
"virtualType": "",
"oldName": "dept_id"
4 months ago
},
{
"objectType": "TableField_MYSQL",
"name": "pid",
4 months ago
"type": "bigint",
"length": -2147483648,
"decimals": -2147483648,
4 months ago
"isUnsigned": false,
4 months ago
"isZeroFill": false,
"setEnumValues": "",
"isBinary": false,
"charset": "",
"collation": "",
4 months ago
"isNullable": false,
4 months ago
"defaultType": "Others",
"defaultValue": "0",
4 months ago
"isOnUpdateCurrentTimestamp": false,
"isAutoInc": false,
"comment": "父id",
4 months ago
"columnFormat": "",
"storage": "",
"isVirtual": false,
"isGeneratedAlways": false,
"virtualExpr": "",
"virtualType": "",
"oldName": "pid"
4 months ago
},
{
"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": false,
"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,
4 months ago
"decimals": -2147483648,
"isUnsigned": false,
"isZeroFill": false,
"setEnumValues": "",
"isBinary": false,
"charset": "",
"collation": "",
"isNullable": true,
4 months ago
"defaultType": "Others",
"defaultValue": "",
4 months ago
"isOnUpdateCurrentTimestamp": false,
"isAutoInc": false,
"comment": "部门描述",
4 months ago
"columnFormat": "",
"storage": "",
"isVirtual": false,
"isGeneratedAlways": false,
"virtualExpr": "",
"virtualType": "",
"oldName": "dept_desc"
4 months ago
},
{
"objectType": "TableField_MYSQL",
"name": "dept_type",
"type": "bigint",
"length": -2147483648,
4 months ago
"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": "bigint",
"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": "bigint",
"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": "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": "",
"columnFormat": "",
"storage": "",
"isVirtual": false,
"isGeneratedAlways": false,
"virtualExpr": "",
"virtualType": "",
"oldName": "have_children"
},
{
"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": "",
4 months ago
"isOnUpdateCurrentTimestamp": false,
"isAutoInc": false,
"comment": "创建时间",
4 months ago
"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": [
4 months ago
{
"objectType": "Index_MYSQL",
"name": "pac_index",
"type": "UNIQUE",
"method": "",
"comment": "",
"oldName": "",
"online": false,
"keyBlockSize": 0,
"parser": "",
"algorithm": "",
"lock": "",
4 months ago
"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_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": [
4 months ago
{
"objectType": "TableField_MYSQL",
"name": "index",
"type": "int",
"length": -2147483648,
"decimals": -2147483648,
4 months ago
"isUnsigned": false,
"isZeroFill": false,
"setEnumValues": "",
"isBinary": false,
"charset": "",
"collation": "",
"isNullable": false,
"defaultType": "Others",
"defaultValue": "",
"isOnUpdateCurrentTimestamp": false,
"isAutoInc": true,
"comment": "数据完整性确认",
4 months ago
"columnFormat": "",
"storage": "",
"isVirtual": false,
"isGeneratedAlways": false,
"virtualExpr": "",
"virtualType": "",
"oldName": "index"
4 months ago
},
{
"objectType": "TableField_MYSQL",
"name": "user_id",
"type": "bigint",
"length": -2147483648,
"decimals": -2147483648,
4 months ago
"isUnsigned": false,
"isZeroFill": false,
"setEnumValues": "",
"isBinary": false,
"charset": "",
"collation": "",
"isNullable": false,
4 months ago
"defaultType": "Others",
"defaultValue": "",
"isOnUpdateCurrentTimestamp": false,
"isAutoInc": false,
"comment": "用户id,可采用雪花id",
4 months ago
"columnFormat": "",
"storage": "",
"isVirtual": false,
"isGeneratedAlways": false,
"virtualExpr": "",
"virtualType": "",
"oldName": "user_id"
4 months ago
},
{
"objectType": "TableField_MYSQL",
"name": "username",
"type": "varchar",
"length": 255,
"decimals": -2147483648,
4 months ago
"isUnsigned": false,
"isZeroFill": false,
"setEnumValues": "",
"isBinary": false,
"charset": "",
"collation": "",
"isNullable": false,
"defaultType": "Others",
"defaultValue": "",
4 months ago
"isOnUpdateCurrentTimestamp": false,
"isAutoInc": false,
"comment": "用户名",
4 months ago
"columnFormat": "",
"storage": "",
"isVirtual": false,
"isGeneratedAlways": false,
"virtualExpr": "",
"virtualType": "",
"oldName": "username"
4 months ago
},
{
"objectType": "TableField_MYSQL",
"name": "password",
"type": "varchar",
"length": 255,
"decimals": -2147483648,
4 months ago
"isUnsigned": false,
4 months ago
"isZeroFill": false,
"setEnumValues": "",
"isBinary": false,
"charset": "",
"collation": "",
"isNullable": false,
"defaultType": "Others",
"defaultValue": "",
4 months ago
"isOnUpdateCurrentTimestamp": false,
"isAutoInc": false,
"comment": "密码",
4 months ago
"columnFormat": "",
"storage": "",
"isVirtual": false,
"isGeneratedAlways": false,
"virtualExpr": "",
"virtualType": "",
"oldName": "password"
4 months ago
},
{
"objectType": "TableField_MYSQL",
"name": "nickname",
"type": "varchar",
"length": 255,
"decimals": -2147483648,
4 months ago
"isUnsigned": false,
4 months ago
"isZeroFill": false,
"setEnumValues": "",
"isBinary": false,
"charset": "",
"collation": "",
"isNullable": false,
"defaultType": "Others",
"defaultValue": "",
4 months ago
"isOnUpdateCurrentTimestamp": false,
"isAutoInc": false,
"comment": "昵称",
4 months ago
"columnFormat": "",
"storage": "",
"isVirtual": false,
"isGeneratedAlways": false,
"virtualExpr": "",
"virtualType": "",
"oldName": "nickname"
},
{
"objectType": "TableField_MYSQL",
"name": "user_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": "user_type"
},
4 months ago
{
"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",
4 months ago
"length": -2147483648,
"decimals": -2147483648,
4 months ago
"isUnsigned": false,
4 months ago
"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": "varchar",
"length": 255,
"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,
4 months ago
"defaultType": "Others",
"defaultValue": "",
4 months ago
"isOnUpdateCurrentTimestamp": false,
"isAutoInc": false,
"comment": "电话",
4 months ago
"columnFormat": "",
"storage": "",
"isVirtual": false,
"isGeneratedAlways": false,
"virtualExpr": "",
"virtualType": "",
"oldName": "user_phone"
4 months ago
},
{
"objectType": "TableField_MYSQL",
"name": "user_desc",
"type": "varchar",
"length": 255,
4 months ago
"decimals": -2147483648,
4 months ago
"isUnsigned": false,
4 months ago
"isZeroFill": false,
"setEnumValues": "",
"isBinary": false,
"charset": "",
"collation": "",
"isNullable": true,
4 months ago
"defaultType": "Others",
"defaultValue": "",
4 months ago
"isOnUpdateCurrentTimestamp": false,
"isAutoInc": false,
"comment": "用户描述",
4 months ago
"columnFormat": "",
"storage": "",
"isVirtual": false,
"isGeneratedAlways": false,
"virtualExpr": "",
"virtualType": "",
"oldName": "user_desc"
4 months ago
},
{
"objectType": "TableField_MYSQL",
"name": "status",
"type": "int",
"length": -2147483648,
4 months ago
"decimals": -2147483648,
"isUnsigned": false,
"isZeroFill": false,
"setEnumValues": "",
"isBinary": false,
"charset": "",
"collation": "",
"isNullable": false,
"defaultType": "Others",
"defaultValue": "0",
4 months ago
"isOnUpdateCurrentTimestamp": false,
"isAutoInc": false,
"comment": "状态:0默认正常,1禁用,2临时锁定",
4 months ago
"columnFormat": "",
"storage": "",
"isVirtual": false,
"isGeneratedAlways": false,
"virtualExpr": "",
"virtualType": "",
"oldName": "status"
4 months ago
},
{
"objectType": "TableField_MYSQL",
"name": "have_children",
"type": "int",
"length": -2147483648,
"decimals": -2147483648,
4 months ago
"isUnsigned": false,
"isZeroFill": false,
"setEnumValues": "",
"isBinary": false,
"charset": "",
"collation": "",
"isNullable": false,
"defaultType": "Others",
"defaultValue": "0",
4 months ago
"isOnUpdateCurrentTimestamp": false,
"isAutoInc": false,
"comment": "存在子账户:默认0,不存在",
4 months ago
"columnFormat": "",
"storage": "",
"isVirtual": false,
"isGeneratedAlways": false,
"virtualExpr": "",
"virtualType": "",
"oldName": "have_children"
4 months ago
},
{
"objectType": "TableField_MYSQL",
"name": "createby",
"type": "bigint",
4 months ago
"length": 0,
"decimals": 0,
"isUnsigned": false,
"isZeroFill": false,
"setEnumValues": "",
"isBinary": false,
"charset": "",
"collation": "",
"isNullable": false,
"defaultType": "Others",
"defaultValue": "",
"isOnUpdateCurrentTimestamp": false,
"isAutoInc": false,
"comment": "创建人",
4 months ago
"columnFormat": "",
"storage": "",
"isVirtual": false,
"isGeneratedAlways": false,
"virtualExpr": "",
"virtualType": "",
"oldName": "createby"
},
4 months ago
{
"objectType": "TableField_MYSQL",
"name": "createtime",
"type": "datetime",
"length": 0,
"decimals": 0,
4 months ago
"isUnsigned": false,
"isZeroFill": false,
"setEnumValues": "",
"isBinary": false,
"charset": "",
"collation": "",
"isNullable": false,
"defaultType": "None",
4 months ago
"defaultValue": "",
"isOnUpdateCurrentTimestamp": false,
"isAutoInc": false,
"comment": "创建时间",
4 months ago
"columnFormat": "",
"storage": "",
"isVirtual": false,
"isGeneratedAlways": false,
"virtualExpr": "",
"virtualType": "",
"oldName": "createtime"
4 months ago
},
{
"objectType": "TableField_MYSQL",
"name": "updateby",
4 months ago
"type": "bigint",
"length": 0,
"decimals": 0,
4 months ago
"isUnsigned": false,
"isZeroFill": false,
"setEnumValues": "",
"isBinary": false,
"charset": "",
"collation": "",
"isNullable": true,
"defaultType": "Null",
"defaultValue": "NULL",
4 months ago
"isOnUpdateCurrentTimestamp": false,
"isAutoInc": false,
"comment": "更新人",
4 months ago
"columnFormat": "",
"storage": "",
"isVirtual": false,
"isGeneratedAlways": false,
"virtualExpr": "",
"virtualType": "",
"oldName": "updateby"
4 months ago
},
{
"objectType": "TableField_MYSQL",
"name": "updatetime",
"type": "datetime",
"length": 0,
"decimals": 0,
4 months ago
"isUnsigned": false,
"isZeroFill": false,
"setEnumValues": "",
"isBinary": false,
"charset": "",
"collation": "",
"isNullable": true,
"defaultType": "Null",
"defaultValue": "NULL",
4 months ago
"isOnUpdateCurrentTimestamp": false,
"isAutoInc": false,
"comment": "更新时间",
4 months ago
"columnFormat": "",
"storage": "",
"isVirtual": false,
"isGeneratedAlways": false,
"virtualExpr": "",
"virtualType": "",
"oldName": "updatetime"
4 months ago
},
{
"objectType": "TableField_MYSQL",
"name": "deleteby",
4 months ago
"type": "bigint",
"length": 0,
"decimals": 0,
"isUnsigned": false,
"isZeroFill": false,
"setEnumValues": "",
"isBinary": false,
"charset": "",
"collation": "",
"isNullable": true,
"defaultType": "Null",
"defaultValue": "NULL",
4 months ago
"isOnUpdateCurrentTimestamp": false,
"isAutoInc": false,
"comment": "删除人",
4 months ago
"columnFormat": "",
"storage": "",
"isVirtual": false,
"isGeneratedAlways": false,
"virtualExpr": "",
"virtualType": "",
"oldName": "deleteby"
4 months ago
},
{
"objectType": "TableField_MYSQL",
"name": "deletetime",
4 months ago
"type": "datetime",
"length": 0,
"decimals": 0,
"isUnsigned": false,
"isZeroFill": false,
"setEnumValues": "",
"isBinary": false,
"charset": "",
"collation": "",
"isNullable": true,
"defaultType": "Null",
"defaultValue": "NULL",
4 months ago
"isOnUpdateCurrentTimestamp": false,
"isAutoInc": false,
"comment": "删除时间",
4 months ago
"columnFormat": "",
"storage": "",
"isVirtual": false,
"isGeneratedAlways": false,
"virtualExpr": "",
"virtualType": "",
"oldName": "deletetime"
4 months ago
}
],
"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": ""
}
]
4 months ago
}
],
"primaryKey": {
"objectType": "PrimaryKey_MYSQL",
"name": "",
"fields": [
{
"objectType": "IndexField_MYSQL",
"name": "user_id",
4 months ago
"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": 325,
"height": 430,
4 months ago
"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": 732,
"height": 430,
4 months ago
"isBold": false,
"titleColor": {
"r": 55,
"g": 131,
"b": 192,
"a": 1
}
},
{
"type": "table",
"schemaName": "pacAuth0_2",
"tableName": "pac_auth_link_role_dept",
4 months ago
"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": 1290,
4 months ago
"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": []
}
]
}