代码拉取完成,页面将自动刷新
{
"paper": {
"name": "A4",
"leftMargin": 0.5,
"rightMargin": 0.5,
"topMargin": 0.5,
"bottomMargin": 0.5,
"isPortriat": true
},
"modelVersion": 2.01,
"defaultSchema": "Default",
"server": {
"objectType": "Server_MYSQL",
"name": "Default",
"serverVersion": 80012,
"edition": "Default",
"lowerCaseTableNames": 0,
"schemas": [
{
"objectType": "Schema_MYSQL",
"name": "Default",
"tables": [
{
"objectType": "Table_MYSQL",
"name": "address",
"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": "id",
"type": "int",
"length": 11,
"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": "id"
},
{
"objectType": "TableField_MYSQL",
"name": "user_id",
"type": "int",
"length": 11,
"decimals": -2147483648,
"isUnsigned": false,
"isZeroFill": false,
"setEnumValues": "",
"isBinary": false,
"charset": "",
"collation": "",
"isNullable": false,
"defaultType": "Others",
"defaultValue": "",
"isOnUpdateCurrentTimestamp": false,
"isAutoInc": false,
"comment": "",
"columnFormat": "",
"storage": "",
"isVirtual": false,
"isGeneratedAlways": false,
"virtualExpr": "",
"virtualType": "",
"oldName": "user_id"
},
{
"objectType": "TableField_MYSQL",
"name": "address",
"type": "text",
"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": "address"
},
{
"objectType": "TableField_MYSQL",
"name": "name",
"type": "varchar",
"length": 11,
"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": "name"
},
{
"objectType": "TableField_MYSQL",
"name": "phone_number",
"type": "varchar",
"length": 11,
"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": "phone_number"
},
{
"objectType": "TableField_MYSQL",
"name": "default_address",
"type": "int",
"length": 1,
"decimals": -2147483648,
"isUnsigned": false,
"isZeroFill": false,
"setEnumValues": "",
"isBinary": false,
"charset": "",
"collation": "",
"isNullable": true,
"defaultType": "Others",
"defaultValue": "",
"isOnUpdateCurrentTimestamp": false,
"isAutoInc": false,
"comment": "1:是,0否",
"columnFormat": "",
"storage": "",
"isVirtual": false,
"isGeneratedAlways": false,
"virtualExpr": "",
"virtualType": "",
"oldName": "default_address"
}
],
"indexes": [],
"primaryKey": {
"objectType": "PrimaryKey_MYSQL",
"name": "",
"fields": [
{
"objectType": "IndexField_MYSQL",
"name": "id",
"keyLength": 0,
"order": "",
"oldName": ""
}
],
"oldName": "",
"indexMethod": "",
"comment": ""
},
"foreignKeys": [
{
"objectType": "ForeignKey_MYSQL",
"name": "fk_address_wx_user_1",
"fields": [
"user_id"
],
"referenceSchema": "Default",
"referenceTable": "wx_user",
"referenceFields": [
"id"
],
"onDelete": "",
"onUpdate": "",
"sourceCardinality": "ZeroOrManyRelationship",
"targetCardinality": "OneAndOnlyOneRelationship",
"oldName": ""
}
],
"triggers": [],
"tablePartitions": []
},
{
"objectType": "Table_MYSQL",
"name": "user_role",
"comment": "",
"engine": "InnoDB",
"characterSet": "utf8",
"collation": "utf8_unicode_ci",
"autoIncrement": 0,
"tablespace": "",
"storage": "",
"insertMethod": "",
"connection": "",
"checksum": false,
"rowFormat": "Dynamic",
"avgRowLength": 0,
"maxRows": 0,
"minRows": 0,
"keyBlockSize": 0,
"packKeys": "",
"delayKeyWrite": false,
"dataDirectory": "",
"indexDirectory": "",
"statsAutoRecalc": "",
"statsPersistent": "",
"statsSamplePages": 0,
"union": "",
"pageCheckSum": false,
"transactional": false,
"compression": "",
"oldName": "user_role",
"encryption": false,
"createOptions": "",
"createTime": "2021-11-15 18:30:43",
"checkTime": "",
"dataFree": 0,
"dataLength": 16384,
"indexLength": 32768,
"maxDataLength": 0,
"rows": 0,
"updateTime": "",
"DDL": "CREATE TABLE `user_role` (\n `user_id` int(11) NOT NULL,\n `role_id` int(11) NOT NULL,\n PRIMARY KEY (`user_id`,`role_id`),\n KEY `fk_user_has_role_role1` (`role_id`),\n KEY `fk_user_has_role_user` (`user_id`),\n CONSTRAINT `fk_user_has_role_role1` FOREIGN KEY (`role_id`) REFERENCES `role` (`role_id`),\n CONSTRAINT `fk_user_has_role_user` FOREIGN KEY (`user_id`) REFERENCES `user` (`user_id`)\n) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci",
"partitionBy": "",
"partitionByExpr": "",
"partitions": 0,
"partitionKeyAlgorithm": "",
"subPartitionBy": "",
"subPartitionByExpr": "",
"subPartitions": 0,
"subPartitionKeyAlgorithm": "",
"fields": [
{
"objectType": "TableField_MYSQL",
"name": "user_id",
"type": "int",
"length": 11,
"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": "user_id"
},
{
"objectType": "TableField_MYSQL",
"name": "role_id",
"type": "int",
"length": 11,
"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": "role_id"
}
],
"indexes": [
{
"objectType": "Index_MYSQL",
"name": "fk_user_has_role_role1",
"type": "NORMAL",
"method": "BTREE",
"comment": "",
"oldName": "fk_user_has_role_role1",
"online": false,
"keyBlockSize": 0,
"parser": "",
"algorithm": "",
"lock": "",
"collation": "A",
"cardinality": "0",
"packed": "",
"fields": [
{
"objectType": "IndexField_MYSQL",
"name": "role_id",
"keyLength": 0,
"order": "",
"oldName": "role_id"
}
]
},
{
"objectType": "Index_MYSQL",
"name": "fk_user_has_role_user",
"type": "NORMAL",
"method": "BTREE",
"comment": "",
"oldName": "fk_user_has_role_user",
"online": false,
"keyBlockSize": 0,
"parser": "",
"algorithm": "",
"lock": "",
"collation": "A",
"cardinality": "0",
"packed": "",
"fields": [
{
"objectType": "IndexField_MYSQL",
"name": "user_id",
"keyLength": 0,
"order": "",
"oldName": "user_id"
}
]
}
],
"primaryKey": {
"objectType": "PrimaryKey_MYSQL",
"name": "",
"fields": [
{
"objectType": "IndexField_MYSQL",
"name": "user_id",
"keyLength": 0,
"order": "",
"oldName": ""
},
{
"objectType": "IndexField_MYSQL",
"name": "role_id",
"keyLength": 0,
"order": "",
"oldName": ""
}
],
"oldName": "",
"indexMethod": "BTREE",
"comment": ""
},
"foreignKeys": [
{
"objectType": "ForeignKey_MYSQL",
"name": "fk_user_role_role_1",
"fields": [
"role_id"
],
"referenceSchema": "Default",
"referenceTable": "role",
"referenceFields": [
"role_id"
],
"onDelete": "",
"onUpdate": "",
"sourceCardinality": "ZeroOrManyRelationship",
"targetCardinality": "ManyRelationship",
"oldName": ""
},
{
"objectType": "ForeignKey_MYSQL",
"name": "fk_user_role_user_1",
"fields": [
"user_id"
],
"referenceSchema": "Default",
"referenceTable": "user",
"referenceFields": [
"user_id"
],
"onDelete": "",
"onUpdate": "",
"sourceCardinality": "ZeroOrManyRelationship",
"targetCardinality": "ManyRelationship",
"oldName": ""
}
],
"triggers": [],
"tablePartitions": []
},
{
"objectType": "Table_MYSQL",
"name": "role_permission",
"comment": "",
"engine": "InnoDB",
"characterSet": "utf8",
"collation": "utf8_unicode_ci",
"autoIncrement": 0,
"tablespace": "",
"storage": "",
"insertMethod": "",
"connection": "",
"checksum": false,
"rowFormat": "Dynamic",
"avgRowLength": 0,
"maxRows": 0,
"minRows": 0,
"keyBlockSize": 0,
"packKeys": "",
"delayKeyWrite": false,
"dataDirectory": "",
"indexDirectory": "",
"statsAutoRecalc": "",
"statsPersistent": "",
"statsSamplePages": 0,
"union": "",
"pageCheckSum": false,
"transactional": false,
"compression": "",
"oldName": "role_permission",
"encryption": false,
"createOptions": "",
"createTime": "2021-11-15 18:30:43",
"checkTime": "",
"dataFree": 0,
"dataLength": 16384,
"indexLength": 32768,
"maxDataLength": 0,
"rows": 0,
"updateTime": "",
"DDL": "CREATE TABLE `role_permission` (\n `role_id` int(11) NOT NULL,\n `permission_id` int(11) NOT NULL,\n PRIMARY KEY (`role_id`,`permission_id`),\n KEY `fk_role_has_permission_permission1` (`permission_id`),\n KEY `fk_role_has_permission_role1` (`role_id`),\n CONSTRAINT `fk_role_has_permission_permission1` FOREIGN KEY (`permission_id`) REFERENCES `permission` (`permission_id`),\n CONSTRAINT `fk_role_has_permission_role1` FOREIGN KEY (`role_id`) REFERENCES `role` (`role_id`)\n) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci",
"partitionBy": "",
"partitionByExpr": "",
"partitions": 0,
"partitionKeyAlgorithm": "",
"subPartitionBy": "",
"subPartitionByExpr": "",
"subPartitions": 0,
"subPartitionKeyAlgorithm": "",
"fields": [
{
"objectType": "TableField_MYSQL",
"name": "role_id",
"type": "int",
"length": 11,
"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": "role_id"
},
{
"objectType": "TableField_MYSQL",
"name": "permission_id",
"type": "int",
"length": 11,
"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": "permission_id"
}
],
"indexes": [
{
"objectType": "Index_MYSQL",
"name": "fk_role_has_permission_permission1",
"type": "NORMAL",
"method": "BTREE",
"comment": "",
"oldName": "fk_role_has_permission_permission1",
"online": false,
"keyBlockSize": 0,
"parser": "",
"algorithm": "",
"lock": "",
"collation": "A",
"cardinality": "0",
"packed": "",
"fields": [
{
"objectType": "IndexField_MYSQL",
"name": "permission_id",
"keyLength": 0,
"order": "",
"oldName": "permission_id"
}
]
},
{
"objectType": "Index_MYSQL",
"name": "fk_role_has_permission_role1",
"type": "NORMAL",
"method": "BTREE",
"comment": "",
"oldName": "fk_role_has_permission_role1",
"online": false,
"keyBlockSize": 0,
"parser": "",
"algorithm": "",
"lock": "",
"collation": "A",
"cardinality": "0",
"packed": "",
"fields": [
{
"objectType": "IndexField_MYSQL",
"name": "role_id",
"keyLength": 0,
"order": "",
"oldName": "role_id"
}
]
}
],
"primaryKey": {
"objectType": "PrimaryKey_MYSQL",
"name": "",
"fields": [
{
"objectType": "IndexField_MYSQL",
"name": "role_id",
"keyLength": 0,
"order": "",
"oldName": ""
},
{
"objectType": "IndexField_MYSQL",
"name": "permission_id",
"keyLength": 0,
"order": "",
"oldName": ""
}
],
"oldName": "",
"indexMethod": "BTREE",
"comment": ""
},
"foreignKeys": [
{
"objectType": "ForeignKey_MYSQL",
"name": "fk_role_permission_permission_1",
"fields": [
"permission_id"
],
"referenceSchema": "Default",
"referenceTable": "permission",
"referenceFields": [
"permission_id"
],
"onDelete": "",
"onUpdate": "",
"sourceCardinality": "ZeroOrManyRelationship",
"targetCardinality": "ManyRelationship",
"oldName": ""
},
{
"objectType": "ForeignKey_MYSQL",
"name": "fk_role_permission_role_1",
"fields": [
"role_id"
],
"referenceSchema": "Default",
"referenceTable": "role",
"referenceFields": [
"role_id"
],
"onDelete": "",
"onUpdate": "",
"sourceCardinality": "ZeroOrManyRelationship",
"targetCardinality": "ManyRelationship",
"oldName": ""
}
],
"triggers": [],
"tablePartitions": []
},
{
"objectType": "Table_MYSQL",
"name": "details_value",
"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": "commodity_details_id",
"type": "int",
"length": 11,
"decimals": 0,
"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": "commodity_details_id"
},
{
"objectType": "TableField_MYSQL",
"name": "group_value_id",
"type": "int",
"length": 11,
"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": "group_value_id"
}
],
"indexes": [],
"primaryKey": {
"objectType": "PrimaryKey_MYSQL",
"name": "",
"fields": [
{
"objectType": "IndexField_MYSQL",
"name": "commodity_details_id",
"keyLength": 0,
"order": "",
"oldName": ""
},
{
"objectType": "IndexField_MYSQL",
"name": "group_value_id",
"keyLength": 0,
"order": "",
"oldName": ""
}
],
"oldName": "",
"indexMethod": "",
"comment": ""
},
"foreignKeys": [
{
"objectType": "ForeignKey_MYSQL",
"name": "fk_details_value_group_value_1",
"fields": [
"group_value_id"
],
"referenceSchema": "Default",
"referenceTable": "group_value",
"referenceFields": [
"group_value_id"
],
"onDelete": "",
"onUpdate": "",
"sourceCardinality": "ZeroOrManyRelationship",
"targetCardinality": "ManyRelationship",
"oldName": ""
},
{
"objectType": "ForeignKey_MYSQL",
"name": "fk_details_value_commodity_details_1",
"fields": [
"commodity_details_id"
],
"referenceSchema": "Default",
"referenceTable": "commodity_details",
"referenceFields": [
"commodity_details_id"
],
"onDelete": "",
"onUpdate": "",
"sourceCardinality": "ZeroOrManyRelationship",
"targetCardinality": "ManyRelationship",
"oldName": ""
}
],
"triggers": [],
"tablePartitions": []
},
{
"objectType": "Table_MYSQL",
"name": "commodity_details",
"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": "commodity_details_id",
"type": "int",
"length": 11,
"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": "commodity_details_id"
},
{
"objectType": "TableField_MYSQL",
"name": "commodity",
"type": "int",
"length": 11,
"decimals": 0,
"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": "commodity"
},
{
"objectType": "TableField_MYSQL",
"name": "price",
"type": "decimal",
"length": 10,
"decimals": 2,
"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": "price"
},
{
"objectType": "TableField_MYSQL",
"name": "sales",
"type": "int",
"length": 11,
"decimals": 0,
"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": "sales"
},
{
"objectType": "TableField_MYSQL",
"name": "stock",
"type": "int",
"length": 11,
"decimals": 0,
"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": "stock"
},
{
"objectType": "TableField_MYSQL",
"name": "cost",
"type": "decimal",
"length": 10,
"decimals": 2,
"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": "cost"
},
{
"objectType": "TableField_MYSQL",
"name": "introduction",
"type": "varchar",
"length": 255,
"decimals": 0,
"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": "introduction"
}
],
"indexes": [],
"primaryKey": {
"objectType": "PrimaryKey_MYSQL",
"name": "",
"fields": [
{
"objectType": "IndexField_MYSQL",
"name": "commodity_details_id",
"keyLength": -2147483648,
"order": "",
"oldName": ""
}
],
"oldName": "",
"indexMethod": "",
"comment": ""
},
"foreignKeys": [
{
"objectType": "ForeignKey_MYSQL",
"name": "fk_commodity_details_commodity_1",
"fields": [
"commodity"
],
"referenceSchema": "Default",
"referenceTable": "commodity",
"referenceFields": [
"commodity"
],
"onDelete": "",
"onUpdate": "",
"sourceCardinality": "OneOrManyRelationship",
"targetCardinality": "OneAndOnlyOneRelationship",
"oldName": ""
}
],
"triggers": [],
"tablePartitions": []
},
{
"objectType": "Table_MYSQL",
"name": "role",
"comment": "",
"engine": "InnoDB",
"characterSet": "utf8",
"collation": "utf8_unicode_ci",
"autoIncrement": 0,
"tablespace": "",
"storage": "",
"insertMethod": "",
"connection": "",
"checksum": false,
"rowFormat": "Dynamic",
"avgRowLength": 0,
"maxRows": 0,
"minRows": 0,
"keyBlockSize": 0,
"packKeys": "",
"delayKeyWrite": false,
"dataDirectory": "",
"indexDirectory": "",
"statsAutoRecalc": "",
"statsPersistent": "",
"statsSamplePages": 0,
"union": "",
"pageCheckSum": false,
"transactional": false,
"compression": "",
"oldName": "role",
"encryption": false,
"createOptions": "",
"createTime": "2021-11-15 18:30:43",
"checkTime": "",
"dataFree": 0,
"dataLength": 16384,
"indexLength": 0,
"maxDataLength": 0,
"rows": 0,
"updateTime": "",
"DDL": "CREATE TABLE `role` (\n `role_id` int(11) NOT NULL,\n `role_name` varchar(45) COLLATE utf8_unicode_ci DEFAULT NULL,\n PRIMARY KEY (`role_id`)\n) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci",
"partitionBy": "",
"partitionByExpr": "",
"partitions": 0,
"partitionKeyAlgorithm": "",
"subPartitionBy": "",
"subPartitionByExpr": "",
"subPartitions": 0,
"subPartitionKeyAlgorithm": "",
"fields": [
{
"objectType": "TableField_MYSQL",
"name": "role_id",
"type": "int",
"length": 11,
"decimals": 0,
"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": "role_id"
},
{
"objectType": "TableField_MYSQL",
"name": "role_name",
"type": "varchar",
"length": 45,
"decimals": 0,
"isUnsigned": false,
"isZeroFill": false,
"setEnumValues": "",
"isBinary": false,
"charset": "utf8",
"collation": "utf8_unicode_ci",
"isNullable": true,
"defaultType": "Null",
"defaultValue": "",
"isOnUpdateCurrentTimestamp": false,
"isAutoInc": false,
"comment": "",
"columnFormat": "",
"storage": "",
"isVirtual": false,
"isGeneratedAlways": false,
"virtualExpr": "",
"virtualType": "",
"oldName": "role_name"
}
],
"indexes": [],
"primaryKey": {
"objectType": "PrimaryKey_MYSQL",
"name": "",
"fields": [
{
"objectType": "IndexField_MYSQL",
"name": "role_id",
"keyLength": 0,
"order": "",
"oldName": "role_id"
}
],
"oldName": "",
"indexMethod": "BTREE",
"comment": ""
},
"foreignKeys": [],
"triggers": [],
"tablePartitions": []
},
{
"objectType": "Table_MYSQL",
"name": "group_value",
"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": "group_value_id",
"type": "int",
"length": 11,
"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": "group_value_id"
},
{
"objectType": "TableField_MYSQL",
"name": "type_group_id",
"type": "int",
"length": 11,
"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": "type_group_id"
},
{
"objectType": "TableField_MYSQL",
"name": "group_value_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": "group_value_name"
}
],
"indexes": [],
"primaryKey": {
"objectType": "PrimaryKey_MYSQL",
"name": "",
"fields": [
{
"objectType": "IndexField_MYSQL",
"name": "group_value_id",
"keyLength": -2147483648,
"order": "",
"oldName": ""
}
],
"oldName": "",
"indexMethod": "",
"comment": ""
},
"foreignKeys": [
{
"objectType": "ForeignKey_MYSQL",
"name": "fk_group_value_type_group_1",
"fields": [
"type_group_id"
],
"referenceSchema": "Default",
"referenceTable": "type_group",
"referenceFields": [
"type_group_id"
],
"onDelete": "",
"onUpdate": "",
"sourceCardinality": "OneOrManyRelationship",
"targetCardinality": "OneAndOnlyOneRelationship",
"oldName": ""
}
],
"triggers": [],
"tablePartitions": []
},
{
"objectType": "Table_MYSQL",
"name": "type_group",
"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": "type_group_id",
"type": "int",
"length": 11,
"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": "type_group_id"
},
{
"objectType": "TableField_MYSQL",
"name": "specifications_id",
"type": "int",
"length": 11,
"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": "specifications_id"
},
{
"objectType": "TableField_MYSQL",
"name": "type_group_name",
"type": "varchar",
"length": 255,
"decimals": -2147483648,
"isUnsigned": false,
"isZeroFill": false,
"setEnumValues": "",
"isBinary": false,
"charset": "",
"collation": "",
"isNullable": true,
"defaultType": "Others",
"defaultValue": "",
"isOnUpdateCurrentTimestamp": false,
"isAutoInc": false,
"comment": "规格小组名称",
"columnFormat": "",
"storage": "",
"isVirtual": false,
"isGeneratedAlways": false,
"virtualExpr": "",
"virtualType": "",
"oldName": "type_group_name"
}
],
"indexes": [],
"primaryKey": {
"objectType": "PrimaryKey_MYSQL",
"name": "",
"fields": [
{
"objectType": "IndexField_MYSQL",
"name": "type_group_id",
"keyLength": -2147483648,
"order": "",
"oldName": ""
}
],
"oldName": "",
"indexMethod": "",
"comment": ""
},
"foreignKeys": [
{
"objectType": "ForeignKey_MYSQL",
"name": "fk_type_group_specifications_1",
"fields": [
"specifications_id"
],
"referenceSchema": "Default",
"referenceTable": "specifications",
"referenceFields": [
"specifications_id"
],
"onDelete": "",
"onUpdate": "",
"sourceCardinality": "OneOrManyRelationship",
"targetCardinality": "OneAndOnlyOneRelationship",
"oldName": ""
}
],
"triggers": [],
"tablePartitions": []
},
{
"objectType": "Table_MYSQL",
"name": "clerk",
"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": "user_id",
"type": "int",
"length": 11,
"decimals": -2147483648,
"isUnsigned": false,
"isZeroFill": false,
"setEnumValues": "",
"isBinary": false,
"charset": "",
"collation": "",
"isNullable": false,
"defaultType": "Others",
"defaultValue": "",
"isOnUpdateCurrentTimestamp": false,
"isAutoInc": false,
"comment": "",
"columnFormat": "",
"storage": "",
"isVirtual": false,
"isGeneratedAlways": false,
"virtualExpr": "",
"virtualType": "",
"oldName": "user_id"
},
{
"objectType": "TableField_MYSQL",
"name": "store_id",
"type": "int",
"length": 11,
"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": "store_id"
}
],
"indexes": [],
"primaryKey": {
"objectType": "PrimaryKey_MYSQL",
"name": "",
"fields": [
{
"objectType": "IndexField_MYSQL",
"name": "user_id",
"keyLength": 0,
"order": "",
"oldName": ""
},
{
"objectType": "IndexField_MYSQL",
"name": "store_id",
"keyLength": 0,
"order": "",
"oldName": ""
}
],
"oldName": "",
"indexMethod": "",
"comment": ""
},
"foreignKeys": [
{
"objectType": "ForeignKey_MYSQL",
"name": "fk_clerk_store_1",
"fields": [
"store_id"
],
"referenceSchema": "Default",
"referenceTable": "store",
"referenceFields": [
"store_id"
],
"onDelete": "",
"onUpdate": "",
"sourceCardinality": "ZeroOrManyRelationship",
"targetCardinality": "ManyRelationship",
"oldName": ""
},
{
"objectType": "ForeignKey_MYSQL",
"name": "fk_clerk_user_1",
"fields": [
"user_id"
],
"referenceSchema": "Default",
"referenceTable": "user",
"referenceFields": [
"user_id"
],
"onDelete": "",
"onUpdate": "",
"sourceCardinality": "ZeroOrManyRelationship",
"targetCardinality": "ManyRelationship",
"oldName": ""
}
],
"triggers": [],
"tablePartitions": []
},
{
"objectType": "Table_MYSQL",
"name": "wx_user",
"comment": "",
"engine": "InnoDB",
"characterSet": "utf8",
"collation": "utf8_unicode_ci",
"autoIncrement": 1,
"tablespace": "",
"storage": "",
"insertMethod": "",
"connection": "",
"checksum": false,
"rowFormat": "Dynamic",
"avgRowLength": 0,
"maxRows": 0,
"minRows": 0,
"keyBlockSize": 0,
"packKeys": "",
"delayKeyWrite": false,
"dataDirectory": "",
"indexDirectory": "",
"statsAutoRecalc": "",
"statsPersistent": "",
"statsSamplePages": 0,
"union": "",
"pageCheckSum": false,
"transactional": false,
"compression": "",
"oldName": "wx_user",
"encryption": false,
"createOptions": "",
"createTime": "2021-11-22 13:31:17",
"checkTime": "",
"dataFree": 0,
"dataLength": 16384,
"indexLength": 0,
"maxDataLength": 0,
"rows": 0,
"updateTime": "",
"DDL": "CREATE TABLE `wx_user` (\n `id` int(64) NOT NULL AUTO_INCREMENT,\n `nickname` varchar(255) COLLATE utf8_unicode_ci DEFAULT NULL,\n `username` varchar(255) COLLATE utf8_unicode_ci DEFAULT NULL,\n `password` varchar(255) COLLATE utf8_unicode_ci DEFAULT NULL,\n `gender` varchar(255) COLLATE utf8_unicode_ci DEFAULT NULL,\n `portrait` varchar(255) COLLATE utf8_unicode_ci DEFAULT NULL,\n `background` varchar(255) COLLATE utf8_unicode_ci DEFAULT NULL,\n `phone_number` varchar(255) CHARACTER SET utf8 COLLATE utf8_unicode_ci DEFAULT NULL,\n `open_id` varchar(255) CHARACTER SET utf8 COLLATE utf8_unicode_ci DEFAULT NULL,\n `wx_union_id` varchar(255) CHARACTER SET utf8 COLLATE utf8_unicode_ci DEFAULT NULL,\n PRIMARY KEY (`id`)\n) ENGINE=InnoDB AUTO_INCREMENT=2 DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci",
"partitionBy": "",
"partitionByExpr": "",
"partitions": 0,
"partitionKeyAlgorithm": "",
"subPartitionBy": "",
"subPartitionByExpr": "",
"subPartitions": 0,
"subPartitionKeyAlgorithm": "",
"fields": [
{
"objectType": "TableField_MYSQL",
"name": "id",
"type": "int",
"length": 11,
"decimals": 0,
"isUnsigned": false,
"isZeroFill": false,
"setEnumValues": "",
"isBinary": false,
"charset": "",
"collation": "",
"isNullable": false,
"defaultType": "Others",
"defaultValue": "",
"isOnUpdateCurrentTimestamp": false,
"isAutoInc": true,
"comment": "id",
"columnFormat": "",
"storage": "",
"isVirtual": false,
"isGeneratedAlways": false,
"virtualExpr": "",
"virtualType": "",
"oldName": "id"
},
{
"objectType": "TableField_MYSQL",
"name": "nick_name",
"type": "varchar",
"length": 255,
"decimals": 0,
"isUnsigned": false,
"isZeroFill": false,
"setEnumValues": "",
"isBinary": false,
"charset": "utf8",
"collation": "utf8_unicode_ci",
"isNullable": true,
"defaultType": "Null",
"defaultValue": "",
"isOnUpdateCurrentTimestamp": false,
"isAutoInc": false,
"comment": "昵称",
"columnFormat": "",
"storage": "",
"isVirtual": false,
"isGeneratedAlways": false,
"virtualExpr": "",
"virtualType": "",
"oldName": "nick_name"
},
{
"objectType": "TableField_MYSQL",
"name": "gender",
"type": "int",
"length": 1,
"decimals": 0,
"isUnsigned": false,
"isZeroFill": false,
"setEnumValues": "",
"isBinary": false,
"charset": "utf8",
"collation": "utf8_unicode_ci",
"isNullable": true,
"defaultType": "Null",
"defaultValue": "",
"isOnUpdateCurrentTimestamp": false,
"isAutoInc": false,
"comment": "0:男,1:女",
"columnFormat": "",
"storage": "",
"isVirtual": false,
"isGeneratedAlways": false,
"virtualExpr": "",
"virtualType": "",
"oldName": "gender"
},
{
"objectType": "TableField_MYSQL",
"name": "avatar_url",
"type": "text",
"length": -2147483648,
"decimals": 0,
"isUnsigned": false,
"isZeroFill": false,
"setEnumValues": "",
"isBinary": false,
"charset": "utf8",
"collation": "utf8_unicode_ci",
"isNullable": true,
"defaultType": "Null",
"defaultValue": "",
"isOnUpdateCurrentTimestamp": false,
"isAutoInc": false,
"comment": "头像",
"columnFormat": "",
"storage": "",
"isVirtual": false,
"isGeneratedAlways": false,
"virtualExpr": "",
"virtualType": "",
"oldName": "avatar_url"
},
{
"objectType": "TableField_MYSQL",
"name": "phone_number",
"type": "varchar",
"length": 11,
"decimals": 0,
"isUnsigned": false,
"isZeroFill": false,
"setEnumValues": "",
"isBinary": false,
"charset": "utf8",
"collation": "utf8_unicode_ci",
"isNullable": true,
"defaultType": "Null",
"defaultValue": "",
"isOnUpdateCurrentTimestamp": false,
"isAutoInc": false,
"comment": "手机号码",
"columnFormat": "",
"storage": "",
"isVirtual": false,
"isGeneratedAlways": false,
"virtualExpr": "",
"virtualType": "",
"oldName": "phone_number"
},
{
"objectType": "TableField_MYSQL",
"name": "openid",
"type": "varchar",
"length": 255,
"decimals": 0,
"isUnsigned": false,
"isZeroFill": false,
"setEnumValues": "",
"isBinary": false,
"charset": "utf8",
"collation": "utf8_unicode_ci",
"isNullable": true,
"defaultType": "Null",
"defaultValue": "",
"isOnUpdateCurrentTimestamp": false,
"isAutoInc": false,
"comment": "用户在当前小程序的唯一标识",
"columnFormat": "",
"storage": "",
"isVirtual": false,
"isGeneratedAlways": false,
"virtualExpr": "",
"virtualType": "",
"oldName": "openid"
}
],
"indexes": [
{
"objectType": "Index_MYSQL",
"name": "",
"type": "UNIQUE",
"method": "",
"comment": "",
"oldName": "",
"online": false,
"keyBlockSize": 0,
"parser": "",
"algorithm": "",
"lock": "",
"collation": "",
"cardinality": "",
"packed": "",
"fields": [
{
"objectType": "IndexField_MYSQL",
"name": "openid",
"keyLength": 0,
"order": "",
"oldName": ""
}
]
}
],
"primaryKey": {
"objectType": "PrimaryKey_MYSQL",
"name": "",
"fields": [
{
"objectType": "IndexField_MYSQL",
"name": "id",
"keyLength": 0,
"order": "",
"oldName": "id"
}
],
"oldName": "",
"indexMethod": "BTREE",
"comment": ""
},
"foreignKeys": [],
"triggers": [],
"tablePartitions": []
},
{
"objectType": "Table_MYSQL",
"name": "specifications",
"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": "specifications_id",
"type": "int",
"length": 11,
"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": "specifications_id"
},
{
"objectType": "TableField_MYSQL",
"name": "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": "name"
}
],
"indexes": [],
"primaryKey": {
"objectType": "PrimaryKey_MYSQL",
"name": "",
"fields": [
{
"objectType": "IndexField_MYSQL",
"name": "specifications_id",
"keyLength": 0,
"order": "",
"oldName": ""
}
],
"oldName": "",
"indexMethod": "",
"comment": ""
},
"foreignKeys": [],
"triggers": [],
"tablePartitions": []
},
{
"objectType": "Table_MYSQL",
"name": "commodity",
"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": "commodity",
"type": "int",
"length": 11,
"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": "commodity"
},
{
"objectType": "TableField_MYSQL",
"name": "store_id",
"type": "int",
"length": 11,
"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": "store_id"
},
{
"objectType": "TableField_MYSQL",
"name": "specifications_id",
"type": "int",
"length": 11,
"decimals": 0,
"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": "specifications_id"
},
{
"objectType": "TableField_MYSQL",
"name": "image",
"type": "text",
"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": "image"
},
{
"objectType": "TableField_MYSQL",
"name": "commodity_name",
"type": "varchar",
"length": 255,
"decimals": -2147483648,
"isUnsigned": false,
"isZeroFill": false,
"setEnumValues": "",
"isBinary": false,
"charset": "",
"collation": "",
"isNullable": true,
"defaultType": "Others",
"defaultValue": "",
"isOnUpdateCurrentTimestamp": false,
"isAutoInc": false,
"comment": "商品名称",
"columnFormat": "",
"storage": "",
"isVirtual": false,
"isGeneratedAlways": false,
"virtualExpr": "",
"virtualType": "",
"oldName": "commodity_name"
},
{
"objectType": "TableField_MYSQL",
"name": "is_show",
"type": "int",
"length": 11,
"decimals": -2147483648,
"isUnsigned": false,
"isZeroFill": false,
"setEnumValues": "",
"isBinary": false,
"charset": "",
"collation": "",
"isNullable": true,
"defaultType": "Others",
"defaultValue": "",
"isOnUpdateCurrentTimestamp": false,
"isAutoInc": false,
"comment": "是否显示,1:是,0:否",
"columnFormat": "",
"storage": "",
"isVirtual": false,
"isGeneratedAlways": false,
"virtualExpr": "",
"virtualType": "",
"oldName": "is_show"
},
{
"objectType": "TableField_MYSQL",
"name": "sort",
"type": "int",
"length": 4,
"decimals": -2147483648,
"isUnsigned": false,
"isZeroFill": false,
"setEnumValues": "",
"isBinary": false,
"charset": "",
"collation": "",
"isNullable": true,
"defaultType": "Others",
"defaultValue": "",
"isOnUpdateCurrentTimestamp": false,
"isAutoInc": false,
"comment": "排序,最大9999",
"columnFormat": "",
"storage": "",
"isVirtual": false,
"isGeneratedAlways": false,
"virtualExpr": "",
"virtualType": "",
"oldName": "sort"
},
{
"objectType": "TableField_MYSQL",
"name": "is_multi_specification",
"type": "int",
"length": 1,
"decimals": -2147483648,
"isUnsigned": false,
"isZeroFill": false,
"setEnumValues": "",
"isBinary": false,
"charset": "",
"collation": "",
"isNullable": true,
"defaultType": "Others",
"defaultValue": "",
"isOnUpdateCurrentTimestamp": false,
"isAutoInc": false,
"comment": "0:单规格 1:多规格",
"columnFormat": "",
"storage": "",
"isVirtual": false,
"isGeneratedAlways": false,
"virtualExpr": "",
"virtualType": "",
"oldName": "is_multi_specification"
}
],
"indexes": [],
"primaryKey": {
"objectType": "PrimaryKey_MYSQL",
"name": "",
"fields": [
{
"objectType": "IndexField_MYSQL",
"name": "commodity",
"keyLength": 0,
"order": "",
"oldName": ""
}
],
"oldName": "",
"indexMethod": "",
"comment": ""
},
"foreignKeys": [
{
"objectType": "ForeignKey_MYSQL",
"name": "fk_commodity_store_1",
"fields": [
"store_id"
],
"referenceSchema": "Default",
"referenceTable": "store",
"referenceFields": [
"store_id"
],
"onDelete": "",
"onUpdate": "",
"sourceCardinality": "ZeroOrManyRelationship",
"targetCardinality": "OneAndOnlyOneRelationship",
"oldName": ""
},
{
"objectType": "ForeignKey_MYSQL",
"name": "fk_commodity_specifications_1",
"fields": [
"specifications_id"
],
"referenceSchema": "Default",
"referenceTable": "specifications",
"referenceFields": [
"specifications_id"
],
"onDelete": "",
"onUpdate": "",
"sourceCardinality": "ZeroOrManyRelationship",
"targetCardinality": "ZeroOrOneRelationship",
"oldName": ""
}
],
"triggers": [],
"tablePartitions": []
},
{
"objectType": "Table_MYSQL",
"name": "order_commodity",
"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": "order_commodity",
"type": "int",
"length": 11,
"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": "order_commodity"
},
{
"objectType": "TableField_MYSQL",
"name": "order_id",
"type": "int",
"length": 20,
"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": "order_id"
},
{
"objectType": "TableField_MYSQL",
"name": "commodity_details_id",
"type": "int",
"length": 11,
"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": "commodity_details_id"
},
{
"objectType": "TableField_MYSQL",
"name": "quantity",
"type": "int",
"length": 11,
"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": "quantity"
},
{
"objectType": "TableField_MYSQL",
"name": "unit_price",
"type": "decimal",
"length": 10,
"decimals": 2,
"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": "unit_price"
}
],
"indexes": [],
"primaryKey": {
"objectType": "PrimaryKey_MYSQL",
"name": "",
"fields": [
{
"objectType": "IndexField_MYSQL",
"name": "order_commodity",
"keyLength": -2147483648,
"order": "",
"oldName": ""
}
],
"oldName": "",
"indexMethod": "",
"comment": ""
},
"foreignKeys": [
{
"objectType": "ForeignKey_MYSQL",
"name": "fk_order_commondity_order_1",
"fields": [
"order_id"
],
"referenceSchema": "Default",
"referenceTable": "store_order",
"referenceFields": [
"order_id"
],
"onDelete": "",
"onUpdate": "",
"sourceCardinality": "OneOrManyRelationship",
"targetCardinality": "ManyRelationship",
"oldName": ""
},
{
"objectType": "ForeignKey_MYSQL",
"name": "fk_order_commondity_commodity_details_1",
"fields": [
"commodity_details_id"
],
"referenceSchema": "Default",
"referenceTable": "commodity_details",
"referenceFields": [
"commodity_details_id"
],
"onDelete": "",
"onUpdate": "",
"sourceCardinality": "ZeroOrManyRelationship",
"targetCardinality": "ManyRelationship",
"oldName": ""
}
],
"triggers": [],
"tablePartitions": []
},
{
"objectType": "Table_MYSQL",
"name": "permission",
"comment": "",
"engine": "InnoDB",
"characterSet": "utf8",
"collation": "utf8_unicode_ci",
"autoIncrement": 0,
"tablespace": "",
"storage": "",
"insertMethod": "",
"connection": "",
"checksum": false,
"rowFormat": "Dynamic",
"avgRowLength": 0,
"maxRows": 0,
"minRows": 0,
"keyBlockSize": 0,
"packKeys": "",
"delayKeyWrite": false,
"dataDirectory": "",
"indexDirectory": "",
"statsAutoRecalc": "",
"statsPersistent": "",
"statsSamplePages": 0,
"union": "",
"pageCheckSum": false,
"transactional": false,
"compression": "",
"oldName": "permission",
"encryption": false,
"createOptions": "",
"createTime": "2021-11-15 18:30:43",
"checkTime": "",
"dataFree": 0,
"dataLength": 16384,
"indexLength": 0,
"maxDataLength": 0,
"rows": 0,
"updateTime": "",
"DDL": "CREATE TABLE `permission` (\n `permission_id` int(11) NOT NULL,\n `permission_code` varchar(45) COLLATE utf8_unicode_ci DEFAULT NULL,\n `permission_name` varchar(45) COLLATE utf8_unicode_ci DEFAULT NULL,\n `father_id` varchar(45) COLLATE utf8_unicode_ci DEFAULT NULL,\n `path` varchar(45) COLLATE utf8_unicode_ci DEFAULT NULL,\n `is_menu` varchar(45) COLLATE utf8_unicode_ci DEFAULT NULL,\n PRIMARY KEY (`permission_id`)\n) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci",
"partitionBy": "",
"partitionByExpr": "",
"partitions": 0,
"partitionKeyAlgorithm": "",
"subPartitionBy": "",
"subPartitionByExpr": "",
"subPartitions": 0,
"subPartitionKeyAlgorithm": "",
"fields": [
{
"objectType": "TableField_MYSQL",
"name": "permission_id",
"type": "int",
"length": 11,
"decimals": 0,
"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": "permission_id"
},
{
"objectType": "TableField_MYSQL",
"name": "permission_code",
"type": "varchar",
"length": 45,
"decimals": 0,
"isUnsigned": false,
"isZeroFill": false,
"setEnumValues": "",
"isBinary": false,
"charset": "utf8",
"collation": "utf8_unicode_ci",
"isNullable": true,
"defaultType": "Null",
"defaultValue": "",
"isOnUpdateCurrentTimestamp": false,
"isAutoInc": false,
"comment": "",
"columnFormat": "",
"storage": "",
"isVirtual": false,
"isGeneratedAlways": false,
"virtualExpr": "",
"virtualType": "",
"oldName": "permission_code"
},
{
"objectType": "TableField_MYSQL",
"name": "permission_name",
"type": "varchar",
"length": 45,
"decimals": 0,
"isUnsigned": false,
"isZeroFill": false,
"setEnumValues": "",
"isBinary": false,
"charset": "utf8",
"collation": "utf8_unicode_ci",
"isNullable": true,
"defaultType": "Null",
"defaultValue": "",
"isOnUpdateCurrentTimestamp": false,
"isAutoInc": false,
"comment": "",
"columnFormat": "",
"storage": "",
"isVirtual": false,
"isGeneratedAlways": false,
"virtualExpr": "",
"virtualType": "",
"oldName": "permission_name"
},
{
"objectType": "TableField_MYSQL",
"name": "father_id",
"type": "int",
"length": 45,
"decimals": 0,
"isUnsigned": false,
"isZeroFill": false,
"setEnumValues": "",
"isBinary": false,
"charset": "utf8",
"collation": "utf8_unicode_ci",
"isNullable": true,
"defaultType": "Null",
"defaultValue": "",
"isOnUpdateCurrentTimestamp": false,
"isAutoInc": false,
"comment": "0:父菜单",
"columnFormat": "",
"storage": "",
"isVirtual": false,
"isGeneratedAlways": false,
"virtualExpr": "",
"virtualType": "",
"oldName": "father_id"
},
{
"objectType": "TableField_MYSQL",
"name": "path",
"type": "varchar",
"length": 45,
"decimals": 0,
"isUnsigned": false,
"isZeroFill": false,
"setEnumValues": "",
"isBinary": false,
"charset": "utf8",
"collation": "utf8_unicode_ci",
"isNullable": true,
"defaultType": "Null",
"defaultValue": "",
"isOnUpdateCurrentTimestamp": false,
"isAutoInc": false,
"comment": "",
"columnFormat": "",
"storage": "",
"isVirtual": false,
"isGeneratedAlways": false,
"virtualExpr": "",
"virtualType": "",
"oldName": "path"
},
{
"objectType": "TableField_MYSQL",
"name": "is_menu",
"type": "int",
"length": 11,
"decimals": 0,
"isUnsigned": false,
"isZeroFill": false,
"setEnumValues": "",
"isBinary": false,
"charset": "utf8",
"collation": "utf8_unicode_ci",
"isNullable": true,
"defaultType": "Null",
"defaultValue": "",
"isOnUpdateCurrentTimestamp": false,
"isAutoInc": false,
"comment": "是否为菜单1:是 2:按钮3:页面 ",
"columnFormat": "",
"storage": "",
"isVirtual": false,
"isGeneratedAlways": false,
"virtualExpr": "",
"virtualType": "",
"oldName": "is_menu"
},
{
"objectType": "TableField_MYSQL",
"name": "icon",
"type": "varchar",
"length": 255,
"decimals": -2147483648,
"isUnsigned": false,
"isZeroFill": false,
"setEnumValues": "",
"isBinary": false,
"charset": "",
"collation": "",
"isNullable": true,
"defaultType": "Others",
"defaultValue": "",
"isOnUpdateCurrentTimestamp": false,
"isAutoInc": false,
"comment": "element图标",
"columnFormat": "",
"storage": "",
"isVirtual": false,
"isGeneratedAlways": false,
"virtualExpr": "",
"virtualType": "",
"oldName": "icon"
},
{
"objectType": "TableField_MYSQL",
"name": "sort",
"type": "int",
"length": 11,
"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": "sort"
}
],
"indexes": [],
"primaryKey": {
"objectType": "PrimaryKey_MYSQL",
"name": "",
"fields": [
{
"objectType": "IndexField_MYSQL",
"name": "permission_id",
"keyLength": 0,
"order": "",
"oldName": "permission_id"
}
],
"oldName": "",
"indexMethod": "BTREE",
"comment": ""
},
"foreignKeys": [],
"triggers": [],
"tablePartitions": []
},
{
"objectType": "Table_MYSQL",
"name": "order_status",
"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": "id",
"type": "int",
"length": 11,
"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": "id"
},
{
"objectType": "TableField_MYSQL",
"name": "order_id",
"type": "int",
"length": 20,
"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": "order_id"
},
{
"objectType": "TableField_MYSQL",
"name": "change_type",
"type": "int",
"length": 1,
"decimals": -2147483648,
"isUnsigned": false,
"isZeroFill": false,
"setEnumValues": "",
"isBinary": false,
"charset": "",
"collation": "",
"isNullable": true,
"defaultType": "Others",
"defaultValue": "",
"isOnUpdateCurrentTimestamp": false,
"isAutoInc": false,
"comment": "1:待商家完成打印,\r\n2:自提订单待取件,\r\n3:配送订单待配送,\r\n4:交易完成,\r\n5:退款中,\r\n6:已退款,",
"columnFormat": "",
"storage": "",
"isVirtual": false,
"isGeneratedAlways": false,
"virtualExpr": "",
"virtualType": "",
"oldName": "change_type"
},
{
"objectType": "TableField_MYSQL",
"name": "change_message",
"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": "change_message"
},
{
"objectType": "TableField_MYSQL",
"name": "change_time",
"type": "datetime",
"length": -2147483648,
"decimals": -2147483648,
"isUnsigned": false,
"isZeroFill": false,
"setEnumValues": "",
"isBinary": false,
"charset": "",
"collation": "",
"isNullable": true,
"defaultType": "Others",
"defaultValue": "",
"isOnUpdateCurrentTimestamp": true,
"isAutoInc": false,
"comment": "",
"columnFormat": "",
"storage": "",
"isVirtual": false,
"isGeneratedAlways": false,
"virtualExpr": "",
"virtualType": "",
"oldName": "change_time"
}
],
"indexes": [],
"primaryKey": {
"objectType": "PrimaryKey_MYSQL",
"name": "",
"fields": [
{
"objectType": "IndexField_MYSQL",
"name": "id",
"keyLength": 0,
"order": "",
"oldName": ""
}
],
"oldName": "",
"indexMethod": "",
"comment": ""
},
"foreignKeys": [
{
"objectType": "ForeignKey_MYSQL",
"name": "fk_order_status_store_order_1",
"fields": [
"order_id"
],
"referenceSchema": "Default",
"referenceTable": "store_order",
"referenceFields": [
"order_id"
],
"onDelete": "",
"onUpdate": "",
"sourceCardinality": "OneOrManyRelationship",
"targetCardinality": "OneAndOnlyOneRelationship",
"oldName": ""
}
],
"triggers": [],
"tablePartitions": []
},
{
"objectType": "Table_MYSQL",
"name": "user",
"comment": "",
"engine": "InnoDB",
"characterSet": "utf8",
"collation": "utf8_unicode_ci",
"autoIncrement": 0,
"tablespace": "",
"storage": "",
"insertMethod": "",
"connection": "",
"checksum": false,
"rowFormat": "Dynamic",
"avgRowLength": 0,
"maxRows": 0,
"minRows": 0,
"keyBlockSize": 0,
"packKeys": "",
"delayKeyWrite": false,
"dataDirectory": "",
"indexDirectory": "",
"statsAutoRecalc": "",
"statsPersistent": "",
"statsSamplePages": 0,
"union": "",
"pageCheckSum": false,
"transactional": false,
"compression": "",
"oldName": "user",
"encryption": false,
"createOptions": "",
"createTime": "2021-11-22 13:08:18",
"checkTime": "",
"dataFree": 0,
"dataLength": 16384,
"indexLength": 0,
"maxDataLength": 0,
"rows": 0,
"updateTime": "",
"DDL": "CREATE TABLE `user` (\n `user_id` int(64) NOT NULL,\n `username` varchar(20) COLLATE utf8_unicode_ci DEFAULT NULL,\n `password` varchar(255) COLLATE utf8_unicode_ci DEFAULT NULL,\n `salt` varchar(255) COLLATE utf8_unicode_ci DEFAULT NULL,\n `nickname` varchar(255) COLLATE utf8_unicode_ci DEFAULT NULL,\n `sex` varchar(255) COLLATE utf8_unicode_ci DEFAULT NULL,\n PRIMARY KEY (`user_id`)\n) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci",
"partitionBy": "",
"partitionByExpr": "",
"partitions": 0,
"partitionKeyAlgorithm": "",
"subPartitionBy": "",
"subPartitionByExpr": "",
"subPartitions": 0,
"subPartitionKeyAlgorithm": "",
"fields": [
{
"objectType": "TableField_MYSQL",
"name": "user_id",
"type": "int",
"length": 11,
"decimals": 0,
"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": "user_id"
},
{
"objectType": "TableField_MYSQL",
"name": "username",
"type": "varchar",
"length": 20,
"decimals": 0,
"isUnsigned": false,
"isZeroFill": false,
"setEnumValues": "",
"isBinary": false,
"charset": "utf8",
"collation": "utf8_unicode_ci",
"isNullable": true,
"defaultType": "Null",
"defaultValue": "",
"isOnUpdateCurrentTimestamp": false,
"isAutoInc": false,
"comment": "",
"columnFormat": "",
"storage": "",
"isVirtual": false,
"isGeneratedAlways": false,
"virtualExpr": "",
"virtualType": "",
"oldName": "username"
},
{
"objectType": "TableField_MYSQL",
"name": "password",
"type": "varchar",
"length": 255,
"decimals": 0,
"isUnsigned": false,
"isZeroFill": false,
"setEnumValues": "",
"isBinary": false,
"charset": "utf8",
"collation": "utf8_unicode_ci",
"isNullable": true,
"defaultType": "Null",
"defaultValue": "",
"isOnUpdateCurrentTimestamp": false,
"isAutoInc": false,
"comment": "",
"columnFormat": "",
"storage": "",
"isVirtual": false,
"isGeneratedAlways": false,
"virtualExpr": "",
"virtualType": "",
"oldName": "password"
},
{
"objectType": "TableField_MYSQL",
"name": "salt",
"type": "varchar",
"length": 255,
"decimals": 0,
"isUnsigned": false,
"isZeroFill": false,
"setEnumValues": "",
"isBinary": false,
"charset": "utf8",
"collation": "utf8_unicode_ci",
"isNullable": true,
"defaultType": "Null",
"defaultValue": "",
"isOnUpdateCurrentTimestamp": false,
"isAutoInc": false,
"comment": "",
"columnFormat": "",
"storage": "",
"isVirtual": false,
"isGeneratedAlways": false,
"virtualExpr": "",
"virtualType": "",
"oldName": "salt"
},
{
"objectType": "TableField_MYSQL",
"name": "sex",
"type": "varchar",
"length": 1,
"decimals": 0,
"isUnsigned": false,
"isZeroFill": false,
"setEnumValues": "",
"isBinary": false,
"charset": "utf8",
"collation": "utf8_unicode_ci",
"isNullable": true,
"defaultType": "Null",
"defaultValue": "",
"isOnUpdateCurrentTimestamp": false,
"isAutoInc": false,
"comment": "",
"columnFormat": "",
"storage": "",
"isVirtual": false,
"isGeneratedAlways": false,
"virtualExpr": "",
"virtualType": "",
"oldName": "sex"
}
],
"indexes": [
{
"objectType": "Index_MYSQL",
"name": "",
"type": "UNIQUE",
"method": "BTREE",
"comment": "",
"oldName": "",
"online": false,
"keyBlockSize": 0,
"parser": "",
"algorithm": "",
"lock": "",
"collation": "",
"cardinality": "",
"packed": "",
"fields": [
{
"objectType": "IndexField_MYSQL",
"name": "username",
"keyLength": 0,
"order": "",
"oldName": ""
}
]
}
],
"primaryKey": {
"objectType": "PrimaryKey_MYSQL",
"name": "",
"fields": [
{
"objectType": "IndexField_MYSQL",
"name": "user_id",
"keyLength": 0,
"order": "",
"oldName": "user_id"
}
],
"oldName": "",
"indexMethod": "BTREE",
"comment": ""
},
"foreignKeys": [],
"triggers": [],
"tablePartitions": []
},
{
"objectType": "Table_MYSQL",
"name": "store",
"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": "store_id",
"type": "int",
"length": 11,
"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": "store_id"
},
{
"objectType": "TableField_MYSQL",
"name": "shopowner_id",
"type": "int",
"length": 11,
"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": "shopowner_id"
},
{
"objectType": "TableField_MYSQL",
"name": "name",
"type": "varchar",
"length": 255,
"decimals": -2147483648,
"isUnsigned": false,
"isZeroFill": false,
"setEnumValues": "",
"isBinary": false,
"charset": "",
"collation": "",
"isNullable": true,
"defaultType": "Others",
"defaultValue": "",
"isOnUpdateCurrentTimestamp": false,
"isAutoInc": false,
"comment": "门店名称",
"columnFormat": "",
"storage": "",
"isVirtual": false,
"isGeneratedAlways": false,
"virtualExpr": "",
"virtualType": "",
"oldName": "name"
},
{
"objectType": "TableField_MYSQL",
"name": "phone",
"type": "varchar",
"length": 11,
"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": "phone"
},
{
"objectType": "TableField_MYSQL",
"name": "validtime_start",
"type": "time",
"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": "validtime_start"
},
{
"objectType": "TableField_MYSQL",
"name": "validtime_end",
"type": "time",
"length": -2147483648,
"decimals": -2147483648,
"isUnsigned": false,
"isZeroFill": false,
"setEnumValues": "",
"isBinary": false,
"charset": "",
"collation": "",
"isNullable": true,
"defaultType": "Others",
"defaultValue": "",
"isOnUpdateCurrentTimestamp": false,
"isAutoInc": false,
"comment": "validTimeEnd",
"columnFormat": "",
"storage": "",
"isVirtual": false,
"isGeneratedAlways": false,
"virtualExpr": "",
"virtualType": "",
"oldName": "validtime_end"
},
{
"objectType": "TableField_MYSQL",
"name": "is_show",
"type": "int",
"length": 1,
"decimals": -2147483648,
"isUnsigned": false,
"isZeroFill": false,
"setEnumValues": "",
"isBinary": false,
"charset": "",
"collation": "",
"isNullable": true,
"defaultType": "Others",
"defaultValue": "",
"isOnUpdateCurrentTimestamp": false,
"isAutoInc": false,
"comment": "是否显示,0:不显示,1:显示",
"columnFormat": "",
"storage": "",
"isVirtual": false,
"isGeneratedAlways": false,
"virtualExpr": "",
"virtualType": "",
"oldName": "is_show"
},
{
"objectType": "TableField_MYSQL",
"name": "delivery",
"type": "int",
"length": 1,
"decimals": -2147483648,
"isUnsigned": false,
"isZeroFill": false,
"setEnumValues": "",
"isBinary": false,
"charset": "",
"collation": "",
"isNullable": true,
"defaultType": "Others",
"defaultValue": "",
"isOnUpdateCurrentTimestamp": false,
"isAutoInc": false,
"comment": "否有有送货上门,0:没有,1:有",
"columnFormat": "",
"storage": "",
"isVirtual": false,
"isGeneratedAlways": false,
"virtualExpr": "",
"virtualType": "",
"oldName": "delivery"
},
{
"objectType": "TableField_MYSQL",
"name": "freight",
"type": "decimal",
"length": 10,
"decimals": 0,
"isUnsigned": false,
"isZeroFill": false,
"setEnumValues": "",
"isBinary": false,
"charset": "",
"collation": "",
"isNullable": true,
"defaultType": "None",
"defaultValue": "",
"isOnUpdateCurrentTimestamp": false,
"isAutoInc": false,
"comment": "运费",
"columnFormat": "",
"storage": "",
"isVirtual": false,
"isGeneratedAlways": false,
"virtualExpr": "",
"virtualType": "",
"oldName": "freight"
}
],
"indexes": [],
"primaryKey": {
"objectType": "PrimaryKey_MYSQL",
"name": "",
"fields": [
{
"objectType": "IndexField_MYSQL",
"name": "store_id",
"keyLength": -2147483648,
"order": "",
"oldName": ""
}
],
"oldName": "",
"indexMethod": "",
"comment": ""
},
"foreignKeys": [
{
"objectType": "ForeignKey_MYSQL",
"name": "fk_store_user_1",
"fields": [
"shopowner_id"
],
"referenceSchema": "Default",
"referenceTable": "user",
"referenceFields": [
"user_id"
],
"onDelete": "",
"onUpdate": "",
"sourceCardinality": "ZeroOrManyRelationship",
"targetCardinality": "OneAndOnlyOneRelationship",
"oldName": ""
}
],
"triggers": [],
"tablePartitions": []
},
{
"objectType": "Table_MYSQL",
"name": "evaluate",
"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": "evaluate_id",
"type": "int",
"length": 11,
"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": "evaluate_id"
},
{
"objectType": "TableField_MYSQL",
"name": "comment",
"type": "text",
"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": "comment"
},
{
"objectType": "TableField_MYSQL",
"name": "image",
"type": "text",
"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": "image"
},
{
"objectType": "TableField_MYSQL",
"name": "rate",
"type": "int",
"length": 1,
"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": "rate"
},
{
"objectType": "TableField_MYSQL",
"name": "create_time",
"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": "create_time"
}
],
"indexes": [],
"primaryKey": {
"objectType": "PrimaryKey_MYSQL",
"name": "",
"fields": [
{
"objectType": "IndexField_MYSQL",
"name": "evaluate_id",
"keyLength": 0,
"order": "",
"oldName": ""
}
],
"oldName": "",
"indexMethod": "",
"comment": ""
},
"foreignKeys": [],
"triggers": [],
"tablePartitions": []
},
{
"objectType": "Table_MYSQL",
"name": "store_order",
"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": "order_id",
"type": "int",
"length": 20,
"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": "order_id"
},
{
"objectType": "TableField_MYSQL",
"name": "user_id",
"type": "int",
"length": 11,
"decimals": -2147483648,
"isUnsigned": false,
"isZeroFill": false,
"setEnumValues": "",
"isBinary": false,
"charset": "",
"collation": "",
"isNullable": false,
"defaultType": "Others",
"defaultValue": "",
"isOnUpdateCurrentTimestamp": false,
"isAutoInc": false,
"comment": "微信用户外键",
"columnFormat": "",
"storage": "",
"isVirtual": false,
"isGeneratedAlways": false,
"virtualExpr": "",
"virtualType": "",
"oldName": "user_id"
},
{
"objectType": "TableField_MYSQL",
"name": "store_id",
"type": "int",
"length": 11,
"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": "store_id"
},
{
"objectType": "TableField_MYSQL",
"name": "create_time",
"type": "datetime",
"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": "create_time"
},
{
"objectType": "TableField_MYSQL",
"name": "status",
"type": "int",
"length": 1,
"decimals": -2147483648,
"isUnsigned": false,
"isZeroFill": false,
"setEnumValues": "",
"isBinary": false,
"charset": "",
"collation": "",
"isNullable": false,
"defaultType": "Others",
"defaultValue": "",
"isOnUpdateCurrentTimestamp": false,
"isAutoInc": false,
"comment": "1:待商家完成打印,\r\n2:自提订单待取件,\r\n3:配送订单待配送,\r\n4:交易完成,\r\n-1:退款中,\r\n-2:已退款,",
"columnFormat": "",
"storage": "",
"isVirtual": false,
"isGeneratedAlways": false,
"virtualExpr": "",
"virtualType": "",
"oldName": "status"
},
{
"objectType": "TableField_MYSQL",
"name": "is_self_mention",
"type": "int",
"length": 1,
"decimals": -2147483648,
"isUnsigned": false,
"isZeroFill": false,
"setEnumValues": "",
"isBinary": false,
"charset": "",
"collation": "",
"isNullable": false,
"defaultType": "Others",
"defaultValue": "",
"isOnUpdateCurrentTimestamp": false,
"isAutoInc": false,
"comment": "是否是自提 1:是 0:否",
"columnFormat": "",
"storage": "",
"isVirtual": false,
"isGeneratedAlways": false,
"virtualExpr": "",
"virtualType": "",
"oldName": "is_self_mention"
},
{
"objectType": "TableField_MYSQL",
"name": "address_id",
"type": "int",
"length": 11,
"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": "address_id"
},
{
"objectType": "TableField_MYSQL",
"name": "number",
"type": "varchar",
"length": 11,
"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": "number"
},
{
"objectType": "TableField_MYSQL",
"name": "order_remarks",
"type": "text",
"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": "order_remarks"
},
{
"objectType": "TableField_MYSQL",
"name": "merchant_remarks",
"type": "text",
"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": "merchant_remarks"
},
{
"objectType": "TableField_MYSQL",
"name": "file_url",
"type": "text",
"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": "file_url"
},
{
"objectType": "TableField_MYSQL",
"name": "file_name",
"type": "varchar",
"length": 255,
"decimals": -2147483648,
"isUnsigned": false,
"isZeroFill": false,
"setEnumValues": "",
"isBinary": false,
"charset": "",
"collation": "",
"isNullable": true,
"defaultType": "Others",
"defaultValue": "",
"isOnUpdateCurrentTimestamp": false,
"isAutoInc": false,
"comment": "附件真实名称",
"columnFormat": "",
"storage": "",
"isVirtual": false,
"isGeneratedAlways": false,
"virtualExpr": "",
"virtualType": "",
"oldName": "file_name"
},
{
"objectType": "TableField_MYSQL",
"name": "order_contacts",
"type": "varchar",
"length": 11,
"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": "order_contacts"
},
{
"objectType": "TableField_MYSQL",
"name": "phone_number",
"type": "varchar",
"length": 11,
"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": "phone_number"
},
{
"objectType": "TableField_MYSQL",
"name": "all_price",
"type": "decimal",
"length": 10,
"decimals": 2,
"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": "all_price"
},
{
"objectType": "TableField_MYSQL",
"name": "page_number",
"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": "page_number"
},
{
"objectType": "TableField_MYSQL",
"name": "evaluate_id",
"type": "int",
"length": 11,
"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": "evaluate_id"
}
],
"indexes": [],
"primaryKey": {
"objectType": "PrimaryKey_MYSQL",
"name": "",
"fields": [
{
"objectType": "IndexField_MYSQL",
"name": "order_id",
"keyLength": -2147483648,
"order": "",
"oldName": ""
}
],
"oldName": "",
"indexMethod": "",
"comment": ""
},
"foreignKeys": [
{
"objectType": "ForeignKey_MYSQL",
"name": "fk_store_order_store_1",
"fields": [
"store_id"
],
"referenceSchema": "Default",
"referenceTable": "store",
"referenceFields": [
"store_id"
],
"onDelete": "",
"onUpdate": "",
"sourceCardinality": "ZeroOrManyRelationship",
"targetCardinality": "OneAndOnlyOneRelationship",
"oldName": ""
},
{
"objectType": "ForeignKey_MYSQL",
"name": "fk_store_order_address_1",
"fields": [
"address_id"
],
"referenceSchema": "Default",
"referenceTable": "address",
"referenceFields": [
"id"
],
"onDelete": "",
"onUpdate": "",
"sourceCardinality": "ZeroOrManyRelationship",
"targetCardinality": "ZeroOrOneRelationship",
"oldName": ""
},
{
"objectType": "ForeignKey_MYSQL",
"name": "fk_store_order_evaluate_1",
"fields": [
"evaluate_id"
],
"referenceSchema": "Default",
"referenceTable": "evaluate",
"referenceFields": [
"evaluate_id"
],
"onDelete": "",
"onUpdate": "",
"sourceCardinality": "OneAndOnlyOneRelationship",
"targetCardinality": "ZeroOrOneRelationship",
"oldName": ""
},
{
"objectType": "ForeignKey_MYSQL",
"name": "fk_store_order_wx_user_1",
"fields": [
"user_id"
],
"referenceSchema": "Default",
"referenceTable": "wx_user",
"referenceFields": [
"id"
],
"onDelete": "",
"onUpdate": "",
"sourceCardinality": "ZeroOrManyRelationship",
"targetCardinality": "OneAndOnlyOneRelationship",
"oldName": ""
}
],
"triggers": [],
"tablePartitions": []
}
],
"views": []
}
]
},
"diagrams": [
{
"name": "Diagram 1",
"paperWidth": 3,
"paperHeight": 2,
"tableFont": "Arial",
"tableFontSize": 16,
"isBalckWhite": false,
"showDBSchemaName": false,
"showViewRelations": true,
"notation": "default",
"showFieldComment": false,
"showTableComment": false,
"shapes": [
{
"type": "table",
"schemaName": "Default",
"tableName": "store",
"x": 1060,
"y": 1330,
"width": 260,
"height": 340,
"isBold": false,
"titleColor": {
"r": 55,
"g": 131,
"b": 192,
"a": 1
}
},
{
"type": "table",
"schemaName": "Default",
"tableName": "permission",
"x": 2360,
"y": 1360,
"width": 211,
"height": 260,
"isBold": false,
"titleColor": {
"r": 55,
"g": 131,
"b": 192,
"a": 1
}
},
{
"type": "table",
"schemaName": "Default",
"tableName": "role",
"x": 1880,
"y": 1430,
"width": 172,
"height": 150,
"isBold": false,
"titleColor": {
"r": 55,
"g": 131,
"b": 192,
"a": 1
}
},
{
"type": "table",
"schemaName": "Default",
"tableName": "role_permission",
"x": 2110,
"y": 1410,
"width": 200,
"height": 180,
"isBold": false,
"titleColor": {
"r": 55,
"g": 131,
"b": 192,
"a": 1
}
},
{
"type": "table",
"schemaName": "Default",
"tableName": "user",
"x": 1370,
"y": 1380,
"width": 220,
"height": 250,
"isBold": false,
"titleColor": {
"r": 55,
"g": 131,
"b": 192,
"a": 1
}
},
{
"type": "table",
"schemaName": "Default",
"tableName": "user_role",
"x": 1650,
"y": 1410,
"width": 170,
"height": 160,
"isBold": false,
"titleColor": {
"r": 55,
"g": 131,
"b": 192,
"a": 1
}
},
{
"type": "table",
"schemaName": "Default",
"tableName": "wx_user",
"x": 220,
"y": 940,
"width": 206,
"height": 250,
"isBold": false,
"titleColor": {
"r": 55,
"g": 131,
"b": 192,
"a": 1
}
},
{
"type": "table",
"schemaName": "Default",
"tableName": "clerk",
"x": 1380,
"y": 1680,
"width": 200,
"height": 200,
"isBold": false,
"titleColor": {
"r": 55,
"g": 131,
"b": 192,
"a": 1
}
},
{
"type": "table",
"schemaName": "Default",
"tableName": "commodity",
"x": 1070,
"y": 700,
"width": 240,
"height": 390,
"isBold": false,
"titleColor": {
"r": 55,
"g": 131,
"b": 192,
"a": 1
}
},
{
"type": "table",
"schemaName": "Default",
"tableName": "store_order",
"x": 280,
"y": 1380,
"width": 210,
"height": 510,
"isBold": false,
"titleColor": {
"r": 55,
"g": 131,
"b": 192,
"a": 1
}
},
{
"type": "table",
"schemaName": "Default",
"tableName": "order_commodity",
"x": 730,
"y": 1060,
"width": 240,
"height": 200,
"isBold": false,
"titleColor": {
"r": 55,
"g": 131,
"b": 192,
"a": 1
}
},
{
"type": "table",
"schemaName": "Default",
"tableName": "evaluate",
"x": 30,
"y": 1530,
"width": 200,
"height": 200,
"isBold": false,
"titleColor": {
"r": 55,
"g": 131,
"b": 192,
"a": 1
}
},
{
"type": "table",
"schemaName": "Default",
"tableName": "address",
"x": 480,
"y": 980,
"width": 200,
"height": 200,
"isBold": false,
"titleColor": {
"r": 55,
"g": 131,
"b": 192,
"a": 1
}
},
{
"type": "table",
"schemaName": "Default",
"tableName": "specifications",
"x": 1090,
"y": 30,
"width": 200,
"height": 200,
"isBold": false,
"titleColor": {
"r": 55,
"g": 131,
"b": 192,
"a": 1
}
},
{
"type": "table",
"schemaName": "Default",
"tableName": "type_group",
"x": 720,
"y": 30,
"width": 320,
"height": 200,
"isBold": false,
"titleColor": {
"r": 55,
"g": 131,
"b": 192,
"a": 1
}
},
{
"type": "table",
"schemaName": "Default",
"tableName": "group_value",
"x": 750,
"y": 280,
"width": 260,
"height": 200,
"isBold": false,
"titleColor": {
"r": 55,
"g": 131,
"b": 192,
"a": 1
}
},
{
"type": "table",
"schemaName": "Default",
"tableName": "commodity_details",
"x": 730,
"y": 780,
"width": 280,
"height": 230,
"isBold": false,
"titleColor": {
"r": 55,
"g": 131,
"b": 192,
"a": 1
}
},
{
"type": "table",
"schemaName": "Default",
"tableName": "details_value",
"x": 770,
"y": 530,
"width": 220,
"height": 200,
"isBold": false,
"titleColor": {
"r": 55,
"g": 131,
"b": 192,
"a": 1
}
},
{
"type": "table",
"schemaName": "Default",
"tableName": "order_status",
"x": 430,
"y": 1940,
"width": 240,
"height": 200,
"isBold": false,
"titleColor": {
"r": 55,
"g": 131,
"b": 192,
"a": 1
}
}
],
"layers": [],
"relations": [
{
"name": "fk_commodity_specifications_1",
"sourceTableName": "commodity",
"sourceSchemaName": "Default",
"lineWidth": 1,
"visible": true,
"vertices": [
{
"x": 1190,
"y": 685
},
{
"x": 1190,
"y": 245
}
],
"label": {
"x": 1192,
"y": 655,
"width": 213,
"height": 30,
"fontName": "Arial Unicode MS",
"fontSize": 14,
"fontColor": {
"r": 51,
"g": 51,
"b": 51,
"a": 1
},
"isFontBold": false,
"isFontItalic": false,
"isVisible": false
}
},
{
"name": "fk_user_role_role_1",
"sourceTableName": "user_role",
"sourceSchemaName": "Default",
"lineWidth": 1,
"visible": true,
"vertices": [
{
"x": 1835,
"y": 1500
},
{
"x": 1865,
"y": 1500
}
],
"label": {
"x": 1748,
"y": 1462,
"width": 132,
"height": 30,
"fontName": "Arial Unicode MS",
"fontSize": 14,
"fontColor": {
"r": 51,
"g": 51,
"b": 51,
"a": 1
},
"isFontBold": false,
"isFontItalic": false,
"isVisible": false
}
},
{
"name": "fk_role_permission_permission_1",
"sourceTableName": "role_permission",
"sourceSchemaName": "Default",
"lineWidth": 1,
"visible": true,
"vertices": [
{
"x": 2325,
"y": 1500
},
{
"x": 2345,
"y": 1500
}
],
"label": {
"x": 2173,
"y": 1462,
"width": 224,
"height": 30,
"fontName": "Arial Unicode MS",
"fontSize": 14,
"fontColor": {
"r": 51,
"g": 51,
"b": 51,
"a": 1
},
"isFontBold": false,
"isFontItalic": false,
"isVisible": false
}
},
{
"name": "fk_details_value_group_value_1",
"sourceTableName": "details_value",
"sourceSchemaName": "Default",
"lineWidth": 1,
"visible": true,
"vertices": [
{
"x": 870,
"y": 515
},
{
"x": 870,
"y": 495
}
],
"label": {
"x": 872,
"y": 485,
"width": 215,
"height": 30,
"fontName": "Arial Unicode MS",
"fontSize": 14,
"fontColor": {
"r": 51,
"g": 51,
"b": 51,
"a": 1
},
"isFontBold": false,
"isFontItalic": false,
"isVisible": false
}
},
{
"name": "fk_user_role_user_1",
"sourceTableName": "user_role",
"sourceSchemaName": "Default",
"lineWidth": 1,
"visible": true,
"vertices": [
{
"x": 1635,
"y": 1500
},
{
"x": 1605,
"y": 1500
}
],
"label": {
"x": 1645,
"y": 1462,
"width": 134,
"height": 30,
"fontName": "Arial Unicode MS",
"fontSize": 14,
"fontColor": {
"r": 51,
"g": 51,
"b": 51,
"a": 1
},
"isFontBold": false,
"isFontItalic": false,
"isVisible": false
}
},
{
"name": "fk_store_user_1",
"sourceTableName": "store",
"sourceSchemaName": "Default",
"lineWidth": 1,
"visible": true,
"vertices": [
{
"x": 1335,
"y": 1500
},
{
"x": 1355,
"y": 1500
}
],
"label": {
"x": 1331,
"y": 1502,
"width": 107,
"height": 30,
"fontName": "Arial Unicode MS",
"fontSize": 14,
"fontColor": {
"r": 51,
"g": 51,
"b": 51,
"a": 1
},
"isFontBold": false,
"isFontItalic": false,
"isVisible": false
}
},
{
"name": "fk_commodity_store_1",
"sourceTableName": "commodity",
"sourceSchemaName": "Default",
"lineWidth": 1,
"visible": true,
"vertices": [
{
"x": 1190,
"y": 1105
},
{
"x": 1190,
"y": 1315
}
],
"label": {
"x": 1198,
"y": 1095,
"width": 155,
"height": 30,
"fontName": "Arial Unicode MS",
"fontSize": 14,
"fontColor": {
"r": 51,
"g": 51,
"b": 51,
"a": 1
},
"isFontBold": false,
"isFontItalic": false,
"isVisible": false
}
},
{
"name": "fk_clerk_store_1",
"sourceTableName": "clerk",
"sourceSchemaName": "Default",
"lineWidth": 1,
"visible": true,
"vertices": [
{
"x": 1365,
"y": 1770
},
{
"x": 1190,
"y": 1770
},
{
"x": 1190,
"y": 1685
}
],
"label": {
"x": 1375,
"y": 1732,
"width": 110,
"height": 30,
"fontName": "Arial Unicode MS",
"fontSize": 14,
"fontColor": {
"r": 51,
"g": 51,
"b": 51,
"a": 1
},
"isFontBold": false,
"isFontItalic": false,
"isVisible": false
}
},
{
"name": "fk_role_permission_role_1",
"sourceTableName": "role_permission",
"sourceSchemaName": "Default",
"lineWidth": 1,
"visible": true,
"vertices": [
{
"x": 2095,
"y": 1500
},
{
"x": 2067,
"y": 1500
}
],
"label": {
"x": 1928,
"y": 1462,
"width": 177,
"height": 30,
"fontName": "Arial Unicode MS",
"fontSize": 14,
"fontColor": {
"r": 51,
"g": 51,
"b": 51,
"a": 1
},
"isFontBold": false,
"isFontItalic": false,
"isVisible": false
}
},
{
"name": "fk_address_wx_user_1",
"sourceTableName": "address",
"sourceSchemaName": "Default",
"lineWidth": 1,
"visible": true,
"vertices": [
{
"x": 465,
"y": 1070
},
{
"x": 441,
"y": 1070
}
],
"label": {
"x": 481,
"y": 1072,
"width": 149,
"height": 30,
"fontName": "Arial Unicode MS",
"fontSize": 14,
"fontColor": {
"r": 51,
"g": 51,
"b": 51,
"a": 1
},
"isFontBold": false,
"isFontItalic": false,
"isVisible": false
}
},
{
"name": "fk_order_commondity_order_1",
"sourceTableName": "order_commodity",
"sourceSchemaName": "Default",
"lineWidth": 1,
"visible": true,
"vertices": [
{
"x": 850,
"y": 1275
},
{
"x": 850,
"y": 1320
},
{
"x": 450,
"y": 1320
},
{
"x": 450,
"y": 1365
}
],
"label": {
"x": 858,
"y": 1265,
"width": 209,
"height": 30,
"fontName": "Arial Unicode MS",
"fontSize": 14,
"fontColor": {
"r": 51,
"g": 51,
"b": 51,
"a": 1
},
"isFontBold": false,
"isFontItalic": false,
"isVisible": false
}
},
{
"name": "fk_order_commondity_commodity_details_1",
"sourceTableName": "order_commodity",
"sourceSchemaName": "Default",
"lineWidth": 1,
"visible": true,
"vertices": [
{
"x": 850,
"y": 1045
},
{
"x": 850,
"y": 1025
}
],
"label": {
"x": 858,
"y": 1025,
"width": 299,
"height": 30,
"fontName": "Arial Unicode MS",
"fontSize": 14,
"fontColor": {
"r": 51,
"g": 51,
"b": 51,
"a": 1
},
"isFontBold": false,
"isFontItalic": false,
"isVisible": false
}
},
{
"name": "fk_type_group_specifications_1",
"sourceTableName": "type_group",
"sourceSchemaName": "Default",
"lineWidth": 1,
"visible": true,
"vertices": [
{
"x": 1055,
"y": 140
},
{
"x": 1075,
"y": 140
}
],
"label": {
"x": 1045,
"y": 102,
"width": 213,
"height": 30,
"fontName": "Arial Unicode MS",
"fontSize": 14,
"fontColor": {
"r": 51,
"g": 51,
"b": 51,
"a": 1
},
"isFontBold": false,
"isFontItalic": false,
"isVisible": false
}
},
{
"name": "fk_group_value_type_group_1",
"sourceTableName": "group_value",
"sourceSchemaName": "Default",
"lineWidth": 1,
"visible": true,
"vertices": [
{
"x": 870,
"y": 265
},
{
"x": 870,
"y": 245
}
],
"label": {
"x": 878,
"y": 245,
"width": 205,
"height": 30,
"fontName": "Arial Unicode MS",
"fontSize": 14,
"fontColor": {
"r": 51,
"g": 51,
"b": 51,
"a": 1
},
"isFontBold": false,
"isFontItalic": false,
"isVisible": false
}
},
{
"name": "fk_clerk_user_1",
"sourceTableName": "clerk",
"sourceSchemaName": "Default",
"lineWidth": 1,
"visible": true,
"vertices": [
{
"x": 1490,
"y": 1665
},
{
"x": 1490,
"y": 1645
}
],
"label": {
"x": 1492,
"y": 1635,
"width": 105,
"height": 30,
"fontName": "Arial Unicode MS",
"fontSize": 14,
"fontColor": {
"r": 51,
"g": 51,
"b": 51,
"a": 1
},
"isFontBold": false,
"isFontItalic": false,
"isVisible": false
}
},
{
"name": "fk_store_order_store_1",
"sourceTableName": "store_order",
"sourceSchemaName": "Default",
"lineWidth": 1,
"visible": true,
"vertices": [
{
"x": 505,
"y": 1500
},
{
"x": 1045,
"y": 1500
}
],
"label": {
"x": 495,
"y": 1462,
"width": 154,
"height": 30,
"fontName": "Arial Unicode MS",
"fontSize": 14,
"fontColor": {
"r": 51,
"g": 51,
"b": 51,
"a": 1
},
"isFontBold": false,
"isFontItalic": false,
"isVisible": false
}
},
{
"name": "fk_store_order_address_1",
"sourceTableName": "store_order",
"sourceSchemaName": "Default",
"lineWidth": 1,
"visible": true,
"vertices": [
{
"x": 390,
"y": 1365
},
{
"x": 390,
"y": 1250
},
{
"x": 590,
"y": 1250
},
{
"x": 590,
"y": 1195
}
],
"label": {
"x": 398,
"y": 1375,
"width": 172,
"height": 30,
"fontName": "Arial Unicode MS",
"fontSize": 14,
"fontColor": {
"r": 51,
"g": 51,
"b": 51,
"a": 1
},
"isFontBold": false,
"isFontItalic": false,
"isVisible": false
}
},
{
"name": "fk_store_order_evaluate_1",
"sourceTableName": "store_order",
"sourceSchemaName": "Default",
"lineWidth": 1,
"visible": true,
"vertices": [
{
"x": 265,
"y": 1640
},
{
"x": 245,
"y": 1640
}
],
"label": {
"x": 97,
"y": 1602,
"width": 178,
"height": 30,
"fontName": "Arial Unicode MS",
"fontSize": 14,
"fontColor": {
"r": 51,
"g": 51,
"b": 51,
"a": 1
},
"isFontBold": false,
"isFontItalic": false,
"isVisible": false
}
},
{
"name": "fk_store_order_wx_user_1",
"sourceTableName": "store_order",
"sourceSchemaName": "Default",
"lineWidth": 1,
"visible": true,
"vertices": [
{
"x": 320,
"y": 1365
},
{
"x": 320,
"y": 1205
}
],
"label": {
"x": 149,
"y": 1335,
"width": 173,
"height": 30,
"fontName": "Arial Unicode MS",
"fontSize": 14,
"fontColor": {
"r": 51,
"g": 51,
"b": 51,
"a": 1
},
"isFontBold": false,
"isFontItalic": false,
"isVisible": false
}
},
{
"name": "fk_details_value_commodity_details_1",
"sourceTableName": "details_value",
"sourceSchemaName": "Default",
"lineWidth": 1,
"visible": true,
"vertices": [
{
"x": 870,
"y": 745
},
{
"x": 870,
"y": 765
}
],
"label": {
"x": 878,
"y": 735,
"width": 258,
"height": 30,
"fontName": "Arial Unicode MS",
"fontSize": 14,
"fontColor": {
"r": 51,
"g": 51,
"b": 51,
"a": 1
},
"isFontBold": false,
"isFontItalic": false,
"isVisible": false
}
},
{
"name": "fk_commodity_details_commodity_1",
"sourceTableName": "commodity_details",
"sourceSchemaName": "Default",
"lineWidth": 1,
"visible": true,
"vertices": [
{
"x": 1025,
"y": 900
},
{
"x": 1055,
"y": 900
}
],
"label": {
"x": 1015,
"y": 862,
"width": 248,
"height": 30,
"fontName": "Arial Unicode MS",
"fontSize": 14,
"fontColor": {
"r": 51,
"g": 51,
"b": 51,
"a": 1
},
"isFontBold": false,
"isFontItalic": false,
"isVisible": false
}
},
{
"name": "fk_order_status_store_order_1",
"sourceTableName": "order_status",
"sourceSchemaName": "Default",
"lineWidth": 1,
"visible": true,
"vertices": [
{
"x": 550,
"y": 1925
},
{
"x": 550,
"y": 1740
},
{
"x": 505,
"y": 1740
}
],
"label": {
"x": 558,
"y": 1905,
"width": 202,
"height": 30,
"fontName": "Arial Unicode MS",
"fontSize": 14,
"fontColor": {
"r": 51,
"g": 51,
"b": 51,
"a": 1
},
"isFontBold": false,
"isFontItalic": false,
"isVisible": false
}
}
],
"viewRelations": []
}
]
}
此处可能存在不合适展示的内容,页面不予展示。您可通过相关编辑功能自查并修改。
如您确认内容无涉及 不当用语 / 纯广告导流 / 暴力 / 低俗色情 / 侵权 / 盗版 / 虚假 / 无价值内容或违法国家有关法律法规的内容,可点击提交进行申诉,我们将尽快为您处理。