You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 

11247 lines
315 KiB

{
"modules": [
{
"name": "DB_REVERSE_MYSQL",
"chnname": "逆向解析_MYSQL",
"entities": [
{
"title": "monitor_server",
"chnname": "服务监控",
"fields": [
{
"name": "id",
"type": "INT_10",
"chnname": "",
"remark": "",
"pk": true,
"notNull": true,
"autoIncrement": true,
"defaultValue": ""
},
{
"name": "cpu_core",
"type": "INT_10",
"chnname": "CPU内核数",
"remark": "",
"pk": false,
"notNull": false,
"autoIncrement": false,
"defaultValue": ""
},
{
"name": "cpu_rate",
"type": "DOUBLE_22",
"chnname": "CPU使用率",
"remark": "",
"pk": false,
"notNull": false,
"autoIncrement": false,
"defaultValue": ""
},
{
"name": "disk_total",
"type": "DOUBLE_22",
"chnname": "磁盘总量",
"remark": "",
"pk": false,
"notNull": false,
"autoIncrement": false,
"defaultValue": ""
},
{
"name": "disk_used",
"type": "DOUBLE_22",
"chnname": "磁盘使用量",
"remark": "",
"pk": false,
"notNull": false,
"autoIncrement": false,
"defaultValue": ""
},
{
"name": "mem_total",
"type": "DOUBLE_22",
"chnname": "内存总数",
"remark": "",
"pk": false,
"notNull": false,
"autoIncrement": false,
"defaultValue": ""
},
{
"name": "mem_used",
"type": "DOUBLE_22",
"chnname": "内存使用量",
"remark": "",
"pk": false,
"notNull": false,
"autoIncrement": false,
"defaultValue": ""
},
{
"name": "name",
"type": "VARCHAR_255",
"chnname": "名称",
"remark": "",
"pk": false,
"notNull": false,
"autoIncrement": false,
"defaultValue": ""
},
{
"name": "port",
"type": "INT_10",
"chnname": "访问端口",
"remark": "",
"pk": false,
"notNull": false,
"autoIncrement": false,
"defaultValue": ""
},
{
"name": "sort",
"type": "INT_10",
"chnname": "排序",
"remark": "",
"pk": false,
"notNull": false,
"autoIncrement": false,
"defaultValue": ""
},
{
"name": "state",
"type": "VARCHAR_255",
"chnname": "状态",
"remark": "",
"pk": false,
"notNull": false,
"autoIncrement": false,
"defaultValue": ""
},
{
"name": "swap_total",
"type": "DOUBLE_22",
"chnname": "交换区总量",
"remark": "",
"pk": false,
"notNull": false,
"autoIncrement": false,
"defaultValue": ""
},
{
"name": "swap_used",
"type": "DOUBLE_22",
"chnname": "交换区使用量",
"remark": "",
"pk": false,
"notNull": false,
"autoIncrement": false,
"defaultValue": ""
},
{
"name": "address",
"type": "VARCHAR_255",
"chnname": "服务地址",
"remark": "",
"pk": false,
"notNull": true,
"autoIncrement": false,
"defaultValue": ""
}
],
"indexs": [],
"headers": [
{
"fieldName": "chnname",
"relationNoShow": false
},
{
"fieldName": "name",
"relationNoShow": false
},
{
"fieldName": "type",
"relationNoShow": false
},
{
"fieldName": "dataType",
"relationNoShow": true
},
{
"fieldName": "remark",
"relationNoShow": true
},
{
"fieldName": "pk",
"relationNoShow": false
},
{
"fieldName": "notNull",
"relationNoShow": true
},
{
"fieldName": "autoIncrement",
"relationNoShow": true
},
{
"fieldName": "defaultValue",
"relationNoShow": true
},
{
"fieldName": "relationNoShow",
"relationNoShow": true
},
{
"fieldName": "uiHint",
"relationNoShow": true
}
]
}
],
"graphCanvas": {
"edges": [],
"nodes": []
},
"associations": []
},
{
"name": "tools",
"chnname": "工具模块",
"entities": [
{
"title": "email_config",
"chnname": "邮箱配置",
"fields": [
{
"name": "id",
"type": "BIGINT_19",
"chnname": "ID",
"remark": "",
"pk": true,
"notNull": true,
"autoIncrement": true,
"defaultValue": ""
},
{
"name": "from_user",
"type": "VARCHAR_255",
"chnname": "收件人",
"remark": "",
"pk": false,
"notNull": false,
"autoIncrement": false,
"defaultValue": ""
},
{
"name": "host",
"type": "VARCHAR_255",
"chnname": "邮件服务器SMTP地址",
"remark": "",
"pk": false,
"notNull": false,
"autoIncrement": false,
"defaultValue": ""
},
{
"name": "pass",
"type": "VARCHAR_255",
"chnname": "密码",
"remark": "",
"pk": false,
"notNull": false,
"autoIncrement": false,
"defaultValue": ""
},
{
"name": "port",
"type": "VARCHAR_255",
"chnname": "端口",
"remark": "",
"pk": false,
"notNull": false,
"autoIncrement": false,
"defaultValue": ""
},
{
"name": "user",
"type": "VARCHAR_255",
"chnname": "发件者用户名",
"remark": "",
"pk": false,
"notNull": false,
"autoIncrement": false,
"defaultValue": ""
}
]
},
{
"title": "local_storage",
"chnname": "本地存储",
"fields": [
{
"name": "id",
"type": "BIGINT_19",
"chnname": "",
"remark": "",
"pk": true,
"notNull": true,
"autoIncrement": true,
"defaultValue": ""
},
{
"name": "real_name",
"type": "VARCHAR_255",
"chnname": "文件真实的名称",
"remark": "",
"pk": false,
"notNull": false,
"autoIncrement": false,
"defaultValue": ""
},
{
"name": "name",
"type": "VARCHAR_255",
"chnname": "文件名",
"remark": "",
"pk": false,
"notNull": false,
"autoIncrement": false,
"defaultValue": ""
},
{
"name": "suffix",
"type": "VARCHAR_255",
"chnname": "后缀",
"remark": "",
"pk": false,
"notNull": false,
"autoIncrement": false,
"defaultValue": ""
},
{
"name": "path",
"type": "VARCHAR_255",
"chnname": "路径",
"remark": "",
"pk": false,
"notNull": false,
"autoIncrement": false,
"defaultValue": ""
},
{
"name": "type",
"type": "VARCHAR_255",
"chnname": "类型",
"remark": "",
"pk": false,
"notNull": false,
"autoIncrement": false,
"defaultValue": ""
},
{
"name": "size",
"type": "VARCHAR_100",
"chnname": "大小",
"remark": "",
"pk": false,
"notNull": false,
"autoIncrement": false,
"defaultValue": ""
},
{
"name": "operate",
"type": "VARCHAR_255",
"chnname": "操作人",
"remark": "",
"pk": false,
"notNull": false,
"autoIncrement": false,
"defaultValue": ""
},
{
"name": "create_time",
"type": "DATETIME",
"chnname": "创建日期",
"remark": "",
"pk": false,
"notNull": false,
"autoIncrement": false,
"defaultValue": ""
}
]
},
{
"title": "picture",
"chnname": "Sm.Ms图床",
"fields": [
{
"name": "id",
"type": "BIGINT_19",
"chnname": "ID",
"remark": "",
"pk": true,
"notNull": true,
"autoIncrement": true,
"defaultValue": ""
},
{
"name": "create_time",
"type": "DATETIME",
"chnname": "上传日期",
"remark": "",
"pk": false,
"notNull": false,
"autoIncrement": false,
"defaultValue": ""
},
{
"name": "delete_url",
"type": "VARCHAR_255",
"chnname": "删除的URL",
"remark": "",
"pk": false,
"notNull": false,
"autoIncrement": false,
"defaultValue": ""
},
{
"name": "filename",
"type": "VARCHAR_255",
"chnname": "图片名称",
"remark": "",
"pk": false,
"notNull": false,
"autoIncrement": false,
"defaultValue": ""
},
{
"name": "height",
"type": "VARCHAR_255",
"chnname": "图片高度",
"remark": "",
"pk": false,
"notNull": false,
"autoIncrement": false,
"defaultValue": ""
},
{
"name": "size",
"type": "VARCHAR_255",
"chnname": "图片大小",
"remark": "",
"pk": false,
"notNull": false,
"autoIncrement": false,
"defaultValue": ""
},
{
"name": "url",
"type": "VARCHAR_255",
"chnname": "图片地址",
"remark": "",
"pk": false,
"notNull": false,
"autoIncrement": false,
"defaultValue": ""
},
{
"name": "username",
"type": "VARCHAR_255",
"chnname": "用户名称",
"remark": "",
"pk": false,
"notNull": false,
"autoIncrement": false,
"defaultValue": ""
},
{
"name": "width",
"type": "VARCHAR_255",
"chnname": "图片宽度",
"remark": "",
"pk": false,
"notNull": false,
"autoIncrement": false,
"defaultValue": ""
},
{
"name": "md5code",
"type": "VARCHAR_255",
"chnname": "文件的MD5值",
"remark": "",
"pk": false,
"notNull": false,
"autoIncrement": false,
"defaultValue": ""
}
]
},
{
"title": "qiniu_config",
"chnname": "七牛云配置",
"fields": [
{
"name": "id",
"type": "BIGINT_19",
"chnname": "ID",
"remark": "",
"pk": true,
"notNull": true,
"autoIncrement": true,
"defaultValue": ""
},
{
"name": "access_key",
"type": "TEXT",
"chnname": "accessKey",
"remark": "",
"pk": false,
"notNull": false,
"autoIncrement": false,
"defaultValue": ""
},
{
"name": "bucket",
"type": "VARCHAR_255",
"chnname": "Bucket 识别符",
"remark": "",
"pk": false,
"notNull": false,
"autoIncrement": false,
"defaultValue": ""
},
{
"name": "host",
"type": "VARCHAR_255",
"chnname": "外链域名",
"remark": "",
"pk": false,
"notNull": true,
"autoIncrement": false,
"defaultValue": ""
},
{
"name": "secret_key",
"type": "TEXT",
"chnname": "secretKey",
"remark": "",
"pk": false,
"notNull": false,
"autoIncrement": false,
"defaultValue": ""
},
{
"name": "type",
"type": "VARCHAR_255",
"chnname": "空间类型",
"remark": "",
"pk": false,
"notNull": false,
"autoIncrement": false,
"defaultValue": ""
},
{
"name": "zone",
"type": "VARCHAR_255",
"chnname": "机房",
"remark": "",
"pk": false,
"notNull": false,
"autoIncrement": false,
"defaultValue": ""
}
]
},
{
"title": "qiniu_content",
"chnname": "七牛云文件存储",
"fields": [
{
"name": "id",
"type": "BIGINT_19",
"chnname": "ID",
"remark": "",
"pk": true,
"notNull": true,
"autoIncrement": true,
"defaultValue": ""
},
{
"name": "bucket",
"type": "VARCHAR_255",
"chnname": "Bucket 识别符",
"remark": "",
"pk": false,
"notNull": false,
"autoIncrement": false,
"defaultValue": ""
},
{
"name": "name",
"type": "VARCHAR_255",
"chnname": "文件名称",
"remark": "",
"pk": false,
"notNull": false,
"autoIncrement": false,
"defaultValue": ""
},
{
"name": "size",
"type": "VARCHAR_255",
"chnname": "文件大小",
"remark": "",
"pk": false,
"notNull": false,
"autoIncrement": false,
"defaultValue": ""
},
{
"name": "type",
"type": "VARCHAR_255",
"chnname": "文件类型:私有或公开",
"remark": "",
"pk": false,
"notNull": false,
"autoIncrement": false,
"defaultValue": ""
},
{
"name": "update_time",
"type": "DATETIME",
"chnname": "上传或同步的时间",
"remark": "",
"pk": false,
"notNull": false,
"autoIncrement": false,
"defaultValue": ""
},
{
"name": "url",
"type": "VARCHAR_255",
"chnname": "文件url",
"remark": "",
"pk": false,
"notNull": false,
"autoIncrement": false,
"defaultValue": ""
},
{
"name": "suffix",
"type": "VARCHAR_255",
"chnname": "",
"remark": "",
"pk": false,
"notNull": false,
"autoIncrement": false,
"defaultValue": ""
}
]
},
{
"title": "verification_code",
"chnname": "验证码",
"fields": [
{
"name": "id",
"type": "BIGINT_19",
"chnname": "ID",
"remark": "",
"pk": true,
"notNull": true,
"autoIncrement": true,
"defaultValue": ""
},
{
"name": "code",
"type": "VARCHAR_255",
"chnname": "验证码",
"remark": "",
"pk": false,
"notNull": false,
"autoIncrement": false,
"defaultValue": ""
},
{
"name": "create_time",
"type": "DATETIME",
"chnname": "创建日期",
"remark": "",
"pk": false,
"notNull": false,
"autoIncrement": false,
"defaultValue": ""
},
{
"name": "status",
"type": "BIT_1",
"chnname": "状态:1有效、0过期",
"remark": "",
"pk": false,
"notNull": false,
"autoIncrement": false,
"defaultValue": ""
},
{
"name": "type",
"type": "VARCHAR_255",
"chnname": "验证码类型:email或者短信",
"remark": "",
"pk": false,
"notNull": false,
"autoIncrement": false,
"defaultValue": ""
},
{
"name": "value",
"type": "VARCHAR_255",
"chnname": "接收邮箱或者手机号码",
"remark": "",
"pk": false,
"notNull": false,
"autoIncrement": false,
"defaultValue": ""
},
{
"name": "scenes",
"type": "VARCHAR_255",
"chnname": "业务名称:如重置邮箱、重置密码等",
"remark": "",
"pk": false,
"notNull": false,
"autoIncrement": false,
"defaultValue": ""
}
]
},
{
"title": "alipay_config",
"chnname": "支付宝配置类",
"fields": [
{
"name": "id",
"type": "BIGINT_19",
"chnname": "主键",
"remark": "",
"pk": true,
"notNull": true,
"autoIncrement": true,
"defaultValue": ""
},
{
"name": "app_id",
"type": "VARCHAR_255",
"chnname": "应用ID",
"remark": "",
"pk": false,
"notNull": false,
"autoIncrement": false,
"defaultValue": ""
},
{
"name": "charset",
"type": "VARCHAR_255",
"chnname": "编码",
"remark": "",
"pk": false,
"notNull": false,
"autoIncrement": false,
"defaultValue": ""
},
{
"name": "format",
"type": "VARCHAR_255",
"chnname": "类型 固定格式json",
"remark": "",
"pk": false,
"notNull": false,
"autoIncrement": false,
"defaultValue": ""
},
{
"name": "gateway_url",
"type": "VARCHAR_255",
"chnname": "网关地址",
"remark": "",
"pk": false,
"notNull": false,
"autoIncrement": false,
"defaultValue": ""
},
{
"name": "notify_url",
"type": "VARCHAR_255",
"chnname": "异步回调",
"remark": "",
"pk": false,
"notNull": false,
"autoIncrement": false,
"defaultValue": ""
},
{
"name": "private_key",
"type": "TEXT",
"chnname": "私钥",
"remark": "",
"pk": false,
"notNull": false,
"autoIncrement": false,
"defaultValue": ""
},
{
"name": "public_key",
"type": "TEXT",
"chnname": "公钥",
"remark": "",
"pk": false,
"notNull": false,
"autoIncrement": false,
"defaultValue": ""
},
{
"name": "return_url",
"type": "VARCHAR_255",
"chnname": "回调地址",
"remark": "",
"pk": false,
"notNull": false,
"autoIncrement": false,
"defaultValue": ""
},
{
"name": "sign_type",
"type": "VARCHAR_255",
"chnname": "签名方式",
"remark": "",
"pk": false,
"notNull": false,
"autoIncrement": false,
"defaultValue": ""
},
{
"name": "sys_service_provider_id",
"type": "VARCHAR_255",
"chnname": "商户号",
"remark": "",
"pk": false,
"notNull": false,
"autoIncrement": false,
"defaultValue": ""
}
]
}
],
"graphCanvas": {
"nodes": [],
"edges": []
}
},
{
"name": "logging",
"chnname": "日志",
"entities": [
{
"title": "log",
"chnname": "系统日志",
"fields": [
{
"name": "id",
"type": "BIGINT_19",
"chnname": "",
"remark": "",
"pk": true,
"notNull": true,
"autoIncrement": true,
"defaultValue": ""
},
{
"name": "create_time",
"type": "DATETIME",
"chnname": "",
"remark": "",
"pk": false,
"notNull": false,
"autoIncrement": false,
"defaultValue": ""
},
{
"name": "description",
"type": "VARCHAR_255",
"chnname": "",
"remark": "",
"pk": false,
"notNull": false,
"autoIncrement": false,
"defaultValue": ""
},
{
"name": "exception_detail",
"type": "TEXT",
"chnname": "",
"remark": "",
"pk": false,
"notNull": false,
"autoIncrement": false,
"defaultValue": ""
},
{
"name": "log_type",
"type": "VARCHAR_255",
"chnname": "",
"remark": "",
"pk": false,
"notNull": false,
"autoIncrement": false,
"defaultValue": ""
},
{
"name": "method",
"type": "VARCHAR_255",
"chnname": "",
"remark": "",
"pk": false,
"notNull": false,
"autoIncrement": false,
"defaultValue": ""
},
{
"name": "params",
"type": "TEXT",
"chnname": "",
"remark": "",
"pk": false,
"notNull": false,
"autoIncrement": false,
"defaultValue": ""
},
{
"name": "request_ip",
"type": "VARCHAR_255",
"chnname": "",
"remark": "",
"pk": false,
"notNull": false,
"autoIncrement": false,
"defaultValue": ""
},
{
"name": "time",
"type": "BIGINT_19",
"chnname": "",
"remark": "",
"pk": false,
"notNull": false,
"autoIncrement": false,
"defaultValue": ""
},
{
"name": "username",
"type": "VARCHAR_255",
"chnname": "",
"remark": "",
"pk": false,
"notNull": false,
"autoIncrement": false,
"defaultValue": ""
},
{
"name": "address",
"type": "VARCHAR_255",
"chnname": "",
"remark": "",
"pk": false,
"notNull": false,
"autoIncrement": false,
"defaultValue": ""
},
{
"name": "browser",
"type": "VARCHAR_255",
"chnname": "",
"remark": "",
"pk": false,
"notNull": false,
"autoIncrement": false,
"defaultValue": ""
},
{
"name": "type",
"type": "INT_10",
"chnname": "",
"remark": "",
"pk": false,
"notNull": false,
"autoIncrement": false,
"defaultValue": ""
},
{
"name": "uid",
"type": "BIGINT_19",
"chnname": "",
"remark": "",
"pk": false,
"notNull": false,
"autoIncrement": false,
"defaultValue": ""
},
{
"name": "update_time",
"type": "DATETIME",
"chnname": "",
"remark": "",
"pk": false,
"notNull": false,
"autoIncrement": false,
"defaultValue": ""
},
{
"name": "is_del",
"type": "BIT_1",
"chnname": "",
"remark": "",
"pk": false,
"notNull": false,
"autoIncrement": false,
"defaultValue": ""
}
],
"indexs": [],
"headers": [
{
"fieldName": "chnname",
"relationNoShow": false
},
{
"fieldName": "name",
"relationNoShow": false
},
{
"fieldName": "type",
"relationNoShow": false
},
{
"fieldName": "dataType",
"relationNoShow": true
},
{
"fieldName": "remark",
"relationNoShow": true
},
{
"fieldName": "pk",
"relationNoShow": false
},
{
"fieldName": "notNull",
"relationNoShow": true
},
{
"fieldName": "autoIncrement",
"relationNoShow": true
},
{
"fieldName": "defaultValue",
"relationNoShow": true
},
{
"fieldName": "relationNoShow",
"relationNoShow": true
},
{
"fieldName": "uiHint",
"relationNoShow": true
}
]
}
],
"graphCanvas": {
"nodes": [],
"edges": []
},
"associations": []
},
{
"name": "gen",
"chnname": "代码生成",
"entities": [
{
"title": "gen_test",
"chnname": "代码生成测试",
"fields": [
{
"name": "id",
"type": "INT_10",
"chnname": "",
"remark": "",
"pk": true,
"notNull": true,
"autoIncrement": true,
"defaultValue": ""
},
{
"name": "name",
"type": "VARCHAR_255",
"chnname": "",
"remark": "",
"pk": false,
"notNull": false,
"autoIncrement": false,
"defaultValue": ""
},
{
"name": "sex",
"type": "INT_10",
"chnname": "性别",
"remark": "",
"pk": false,
"notNull": false,
"autoIncrement": false,
"defaultValue": ""
},
{
"name": "create_time",
"type": "DATETIME",
"chnname": "",
"remark": "",
"pk": false,
"notNull": false,
"autoIncrement": false,
"defaultValue": ""
}
]
},
{
"title": "column_config",
"chnname": "代码生成字段信息存储",
"fields": [
{
"name": "id",
"type": "BIGINT_19",
"chnname": "",
"remark": "",
"pk": true,
"notNull": true,
"autoIncrement": true,
"defaultValue": ""
},
{
"name": "table_name",
"type": "VARCHAR_255",
"chnname": "",
"remark": "",
"pk": false,
"notNull": false,
"autoIncrement": false,
"defaultValue": ""
},
{
"name": "column_name",
"type": "VARCHAR_255",
"chnname": "",
"remark": "",
"pk": false,
"notNull": false,
"autoIncrement": false,
"defaultValue": ""
},
{
"name": "column_type",
"type": "VARCHAR_255",
"chnname": "",
"remark": "",
"pk": false,
"notNull": false,
"autoIncrement": false,
"defaultValue": ""
},
{
"name": "dict_name",
"type": "VARCHAR_255",
"chnname": "",
"remark": "",
"pk": false,
"notNull": false,
"autoIncrement": false,
"defaultValue": ""
},
{
"name": "extra",
"type": "VARCHAR_255",
"chnname": "",
"remark": "",
"pk": false,
"notNull": false,
"autoIncrement": false,
"defaultValue": ""
},
{
"name": "form_show",
"type": "BIT_1",
"chnname": "",
"remark": "",
"pk": false,
"notNull": false,
"autoIncrement": false,
"defaultValue": ""
},
{
"name": "form_type",
"type": "VARCHAR_255",
"chnname": "",
"remark": "",
"pk": false,
"notNull": false,
"autoIncrement": false,
"defaultValue": ""
},
{
"name": "key_type",
"type": "VARCHAR_255",
"chnname": "",
"remark": "",
"pk": false,
"notNull": false,
"autoIncrement": false,
"defaultValue": ""
},
{
"name": "list_show",
"type": "BIT_1",
"chnname": "",
"remark": "",
"pk": false,
"notNull": false,
"autoIncrement": false,
"defaultValue": ""
},
{
"name": "not_null",
"type": "BIT_1",
"chnname": "",
"remark": "",
"pk": false,
"notNull": false,
"autoIncrement": false,
"defaultValue": ""
},
{
"name": "query_type",
"type": "VARCHAR_255",
"chnname": "",
"remark": "",
"pk": false,
"notNull": false,
"autoIncrement": false,
"defaultValue": ""
},
{
"name": "remark",
"type": "VARCHAR_255",
"chnname": "",
"remark": "",
"pk": false,
"notNull": false,
"autoIncrement": false,
"defaultValue": ""
},
{
"name": "date_annotation",
"type": "VARCHAR_255",
"chnname": "",
"remark": "",
"pk": false,
"notNull": false,
"autoIncrement": false,
"defaultValue": ""
}
]
},
{
"title": "gen_config",
"chnname": "代码生成器配置",
"fields": [
{
"name": "id",
"type": "BIGINT_19",
"chnname": "ID",
"remark": "",
"pk": true,
"notNull": true,
"autoIncrement": true,
"defaultValue": ""
},
{
"name": "table_name",
"type": "VARCHAR_255",
"chnname": "表名",
"remark": "",
"pk": false,
"notNull": false,
"autoIncrement": false,
"defaultValue": ""
},
{
"name": "author",
"type": "VARCHAR_255",
"chnname": "作者",
"remark": "",
"pk": false,
"notNull": false,
"autoIncrement": false,
"defaultValue": ""
},
{
"name": "cover",
"type": "BIT_1",
"chnname": "是否覆盖",
"remark": "",
"pk": false,
"notNull": false,
"autoIncrement": false,
"defaultValue": ""
},
{
"name": "module_name",
"type": "VARCHAR_255",
"chnname": "模块名称",
"remark": "",
"pk": false,
"notNull": false,
"autoIncrement": false,
"defaultValue": ""
},
{
"name": "pack",
"type": "VARCHAR_255",
"chnname": "至于哪个包下",
"remark": "",
"pk": false,
"notNull": false,
"autoIncrement": false,
"defaultValue": ""
},
{
"name": "path",
"type": "VARCHAR_255",
"chnname": "前端代码生成的路径",
"remark": "",
"pk": false,
"notNull": false,
"autoIncrement": false,
"defaultValue": ""
},
{
"name": "api_path",
"type": "VARCHAR_255",
"chnname": "前端Api文件路径",
"remark": "",
"pk": false,
"notNull": false,
"autoIncrement": false,
"defaultValue": ""
},
{
"name": "prefix",
"type": "VARCHAR_255",
"chnname": "表前缀",
"remark": "",
"pk": false,
"notNull": false,
"autoIncrement": false,
"defaultValue": ""
},
{
"name": "api_alias",
"type": "VARCHAR_255",
"chnname": "接口名称",
"remark": "",
"pk": false,
"notNull": false,
"autoIncrement": false,
"defaultValue": ""
}
]
}
],
"graphCanvas": {
"nodes": [
{
"shape": "table",
"title": "column_config",
"moduleName": false,
"x": 288.359375,
"y": 279,
"id": "09a1ceae"
},
{
"shape": "table",
"title": "gen_config",
"moduleName": false,
"x": 760,
"y": 200,
"id": "2e380491"
}
],
"edges": []
},
"associations": []
},
{
"name": "monitor",
"chnname": "",
"entities": [
{
"title": "visits",
"chnname": "访客记录",
"fields": [
{
"name": "id",
"type": "BIGINT_19",
"chnname": "",
"remark": "",
"pk": true,
"notNull": true,
"autoIncrement": true,
"defaultValue": ""
},
{
"name": "create_time",
"type": "DATETIME",
"chnname": "",
"remark": "",
"pk": false,
"notNull": false,
"autoIncrement": false,
"defaultValue": ""
},
{
"name": "date",
"type": "VARCHAR_255",
"chnname": "",
"remark": "",
"pk": false,
"notNull": false,
"autoIncrement": false,
"defaultValue": ""
},
{
"name": "ip_counts",
"type": "BIGINT_19",
"chnname": "",
"remark": "",
"pk": false,
"notNull": false,
"autoIncrement": false,
"defaultValue": ""
},
{
"name": "pv_counts",
"type": "BIGINT_19",
"chnname": "",
"remark": "",
"pk": false,
"notNull": false,
"autoIncrement": false,
"defaultValue": ""
},
{
"name": "week_day",
"type": "VARCHAR_255",
"chnname": "",
"remark": "",
"pk": false,
"notNull": false,
"autoIncrement": false,
"defaultValue": ""
}
],
"indexs": [],
"headers": [
{
"fieldName": "chnname",
"relationNoShow": false
},
{
"fieldName": "name",
"relationNoShow": false
},
{
"fieldName": "type",
"relationNoShow": false
},
{
"fieldName": "dataType",
"relationNoShow": true
},
{
"fieldName": "remark",
"relationNoShow": true
},
{
"fieldName": "pk",
"relationNoShow": false
},
{
"fieldName": "notNull",
"relationNoShow": true
},
{
"fieldName": "autoIncrement",
"relationNoShow": true
},
{
"fieldName": "defaultValue",
"relationNoShow": true
},
{
"fieldName": "relationNoShow",
"relationNoShow": true
},
{
"fieldName": "uiHint",
"relationNoShow": true
}
]
}
],
"graphCanvas": {
"nodes": [],
"edges": []
},
"associations": []
},
{
"name": "quartz",
"chnname": "定时任务",
"entities": [
{
"title": "quartz_job",
"chnname": "定时任务",
"fields": [
{
"name": "id",
"type": "BIGINT_19",
"chnname": "ID",
"remark": "",
"pk": true,
"notNull": true,
"autoIncrement": true,
"defaultValue": ""
},
{
"name": "bean_name",
"type": "VARCHAR_255",
"chnname": "Spring Bean名称",
"remark": "",
"pk": false,
"notNull": false,
"autoIncrement": false,
"defaultValue": ""
},
{
"name": "cron_expression",
"type": "VARCHAR_255",
"chnname": "cron 表达式",
"remark": "",
"pk": false,
"notNull": false,
"autoIncrement": false,
"defaultValue": ""
},
{
"name": "is_pause",
"type": "BIT_1",
"chnname": "状态:1暂停、0启用",
"remark": "",
"pk": false,
"notNull": false,
"autoIncrement": false,
"defaultValue": ""
},
{
"name": "job_name",
"type": "VARCHAR_255",
"chnname": "任务名称",
"remark": "",
"pk": false,
"notNull": false,
"autoIncrement": false,
"defaultValue": ""
},
{
"name": "method_name",
"type": "VARCHAR_255",
"chnname": "方法名称",
"remark": "",
"pk": false,
"notNull": false,
"autoIncrement": false,
"defaultValue": ""
},
{
"name": "params",
"type": "VARCHAR_255",
"chnname": "参数",
"remark": "",
"pk": false,
"notNull": false,
"autoIncrement": false,
"defaultValue": ""
},
{
"name": "remark",
"type": "VARCHAR_255",
"chnname": "备注",
"remark": "",
"pk": false,
"notNull": false,
"autoIncrement": false,
"defaultValue": ""
},
{
"name": "create_time",
"type": "DATETIME",
"chnname": "创建日期",
"remark": "",
"pk": false,
"notNull": false,
"autoIncrement": false,
"defaultValue": ""
},
{
"name": "update_time",
"type": "DATETIME",
"chnname": "",
"remark": "",
"pk": false,
"notNull": false,
"autoIncrement": false,
"defaultValue": ""
},
{
"name": "is_del",
"type": "BIT_1",
"chnname": "",
"remark": "",
"pk": false,
"notNull": false,
"autoIncrement": false,
"defaultValue": ""
}
],
"indexs": [],
"headers": [
{
"fieldName": "chnname",
"relationNoShow": false
},
{
"fieldName": "name",
"relationNoShow": false
},
{
"fieldName": "type",
"relationNoShow": false
},
{
"fieldName": "dataType",
"relationNoShow": true
},
{
"fieldName": "remark",
"relationNoShow": true
},
{
"fieldName": "pk",
"relationNoShow": false
},
{
"fieldName": "notNull",
"relationNoShow": true
},
{
"fieldName": "autoIncrement",
"relationNoShow": true
},
{
"fieldName": "defaultValue",
"relationNoShow": true
},
{
"fieldName": "relationNoShow",
"relationNoShow": true
},
{
"fieldName": "uiHint",
"relationNoShow": true
}
]
},
{
"title": "quartz_log",
"chnname": "定时任务日志",
"fields": [
{
"name": "id",
"type": "BIGINT_19",
"chnname": "",
"remark": "",
"pk": true,
"notNull": true,
"autoIncrement": true,
"defaultValue": ""
},
{
"name": "baen_name",
"type": "VARCHAR_255",
"chnname": "",
"remark": "",
"pk": false,
"notNull": false,
"autoIncrement": false,
"defaultValue": ""
},
{
"name": "create_time",
"type": "DATETIME",
"chnname": "",
"remark": "",
"pk": false,
"notNull": false,
"autoIncrement": false,
"defaultValue": ""
},
{
"name": "cron_expression",
"type": "VARCHAR_255",
"chnname": "",
"remark": "",
"pk": false,
"notNull": false,
"autoIncrement": false,
"defaultValue": ""
},
{
"name": "exception_detail",
"type": "TEXT",
"chnname": "",
"remark": "",
"pk": false,
"notNull": false,
"autoIncrement": false,
"defaultValue": ""
},
{
"name": "is_success",
"type": "BIT_1",
"chnname": "",
"remark": "",
"pk": false,
"notNull": false,
"autoIncrement": false,
"defaultValue": ""
},
{
"name": "job_name",
"type": "VARCHAR_255",
"chnname": "",
"remark": "",
"pk": false,
"notNull": false,
"autoIncrement": false,
"defaultValue": ""
},
{
"name": "method_name",
"type": "VARCHAR_255",
"chnname": "",
"remark": "",
"pk": false,
"notNull": false,
"autoIncrement": false,
"defaultValue": ""
},
{
"name": "params",
"type": "VARCHAR_255",
"chnname": "",
"remark": "",
"pk": false,
"notNull": false,
"autoIncrement": false,
"defaultValue": ""
},
{
"name": "time",
"type": "BIGINT_19",
"chnname": "",
"remark": "",
"pk": false,
"notNull": false,
"autoIncrement": false,
"defaultValue": ""
},
{
"name": "update_time",
"type": "DATETIME",
"chnname": "",
"remark": "",
"pk": false,
"notNull": false,
"autoIncrement": false,
"defaultValue": ""
},
{
"name": "is_del",
"type": "BIT_1",
"chnname": "",
"remark": "",
"pk": false,
"notNull": false,
"autoIncrement": false,
"defaultValue": ""
}
],
"indexs": [],
"headers": [
{
"fieldName": "chnname",
"relationNoShow": false
},
{
"fieldName": "name",
"relationNoShow": false
},
{
"fieldName": "type",
"relationNoShow": false
},
{
"fieldName": "dataType",
"relationNoShow": true
},
{
"fieldName": "remark",
"relationNoShow": true
},
{
"fieldName": "pk",
"relationNoShow": false
},
{
"fieldName": "notNull",
"relationNoShow": true
},
{
"fieldName": "autoIncrement",
"relationNoShow": true
},
{
"fieldName": "defaultValue",
"relationNoShow": true
},
{
"fieldName": "relationNoShow",
"relationNoShow": true
},
{
"fieldName": "uiHint",
"relationNoShow": true
}
]
}
],
"graphCanvas": {
"nodes": [
{
"shape": "table",
"title": "quartz_job",
"moduleName": false,
"x": 422.359375,
"y": 367,
"id": "4b2bda89"
},
{
"shape": "table",
"title": "quartz_log",
"moduleName": false,
"x": 890,
"y": 340,
"id": "b47ba8e0"
}
],
"edges": [
{
"shape": "erdRelation",
"relation": "0,n:1",
"source": "b47ba8e0",
"target": "4b2bda89",
"id": "01afd2ee",
"controlPoints": [
{
"x": 759.2236328125,
"y": 356.3101851851852
},
{
"x": 608.0595703125,
"y": 354.9063636363636
}
],
"sourceAnchor": 12,
"targetAnchor": 9
}
]
},
"associations": [
{
"relation": "0,n:1",
"from": {
"entity": "quartz_log",
"field": "job_name"
},
"to": {
"entity": "quartz_job",
"field": "job_name"
}
}
]
},
{
"name": "system",
"chnname": "系统模块",
"entities": [
{
"title": "users_roles",
"chnname": "用户角色关联",
"fields": [
{
"name": "user_id",
"type": "BIGINT_19",
"chnname": "用户ID",
"remark": "",
"pk": true,
"notNull": true,
"autoIncrement": false,
"defaultValue": ""
},
{
"name": "role_id",
"type": "BIGINT_19",
"chnname": "角色ID",
"remark": "",
"pk": true,
"notNull": true,
"autoIncrement": false,
"defaultValue": ""
}
]
},
{
"title": "roles_menus",
"chnname": "角色菜单关联",
"fields": [
{
"name": "menu_id",
"type": "BIGINT_19",
"chnname": "菜单ID",
"remark": "",
"pk": true,
"notNull": true,
"autoIncrement": false,
"defaultValue": ""
},
{
"name": "role_id",
"type": "BIGINT_19",
"chnname": "角色ID",
"remark": "",
"pk": true,
"notNull": true,
"autoIncrement": false,
"defaultValue": ""
}
]
},
{
"title": "roles_depts",
"chnname": "角色部门关联",
"fields": [
{
"name": "role_id",
"type": "BIGINT_19",
"chnname": "",
"remark": "",
"pk": true,
"notNull": true,
"autoIncrement": false,
"defaultValue": ""
},
{
"name": "dept_id",
"type": "BIGINT_19",
"chnname": "",
"remark": "",
"pk": true,
"notNull": true,
"autoIncrement": false,
"defaultValue": ""
}
]
},
{
"title": "user_avatar",
"chnname": "系统用户头像",
"fields": [
{
"name": "id",
"type": "BIGINT_19",
"chnname": "",
"remark": "",
"pk": true,
"notNull": true,
"autoIncrement": true,
"defaultValue": ""
},
{
"name": "real_name",
"type": "VARCHAR_255",
"chnname": "真实文件名",
"remark": "",
"pk": false,
"notNull": false,
"autoIncrement": false,
"defaultValue": ""
},
{
"name": "path",
"type": "VARCHAR_255",
"chnname": "路径",
"remark": "",
"pk": false,
"notNull": false,
"autoIncrement": false,
"defaultValue": ""
},
{
"name": "size",
"type": "VARCHAR_255",
"chnname": "大小",
"remark": "",
"pk": false,
"notNull": false,
"autoIncrement": false,
"defaultValue": ""
},
{
"name": "create_time",
"type": "DATETIME",
"chnname": "创建时间",
"remark": "",
"pk": false,
"notNull": false,
"autoIncrement": false,
"defaultValue": ""
}
]
},
{
"title": "role",
"chnname": "角色表",
"fields": [
{
"name": "id",
"type": "BIGINT_19",
"chnname": "ID",
"remark": "",
"pk": true,
"notNull": true,
"autoIncrement": true,
"defaultValue": ""
},
{
"name": "name",
"type": "VARCHAR_255",
"chnname": "名称",
"remark": "",
"pk": false,
"notNull": true,
"autoIncrement": false,
"defaultValue": ""
},
{
"name": "remark",
"type": "VARCHAR_255",
"chnname": "备注",
"remark": "",
"pk": false,
"notNull": false,
"autoIncrement": false,
"defaultValue": ""
},
{
"name": "data_scope",
"type": "VARCHAR_255",
"chnname": "数据权限",
"remark": "",
"pk": false,
"notNull": false,
"autoIncrement": false,
"defaultValue": ""
},
{
"name": "level",
"type": "INT_10",
"chnname": "角色级别",
"remark": "",
"pk": false,
"notNull": false,
"autoIncrement": false,
"defaultValue": ""
},
{
"name": "create_time",
"type": "DATETIME",
"chnname": "创建日期",
"remark": "",
"pk": false,
"notNull": false,
"autoIncrement": false,
"defaultValue": ""
},
{
"name": "permission",
"type": "VARCHAR_255",
"chnname": "功能权限",
"remark": "",
"pk": false,
"notNull": false,
"autoIncrement": false,
"defaultValue": ""
},
{
"name": "update_time",
"type": "DATETIME",
"chnname": "",
"remark": "",
"pk": false,
"notNull": false,
"autoIncrement": false,
"defaultValue": ""
},
{
"name": "is_del",
"type": "BIT_1",
"chnname": "",
"remark": "",
"pk": false,
"notNull": false,
"autoIncrement": false,
"defaultValue": ""
}
]
},
{
"title": "dict",
"chnname": "数据字典",
"fields": [
{
"name": "id",
"type": "BIGINT_19",
"chnname": "",
"remark": "",
"pk": true,
"notNull": true,
"autoIncrement": true,
"defaultValue": ""
},
{
"name": "name",
"type": "VARCHAR_255",
"chnname": "字典名称",
"remark": "",
"pk": false,
"notNull": true,
"autoIncrement": false,
"defaultValue": ""
},
{
"name": "remark",
"type": "VARCHAR_255",
"chnname": "描述",
"remark": "",
"pk": false,
"notNull": false,
"autoIncrement": false,
"defaultValue": ""
},
{
"name": "create_time",
"type": "DATETIME",
"chnname": "创建日期",
"remark": "",
"pk": false,
"notNull": false,
"autoIncrement": false,
"defaultValue": ""
},
{
"name": "update_time",
"type": "DATETIME",
"chnname": "",
"remark": "",
"pk": false,
"notNull": false,
"autoIncrement": false,
"defaultValue": ""
},
{
"name": "is_del",
"type": "BIT_1",
"chnname": "",
"remark": "",
"pk": false,
"notNull": false,
"autoIncrement": false,
"defaultValue": ""
}
]
},
{
"title": "dict_detail",
"chnname": "数据字典详情",
"fields": [
{
"name": "id",
"type": "BIGINT_19",
"chnname": "",
"remark": "",
"pk": true,
"notNull": true,
"autoIncrement": true,
"defaultValue": ""
},
{
"name": "label",
"type": "VARCHAR_255",
"chnname": "字典标签",
"remark": "",
"pk": false,
"notNull": true,
"autoIncrement": false,
"defaultValue": ""
},
{
"name": "value",
"type": "VARCHAR_255",
"chnname": "字典值",
"remark": "",
"pk": false,
"notNull": true,
"autoIncrement": false,
"defaultValue": ""
},
{
"name": "sort",
"type": "VARCHAR_255",
"chnname": "排序",
"remark": "",
"pk": false,
"notNull": false,
"autoIncrement": false,
"defaultValue": ""
},
{
"name": "dict_id",
"type": "BIGINT_19",
"chnname": "字典id",
"remark": "",
"pk": false,
"notNull": false,
"autoIncrement": false,
"defaultValue": ""
},
{
"name": "create_time",
"type": "DATETIME",
"chnname": "创建日期",
"remark": "",
"pk": false,
"notNull": false,
"autoIncrement": false,
"defaultValue": ""
},
{
"name": "update_time",
"type": "DATETIME",
"chnname": "",
"remark": "",
"pk": false,
"notNull": false,
"autoIncrement": false,
"defaultValue": ""
},
{
"name": "is_del",
"type": "BIT_1",
"chnname": "",
"remark": "",
"pk": false,
"notNull": false,
"autoIncrement": false,
"defaultValue": ""
}
]
},
{
"title": "dept",
"chnname": "部门",
"fields": [
{
"name": "id",
"type": "BIGINT_19",
"chnname": "ID",
"remark": "",
"pk": true,
"notNull": true,
"autoIncrement": true,
"defaultValue": ""
},
{
"name": "name",
"type": "VARCHAR_255",
"chnname": "名称",
"remark": "",
"pk": false,
"notNull": true,
"autoIncrement": false,
"defaultValue": ""
},
{
"name": "pid",
"type": "BIGINT_19",
"chnname": "上级部门",
"remark": "",
"pk": false,
"notNull": true,
"autoIncrement": false,
"defaultValue": ""
},
{
"name": "enabled",
"type": "BIT_1",
"chnname": "状态",
"remark": "",
"pk": false,
"notNull": true,
"autoIncrement": false,
"defaultValue": ""
},
{
"name": "create_time",
"type": "DATETIME",
"chnname": "创建日期",
"remark": "",
"pk": false,
"notNull": false,
"autoIncrement": false,
"defaultValue": ""
},
{
"name": "update_time",
"type": "DATETIME",
"chnname": "",
"remark": "",
"pk": false,
"notNull": false,
"autoIncrement": false,
"defaultValue": ""
},
{
"name": "is_del",
"type": "BIT_1",
"chnname": "",
"remark": "",
"pk": false,
"notNull": false,
"autoIncrement": false,
"defaultValue": ""
}
]
},
{
"title": "menu",
"chnname": "",
"fields": [
{
"name": "id",
"type": "BIGINT_19",
"chnname": "ID",
"remark": "",
"pk": true,
"notNull": true,
"autoIncrement": true,
"defaultValue": ""
},
{
"name": "i_frame",
"type": "BIT_1",
"chnname": "是否外链",
"remark": "",
"pk": false,
"notNull": false,
"autoIncrement": false,
"defaultValue": ""
},
{
"name": "name",
"type": "VARCHAR_255",
"chnname": "菜单名称",
"remark": "",
"pk": false,
"notNull": false,
"autoIncrement": false,
"defaultValue": ""
},
{
"name": "component",
"type": "VARCHAR_255",
"chnname": "组件",
"remark": "",
"pk": false,
"notNull": false,
"autoIncrement": false,
"defaultValue": ""
},
{
"name": "pid",
"type": "BIGINT_19",
"chnname": "上级菜单ID",
"remark": "",
"pk": false,
"notNull": true,
"autoIncrement": false,
"defaultValue": ""
},
{
"name": "sort",
"type": "BIGINT_19",
"chnname": "排序",
"remark": "",
"pk": false,
"notNull": true,
"autoIncrement": false,
"defaultValue": ""
},
{
"name": "icon",
"type": "VARCHAR_255",
"chnname": "图标",
"remark": "",
"pk": false,
"notNull": false,
"autoIncrement": false,
"defaultValue": ""
},
{
"name": "path",
"type": "VARCHAR_255",
"chnname": "链接地址",
"remark": "",
"pk": false,
"notNull": false,
"autoIncrement": false,
"defaultValue": ""
},
{
"name": "cache",
"type": "BIT_1",
"chnname": "缓存",
"remark": "",
"pk": false,
"notNull": false,
"autoIncrement": false,
"defaultValue": ""
},
{
"name": "hidden",
"type": "BIT_1",
"chnname": "是否隐藏",
"remark": "",
"pk": false,
"notNull": false,
"autoIncrement": false,
"defaultValue": ""
},
{
"name": "component_name",
"type": "VARCHAR_20",
"chnname": "组件名称",
"remark": "",
"pk": false,
"notNull": false,
"autoIncrement": false,
"defaultValue": ""
},
{
"name": "create_time",
"type": "DATETIME",
"chnname": "创建日期",
"remark": "",
"pk": false,
"notNull": false,
"autoIncrement": false,
"defaultValue": ""
},
{
"name": "permission",
"type": "VARCHAR_255",
"chnname": "权限",
"remark": "",
"pk": false,
"notNull": false,
"autoIncrement": false,
"defaultValue": ""
},
{
"name": "type",
"type": "INT_10",
"chnname": "类型",
"remark": "",
"pk": false,
"notNull": false,
"autoIncrement": false,
"defaultValue": ""
},
{
"name": "update_time",
"type": "DATETIME",
"chnname": "",
"remark": "",
"pk": false,
"notNull": false,
"autoIncrement": false,
"defaultValue": ""
},
{
"name": "is_del",
"type": "BIT_1",
"chnname": "",
"remark": "",
"pk": false,
"notNull": false,
"autoIncrement": false,
"defaultValue": ""
}
]
},
{
"title": "job",
"chnname": "岗位",
"fields": [
{
"name": "id",
"type": "BIGINT_19",
"chnname": "ID",
"remark": "",
"pk": true,
"notNull": true,
"autoIncrement": true,
"defaultValue": ""
},
{
"name": "name",
"type": "VARCHAR_255",
"chnname": "岗位名称",
"remark": "",
"pk": false,
"notNull": true,
"autoIncrement": false,
"defaultValue": ""
},
{
"name": "enabled",
"type": "BIT_1",
"chnname": "岗位状态",
"remark": "",
"pk": false,
"notNull": true,
"autoIncrement": false,
"defaultValue": ""
},
{
"name": "sort",
"type": "BIGINT_19",
"chnname": "岗位排序",
"remark": "",
"pk": false,
"notNull": true,
"autoIncrement": false,
"defaultValue": ""
},
{
"name": "dept_id",
"type": "BIGINT_19",
"chnname": "部门ID",
"remark": "",
"pk": false,
"notNull": false,
"autoIncrement": false,
"defaultValue": ""
},
{
"name": "create_time",
"type": "DATETIME",
"chnname": "创建日期",
"remark": "",
"pk": false,
"notNull": false,
"autoIncrement": false,
"defaultValue": ""
},
{
"name": "update_time",
"type": "DATETIME",
"chnname": "",
"remark": "",
"pk": false,
"notNull": false,
"autoIncrement": false,
"defaultValue": ""
},
{
"name": "is_del",
"type": "BIT_1",
"chnname": "",
"remark": "",
"pk": false,
"notNull": false,
"autoIncrement": false,
"defaultValue": ""
}
]
},
{
"title": "user",
"chnname": "系统用户",
"fields": [
{
"name": "id",
"type": "BIGINT_19",
"chnname": "ID",
"remark": "",
"pk": true,
"notNull": true,
"autoIncrement": true,
"defaultValue": ""
},
{
"name": "avatar_id",
"type": "BIGINT_19",
"chnname": "头像",
"remark": "",
"pk": false,
"notNull": false,
"autoIncrement": false,
"defaultValue": ""
},
{
"name": "email",
"type": "VARCHAR_255",
"chnname": "邮箱",
"remark": "",
"pk": false,
"notNull": false,
"autoIncrement": false,
"defaultValue": ""
},
{
"name": "enabled",
"type": "BIGINT_19",
"chnname": "状态:1启用、0禁用",
"remark": "",
"pk": false,
"notNull": false,
"autoIncrement": false,
"defaultValue": ""
},
{
"name": "password",
"type": "VARCHAR_255",
"chnname": "密码",
"remark": "",
"pk": false,
"notNull": false,
"autoIncrement": false,
"defaultValue": ""
},
{
"name": "username",
"type": "VARCHAR_255",
"chnname": "用户名",
"remark": "",
"pk": false,
"notNull": false,
"autoIncrement": false,
"defaultValue": ""
},
{
"name": "dept_id",
"type": "BIGINT_19",
"chnname": "部门名称",
"remark": "",
"pk": false,
"notNull": false,
"autoIncrement": false,
"defaultValue": ""
},
{
"name": "phone",
"type": "VARCHAR_255",
"chnname": "手机号码",
"remark": "",
"pk": false,
"notNull": false,
"autoIncrement": false,
"defaultValue": ""
},
{
"name": "job_id",
"type": "BIGINT_19",
"chnname": "岗位名称",
"remark": "",
"pk": false,
"notNull": false,
"autoIncrement": false,
"defaultValue": ""
},
{
"name": "create_time",
"type": "DATETIME",
"chnname": "创建日期",
"remark": "",
"pk": false,
"notNull": false,
"autoIncrement": false,
"defaultValue": ""
},
{
"name": "last_password_reset_time",
"type": "DATETIME",
"chnname": "最后修改密码的日期",
"remark": "",
"pk": false,
"notNull": false,
"autoIncrement": false,
"defaultValue": ""
},
{
"name": "nick_name",
"type": "VARCHAR_255",
"chnname": "",
"remark": "",
"pk": false,
"notNull": false,
"autoIncrement": false,
"defaultValue": ""
},
{
"name": "sex",
"type": "VARCHAR_255",
"chnname": "",
"remark": "",
"pk": false,
"notNull": false,
"autoIncrement": false,
"defaultValue": ""
},
{
"name": "update_time",
"type": "DATETIME",
"chnname": "",
"remark": "",
"pk": false,
"notNull": false,
"autoIncrement": false,
"defaultValue": ""
},
{
"name": "is_del",
"type": "BIT_1",
"chnname": "",
"remark": "",
"pk": false,
"notNull": false,
"autoIncrement": false,
"defaultValue": ""
}
]
}
],
"graphCanvas": {
"nodes": [
{
"shape": "table",
"title": "user",
"moduleName": false,
"x": 730,
"y": 200,
"id": "42584636"
},
{
"shape": "table",
"title": "menu",
"moduleName": false,
"x": 230,
"y": 580,
"id": "faa9e561"
},
{
"shape": "table",
"title": "dict_detail",
"moduleName": false,
"x": 1440,
"y": 720,
"id": "de6d0d5f"
},
{
"shape": "table",
"title": "dict",
"moduleName": false,
"x": 1080,
"y": 770,
"id": "2e3e2ccb"
},
{
"shape": "table",
"title": "user_avatar",
"moduleName": false,
"x": 220,
"y": 100,
"id": "794cd430"
},
{
"shape": "table",
"title": "job",
"moduleName": false,
"x": 240,
"y": 290,
"id": "fe1aecfe"
},
{
"shape": "table",
"title": "roles_menus",
"moduleName": false,
"x": 550,
"y": 490,
"id": "0ba651c7"
},
{
"shape": "table",
"title": "role",
"moduleName": false,
"x": 850,
"y": 570,
"id": "2dd8b462"
},
{
"shape": "table",
"title": "roles_depts",
"moduleName": false,
"x": 1140,
"y": 490,
"id": "759d8dd0"
},
{
"shape": "table",
"title": "users_roles",
"moduleName": false,
"x": 1210,
"y": 50,
"id": "e76717e1"
},
{
"shape": "table",
"title": "dept",
"moduleName": false,
"x": 1200,
"y": 240,
"id": "2ecdc324"
}
],
"edges": [
{
"shape": "erdRelation",
"relation": "0,n:1",
"source": "42584636",
"target": "fe1aecfe",
"id": "a7e02413",
"controlPoints": [
{
"x": 518.6240234375,
"y": 225.91161616161617
},
{
"x": 384.025390625,
"y": 232.19736842105263
}
],
"sourceAnchor": 16,
"targetAnchor": 1
},
{
"shape": "erdRelation",
"relation": "0,n:1",
"source": "42584636",
"target": "2ecdc324",
"id": "99cdad68",
"controlPoints": [
{
"x": 941.3759765625,
"y": 187.46212121212122
},
{
"x": 1055.974609375,
"y": 192.22058823529412
}
],
"sourceAnchor": 13,
"targetAnchor": 0
},
{
"shape": "erdRelation",
"relation": "0,n:1",
"source": "de6d0d5f",
"target": "2e3e2ccb",
"id": "0f30581b",
"controlPoints": [
{
"x": 1296.224609375,
"y": 736.3355263157895
},
{
"x": 1223.775390625,
"y": 732.25
}
],
"sourceAnchor": 8,
"targetAnchor": 1
},
{
"shape": "erdRelation",
"relation": "0,n:1",
"source": "42584636",
"target": "794cd430",
"id": "618c6bc6",
"controlPoints": [
{
"x": 518.6240234375,
"y": 91.33838383838385
},
{
"x": 368.099609375,
"y": 72.28846153846153
}
],
"sourceAnchor": 2,
"targetAnchor": 1
},
{
"shape": "erdRelation",
"relation": "0,n:1",
"source": "0ba651c7",
"target": "faa9e561",
"id": "fdb423ea",
"controlPoints": [
{
"x": 422.126953125,
"y": 492.281914893617
},
{
"x": 395.0341796875,
"y": 442.10714285714283
}
],
"sourceAnchor": 0,
"targetAnchor": 1
},
{
"shape": "erdRelation",
"relation": "0,n:1",
"source": "0ba651c7",
"target": "2dd8b462",
"id": "882b95a1",
"controlPoints": [
{
"x": 677.873046875,
"y": 512.8191489361702
},
{
"x": 705.974609375,
"y": 502.17857142857144
}
],
"sourceAnchor": 3,
"targetAnchor": 0
},
{
"shape": "erdRelation",
"relation": "0,n:1",
"source": "759d8dd0",
"target": "2dd8b462",
"id": "7a7a3350",
"controlPoints": [
{
"x": 1034.2080078125,
"y": 492.281914893617
},
{
"x": 994.025390625,
"y": 502.17857142857144
}
],
"sourceAnchor": 0,
"targetAnchor": 1
},
{
"shape": "erdRelation",
"relation": "0,n:1",
"source": "759d8dd0",
"target": "2ecdc324",
"id": "a9e0dc69",
"controlPoints": [
{
"x": 1245.7919921875,
"y": 506.48049645390074
},
{
"x": 1440,
"y": 500
},
{
"x": 1440,
"y": 190
},
{
"x": 1344.025390625,
"y": 192.22058823529412
}
],
"sourceAnchor": 3,
"targetAnchor": 1
},
{
"shape": "erdRelation",
"relation": "0,n:1",
"source": "e76717e1",
"target": "42584636",
"id": "6179129e",
"controlPoints": [
{
"x": 1085.4638671875,
"y": 52.28191489361702
},
{
"x": 941.3759765625,
"y": 72.11363636363636
}
],
"sourceAnchor": 0,
"targetAnchor": 1
},
{
"shape": "erdRelation",
"relation": "0,n:1",
"source": "e76717e1",
"target": "2dd8b462",
"id": "c796f9c9",
"controlPoints": [
{
"x": 1334.5361328125,
"y": 72.81914893617022
},
{
"x": 1480,
"y": 70
},
{
"x": 1490,
"y": 580
},
{
"x": 1030,
"y": 590
},
{
"x": 994.025390625,
"y": 502.17857142857144
}
],
"sourceAnchor": 3,
"targetAnchor": 1
}
]
},
"associations": [
{
"relation": "0,n:1",
"from": {
"entity": "user",
"field": "job_id"
},
"to": {
"entity": "job",
"field": "id"
}
},
{
"relation": "0,n:1",
"from": {
"entity": "user",
"field": "dept_id"
},
"to": {
"entity": "dept",
"field": "id"
}
},
{
"relation": "0,n:1",
"from": {
"entity": "dict_detail",
"field": "dict_id"
},
"to": {
"entity": "dict",
"field": "id"
}
},
{
"relation": "0,n:1",
"from": {
"entity": "user",
"field": "avatar_id"
},
"to": {
"entity": "user_avatar",
"field": "id"
}
},
{
"relation": "0,n:1",
"from": {
"entity": "roles_menus",
"field": "menu_id"
},
"to": {
"entity": "menu",
"field": "id"
}
},
{
"relation": "0,n:1",
"from": {
"entity": "roles_menus",
"field": "role_id"
},
"to": {
"entity": "role",
"field": "id"
}
},
{
"relation": "0,n:1",
"from": {
"entity": "roles_depts",
"field": "role_id"
},
"to": {
"entity": "role",
"field": "id"
}
},
{
"relation": "0,n:1",
"from": {
"entity": "roles_depts",
"field": "dept_id"
},
"to": {
"entity": "dept",
"field": "id"
}
},
{
"relation": "0,n:1",
"from": {
"entity": "users_roles",
"field": "user_id"
},
"to": {
"entity": "user",
"field": "id"
}
},
{
"relation": "0,n:1",
"from": {
"entity": "users_roles",
"field": "role_id"
},
"to": {
"entity": "role",
"field": "id"
}
}
]
},
{
"name": "activity",
"chnname": "活动",
"entities": [
{
"title": "yx_store_seckill",
"chnname": "商品秒杀产品表",
"fields": [
{
"name": "id",
"type": "BIGINT UNSIGNED_20",
"chnname": "商品秒杀产品表id",
"remark": "",
"pk": true,
"notNull": true,
"autoIncrement": true,
"defaultValue": ""
},
{
"name": "product_id",
"type": "BIGINT UNSIGNED_20",
"chnname": "商品id",
"remark": "",
"pk": false,
"notNull": true,
"autoIncrement": false,
"defaultValue": ""
},
{
"name": "image",
"type": "VARCHAR_255",
"chnname": "推荐图",
"remark": "",
"pk": false,
"notNull": true,
"autoIncrement": false,
"defaultValue": ""
},
{
"name": "images",
"type": "VARCHAR_2000",
"chnname": "轮播图",
"remark": "",
"pk": false,
"notNull": true,
"autoIncrement": false,
"defaultValue": ""
},
{
"name": "title",
"type": "VARCHAR_255",
"chnname": "活动标题",
"remark": "",
"pk": false,
"notNull": true,
"autoIncrement": false,
"defaultValue": ""
},
{
"name": "info",
"type": "VARCHAR_255",
"chnname": "简介",
"remark": "",
"pk": false,
"notNull": true,
"autoIncrement": false,
"defaultValue": ""
},
{
"name": "price",
"type": "DECIMAL UNSIGNED_10_2",
"chnname": "价格",
"remark": "",
"pk": false,
"notNull": true,
"autoIncrement": false,
"defaultValue": ""
},
{
"name": "cost",
"type": "DECIMAL UNSIGNED_8_2",
"chnname": "成本",
"remark": "",
"pk": false,
"notNull": true,
"autoIncrement": false,
"defaultValue": ""
},
{
"name": "ot_price",
"type": "DECIMAL UNSIGNED_10_2",
"chnname": "原价",
"remark": "",
"pk": false,
"notNull": true,
"autoIncrement": false,
"defaultValue": ""
},
{
"name": "give_integral",
"type": "DECIMAL UNSIGNED_10_2",
"chnname": "返多少积分",
"remark": "",
"pk": false,
"notNull": true,
"autoIncrement": false,
"defaultValue": ""
},
{
"name": "sort",
"type": "INT UNSIGNED_10",
"chnname": "排序",
"remark": "",
"pk": false,
"notNull": true,
"autoIncrement": false,
"defaultValue": ""
},
{
"name": "stock",
"type": "INT UNSIGNED_10",
"chnname": "库存",
"remark": "",
"pk": false,
"notNull": true,
"autoIncrement": false,
"defaultValue": ""
},
{
"name": "sales",
"type": "INT UNSIGNED_10",
"chnname": "销量",
"remark": "",
"pk": false,
"notNull": true,
"autoIncrement": false,
"defaultValue": ""
},
{
"name": "unit_name",
"type": "VARCHAR_16",
"chnname": "单位名",
"remark": "",
"pk": false,
"notNull": true,
"autoIncrement": false,
"defaultValue": ""
},
{
"name": "postage",
"type": "DECIMAL UNSIGNED_8_2",
"chnname": "邮费",
"remark": "",
"pk": false,
"notNull": true,
"autoIncrement": false,
"defaultValue": ""
},
{
"name": "description",
"type": "TEXT",
"chnname": "内容",
"remark": "",
"pk": false,
"notNull": false,
"autoIncrement": false,
"defaultValue": ""
},
{
"name": "start_time",
"type": "DATE",
"chnname": "开始时间",
"remark": "",
"pk": false,
"notNull": true,
"autoIncrement": false,
"defaultValue": ""
},
{
"name": "stop_time",
"type": "DATE",
"chnname": "结束时间",
"remark": "",
"pk": false,
"notNull": true,
"autoIncrement": false,
"defaultValue": ""
},
{
"name": "create_time",
"type": "DATETIME",
"chnname": "添加时间",
"remark": "",
"pk": false,
"notNull": true,
"autoIncrement": false,
"defaultValue": ""
},
{
"name": "update_time",
"type": "DATETIME",
"chnname": "",
"remark": "",
"pk": false,
"notNull": false,
"autoIncrement": false,
"defaultValue": ""
},
{
"name": "status",
"type": "TINYINT UNSIGNED_1",
"chnname": "产品状态",
"remark": "",
"pk": false,
"notNull": true,
"autoIncrement": false,
"defaultValue": ""
},
{
"name": "is_postage",
"type": "TINYINT UNSIGNED_1",
"chnname": "是否包邮",
"remark": "",
"pk": false,
"notNull": true,
"autoIncrement": false,
"defaultValue": ""
},
{
"name": "is_hot",
"type": "TINYINT UNSIGNED_1",
"chnname": "热门推荐",
"remark": "",
"pk": false,
"notNull": true,
"autoIncrement": false,
"defaultValue": ""
},
{
"name": "is_del",
"type": "TINYINT UNSIGNED_1",
"chnname": "删除 0未删除1已删除",
"remark": "",
"pk": false,
"notNull": true,
"autoIncrement": false,
"defaultValue": ""
},
{
"name": "num",
"type": "INT UNSIGNED_10",
"chnname": "最多秒杀几个",
"remark": "",
"pk": false,
"notNull": true,
"autoIncrement": false,
"defaultValue": ""
},
{
"name": "is_show",
"type": "TINYINT UNSIGNED_1",
"chnname": "显示",
"remark": "",
"pk": false,
"notNull": true,
"autoIncrement": false,
"defaultValue": ""
},
{
"name": "time_id",
"type": "INT UNSIGNED_10",
"chnname": "时间段id",
"remark": "",
"pk": false,
"notNull": false,
"autoIncrement": false,
"defaultValue": ""
}
]
},
{
"title": "yx_store_pink",
"chnname": "拼团表",
"fields": [
{
"name": "id",
"type": "BIGINT UNSIGNED_20",
"chnname": "",
"remark": "",
"pk": true,
"notNull": true,
"autoIncrement": true,
"defaultValue": ""
},
{
"name": "uid",
"type": "BIGINT UNSIGNED_20",
"chnname": "用户id",
"remark": "",
"pk": false,
"notNull": true,
"autoIncrement": false,
"defaultValue": ""
},
{
"name": "order_id",
"type": "VARCHAR_32",
"chnname": "订单id 生成",
"remark": "",
"pk": false,
"notNull": true,
"autoIncrement": false,
"defaultValue": ""
},
{
"name": "order_id_key",
"type": "INT UNSIGNED_10",
"chnname": "订单id 数据库",
"remark": "",
"pk": false,
"notNull": true,
"autoIncrement": false,
"defaultValue": ""
},
{
"name": "total_num",
"type": "INT UNSIGNED_10",
"chnname": "购买商品个数",
"remark": "",
"pk": false,
"notNull": true,
"autoIncrement": false,
"defaultValue": ""
},
{
"name": "total_price",
"type": "DECIMAL UNSIGNED_10_2",
"chnname": "购买总金额",
"remark": "",
"pk": false,
"notNull": true,
"autoIncrement": false,
"defaultValue": ""
},
{
"name": "cid",
"type": "BIGINT UNSIGNED_20",
"chnname": "拼团产品id",
"remark": "",
"pk": false,
"notNull": true,
"autoIncrement": false,
"defaultValue": ""
},
{
"name": "pid",
"type": "BIGINT UNSIGNED_20",
"chnname": "产品id",
"remark": "",
"pk": false,
"notNull": true,
"autoIncrement": false,
"defaultValue": ""
},
{
"name": "people",
"type": "INT UNSIGNED_10",
"chnname": "拼团总人数",
"remark": "",
"pk": false,
"notNull": true,
"autoIncrement": false,
"defaultValue": ""
},
{
"name": "price",
"type": "DECIMAL UNSIGNED_10_2",
"chnname": "拼团产品单价",
"remark": "",
"pk": false,
"notNull": true,
"autoIncrement": false,
"defaultValue": ""
},
{
"name": "create_time",
"type": "DATETIME",
"chnname": "开始时间",
"remark": "",
"pk": false,
"notNull": true,
"autoIncrement": false,
"defaultValue": ""
},
{
"name": "update_time",
"type": "DATETIME",
"chnname": "",
"remark": "",
"pk": false,
"notNull": false,
"autoIncrement": false,
"defaultValue": ""
},
{
"name": "stop_time",
"type": "DATETIME",
"chnname": "",
"remark": "",
"pk": false,
"notNull": false,
"autoIncrement": false,
"defaultValue": ""
},
{
"name": "k_id",
"type": "BIGINT UNSIGNED_20",
"chnname": "团长id 0为团长",
"remark": "",
"pk": false,
"notNull": true,
"autoIncrement": false,
"defaultValue": ""
},
{
"name": "is_tpl",
"type": "TINYINT UNSIGNED_1",
"chnname": "是否发送模板消息0未发送1已发送",
"remark": "",
"pk": false,
"notNull": true,
"autoIncrement": false,
"defaultValue": ""
},
{
"name": "is_refund",
"type": "TINYINT UNSIGNED_1",
"chnname": "是否退款 0未退款 1已退款",
"remark": "",
"pk": false,
"notNull": true,
"autoIncrement": false,
"defaultValue": ""
},
{
"name": "status",
"type": "TINYINT UNSIGNED_1",
"chnname": "状态1进行中2已完成3未完成",
"remark": "",
"pk": false,
"notNull": true,
"autoIncrement": false,
"defaultValue": ""
},
{
"name": "is_del",
"type": "BIT_1",
"chnname": "",
"remark": "",
"pk": false,
"notNull": false,
"autoIncrement": false,
"defaultValue": ""
}
]
},
{
"title": "yx_store_coupon_user",
"chnname": "优惠券发放记录表",
"fields": [
{
"name": "id",
"type": "BIGINT_19",
"chnname": "优惠券发放记录id",
"remark": "",
"pk": true,
"notNull": true,
"autoIncrement": true,
"defaultValue": ""
},
{
"name": "cid",
"type": "INT UNSIGNED_10",
"chnname": "兑换的项目id",
"remark": "",
"pk": false,
"notNull": true,
"autoIncrement": false,
"defaultValue": ""
},
{
"name": "uid",
"type": "BIGINT UNSIGNED_20",
"chnname": "优惠券所属用户",
"remark": "",
"pk": false,
"notNull": true,
"autoIncrement": false,
"defaultValue": ""
},
{
"name": "coupon_title",
"type": "VARCHAR_32",
"chnname": "优惠券名称",
"remark": "",
"pk": false,
"notNull": true,
"autoIncrement": false,
"defaultValue": ""
},
{
"name": "coupon_price",
"type": "DECIMAL UNSIGNED_8_2",
"chnname": "优惠券的面值",
"remark": "",
"pk": false,
"notNull": true,
"autoIncrement": false,
"defaultValue": ""
},
{
"name": "use_min_price",
"type": "DECIMAL UNSIGNED_8_2",
"chnname": "最低消费多少金额可用优惠券",
"remark": "",
"pk": false,
"notNull": true,
"autoIncrement": false,
"defaultValue": ""
},
{
"name": "create_time",
"type": "DATETIME",
"chnname": "优惠券创建时间",
"remark": "",
"pk": false,
"notNull": true,
"autoIncrement": false,
"defaultValue": ""
},
{
"name": "update_time",
"type": "DATETIME",
"chnname": "",
"remark": "",
"pk": false,
"notNull": false,
"autoIncrement": false,
"defaultValue": ""
},
{
"name": "end_time",
"type": "DATETIME",
"chnname": "优惠券结束时间",
"remark": "",
"pk": false,
"notNull": true,
"autoIncrement": false,
"defaultValue": ""
},
{
"name": "use_time",
"type": "DATETIME",
"chnname": "使用时间",
"remark": "",
"pk": false,
"notNull": false,
"autoIncrement": false,
"defaultValue": ""
},
{
"name": "type",
"type": "VARCHAR_32",
"chnname": "获取方式",
"remark": "",
"pk": false,
"notNull": true,
"autoIncrement": false,
"defaultValue": ""
},
{
"name": "status",
"type": "BIT_1",
"chnname": "状态(0:未使用,1:已使用, 2:已过期)",
"remark": "",
"pk": false,
"notNull": true,
"autoIncrement": false,
"defaultValue": ""
},
{
"name": "is_fail",
"type": "TINYINT UNSIGNED_1",
"chnname": "是否有效",
"remark": "",
"pk": false,
"notNull": true,
"autoIncrement": false,
"defaultValue": ""
},
{
"name": "is_del",
"type": "BIT_1",
"chnname": "",
"remark": "",
"pk": false,
"notNull": false,
"autoIncrement": false,
"defaultValue": ""
}
]
},
{
"title": "yx_store_coupon_issue_user",
"chnname": "优惠券前台用户领取记录表",
"fields": [
{
"name": "id",
"type": "BIGINT UNSIGNED_20",
"chnname": "",
"remark": "",
"pk": true,
"notNull": true,
"autoIncrement": true,
"defaultValue": ""
},
{
"name": "uid",
"type": "BIGINT_19",
"chnname": "领取优惠券用户ID",
"remark": "",
"pk": false,
"notNull": false,
"autoIncrement": false,
"defaultValue": ""
},
{
"name": "issue_coupon_id",
"type": "INT_10",
"chnname": "优惠券前台领取ID",
"remark": "",
"pk": false,
"notNull": false,
"autoIncrement": false,
"defaultValue": ""
},
{
"name": "create_time",
"type": "DATETIME",
"chnname": "领取时间",
"remark": "",
"pk": false,
"notNull": false,
"autoIncrement": false,
"defaultValue": ""
},
{
"name": "update_time",
"type": "DATETIME",
"chnname": "",
"remark": "",
"pk": false,
"notNull": false,
"autoIncrement": false,
"defaultValue": ""
},
{
"name": "is_del",
"type": "BIT_1",
"chnname": "",
"remark": "",
"pk": false,
"notNull": false,
"autoIncrement": false,
"defaultValue": ""
}
]
},
{
"title": "yx_store_coupon_issue",
"chnname": "优惠券前台领取表",
"fields": [
{
"name": "id",
"type": "INT UNSIGNED_10",
"chnname": "",
"remark": "",
"pk": true,
"notNull": true,
"autoIncrement": true,
"defaultValue": ""
},
{
"name": "cname",
"type": "VARCHAR_50",
"chnname": "",
"remark": "",
"pk": false,
"notNull": false,
"autoIncrement": false,
"defaultValue": ""
},
{
"name": "cid",
"type": "INT_10",
"chnname": "优惠券ID",
"remark": "",
"pk": false,
"notNull": false,
"autoIncrement": false,
"defaultValue": ""
},
{
"name": "ctype",
"type": "BIT_1",
"chnname": "优惠券类型 0-通用 1-商品券",
"remark": "",
"pk": false,
"notNull": false,
"autoIncrement": false,
"defaultValue": ""
},
{
"name": "start_time",
"type": "DATETIME",
"chnname": "优惠券领取开启时间",
"remark": "",
"pk": false,
"notNull": false,
"autoIncrement": false,
"defaultValue": ""
},
{
"name": "end_time",
"type": "DATETIME",
"chnname": "优惠券领取结束时间",
"remark": "",
"pk": false,
"notNull": false,
"autoIncrement": false,
"defaultValue": ""
},
{
"name": "total_count",
"type": "INT_10",
"chnname": "优惠券领取数量",
"remark": "",
"pk": false,
"notNull": false,
"autoIncrement": false,
"defaultValue": ""
},
{
"name": "remain_count",
"type": "INT_10",
"chnname": "优惠券剩余领取数量",
"remark": "",
"pk": false,
"notNull": false,
"autoIncrement": false,
"defaultValue": ""
},
{
"name": "is_permanent",
"type": "BIT_1",
"chnname": "是否无限张数",
"remark": "",
"pk": false,
"notNull": true,
"autoIncrement": false,
"defaultValue": ""
},
{
"name": "status",
"type": "BIT_1",
"chnname": "1 正常 0 未开启 -1 已无效",
"remark": "",
"pk": false,
"notNull": true,
"autoIncrement": false,
"defaultValue": ""
},
{
"name": "is_del",
"type": "TINYINT UNSIGNED_1",
"chnname": "",
"remark": "",
"pk": false,
"notNull": true,
"autoIncrement": false,
"defaultValue": ""
},
{
"name": "create_time",
"type": "DATETIME",
"chnname": "优惠券添加时间",
"remark": "",
"pk": false,
"notNull": false,
"autoIncrement": false,
"defaultValue": ""
},
{
"name": "update_time",
"type": "DATETIME",
"chnname": "",
"remark": "",
"pk": false,
"notNull": false,
"autoIncrement": false,
"defaultValue": ""
}
]
},
{
"title": "yx_store_coupon",
"chnname": "优惠券表",
"fields": [
{
"name": "id",
"type": "INT UNSIGNED_10",
"chnname": "优惠券表ID",
"remark": "",
"pk": true,
"notNull": true,
"autoIncrement": true,
"defaultValue": ""
},
{
"name": "title",
"type": "VARCHAR_64",
"chnname": "优惠券名称",
"remark": "",
"pk": false,
"notNull": true,
"autoIncrement": false,
"defaultValue": ""
},
{
"name": "integral",
"type": "INT UNSIGNED_10",
"chnname": "兑换消耗积分值",
"remark": "",
"pk": false,
"notNull": true,
"autoIncrement": false,
"defaultValue": ""
},
{
"name": "coupon_price",
"type": "DECIMAL UNSIGNED_8_2",
"chnname": "兑换的优惠券面值",
"remark": "",
"pk": false,
"notNull": true,
"autoIncrement": false,
"defaultValue": ""
},
{
"name": "use_min_price",
"type": "DECIMAL UNSIGNED_8_2",
"chnname": "最低消费多少金额可用优惠券",
"remark": "",
"pk": false,
"notNull": true,
"autoIncrement": false,
"defaultValue": ""
},
{
"name": "coupon_time",
"type": "INT UNSIGNED_10",
"chnname": "优惠券有效期限(单位:天)",
"remark": "",
"pk": false,
"notNull": true,
"autoIncrement": false,
"defaultValue": ""
},
{
"name": "sort",
"type": "INT UNSIGNED_10",
"chnname": "排序",
"remark": "",
"pk": false,
"notNull": true,
"autoIncrement": false,
"defaultValue": ""
},
{
"name": "status",
"type": "TINYINT UNSIGNED_1",
"chnname": "状态(0:关闭,1:开启)",
"remark": "",
"pk": false,
"notNull": true,
"autoIncrement": false,
"defaultValue": ""
},
{
"name": "product_id",
"type": "VARCHAR_200",
"chnname": "商品ids",
"remark": "",
"pk": false,
"notNull": false,
"autoIncrement": false,
"defaultValue": ""
},
{
"name": "type",
"type": "TINYINT_3",
"chnname": "优惠券类型 0-通用 1-商品券",
"remark": "",
"pk": false,
"notNull": false,
"autoIncrement": false,
"defaultValue": ""
},
{
"name": "create_time",
"type": "DATETIME",
"chnname": "兑换项目添加时间",
"remark": "",
"pk": false,
"notNull": true,
"autoIncrement": false,
"defaultValue": ""
},
{
"name": "update_time",
"type": "DATETIME",
"chnname": "",
"remark": "",
"pk": false,
"notNull": false,
"autoIncrement": false,
"defaultValue": ""
},
{
"name": "is_del",
"type": "TINYINT UNSIGNED_1",
"chnname": "是否删除",
"remark": "",
"pk": false,
"notNull": true,
"autoIncrement": false,
"defaultValue": ""
}
]
},
{
"title": "yx_store_combination",
"chnname": "拼团产品表",
"fields": [
{
"name": "id",
"type": "BIGINT UNSIGNED_20",
"chnname": "",
"remark": "",
"pk": true,
"notNull": true,
"autoIncrement": true,
"defaultValue": ""
},
{
"name": "product_id",
"type": "BIGINT UNSIGNED_20",
"chnname": "商品id",
"remark": "",
"pk": false,
"notNull": true,
"autoIncrement": false,
"defaultValue": ""
},
{
"name": "mer_id",
"type": "INT UNSIGNED_10",
"chnname": "商户id",
"remark": "",
"pk": false,
"notNull": false,
"autoIncrement": false,
"defaultValue": ""
},
{
"name": "image",
"type": "VARCHAR_255",
"chnname": "推荐图",
"remark": "",
"pk": false,
"notNull": true,
"autoIncrement": false,
"defaultValue": ""
},
{
"name": "images",
"type": "VARCHAR_2000",
"chnname": "轮播图",
"remark": "",
"pk": false,
"notNull": true,
"autoIncrement": false,
"defaultValue": ""
},
{
"name": "title",
"type": "VARCHAR_255",
"chnname": "活动标题",
"remark": "",
"pk": false,
"notNull": true,
"autoIncrement": false,
"defaultValue": ""
},
{
"name": "attr",
"type": "VARCHAR_255",
"chnname": "活动属性",
"remark": "",
"pk": false,
"notNull": false,
"autoIncrement": false,
"defaultValue": ""
},
{
"name": "people",
"type": "INT UNSIGNED_10",
"chnname": "参团人数",
"remark": "",
"pk": false,
"notNull": true,
"autoIncrement": false,
"defaultValue": ""
},
{
"name": "info",
"type": "VARCHAR_255",
"chnname": "简介",
"remark": "",
"pk": false,
"notNull": true,
"autoIncrement": false,
"defaultValue": ""
},
{
"name": "price",
"type": "DECIMAL UNSIGNED_10_2",
"chnname": "价格",
"remark": "",
"pk": false,
"notNull": true,
"autoIncrement": false,
"defaultValue": ""
},
{
"name": "product_price",
"type": "DECIMAL_10_2",
"chnname": "商品原价",
"remark": "",
"pk": false,
"notNull": false,
"autoIncrement": false,
"defaultValue": ""
},
{
"name": "sort",
"type": "INT UNSIGNED_10",
"chnname": "排序",
"remark": "",
"pk": false,
"notNull": true,
"autoIncrement": false,
"defaultValue": ""
},
{
"name": "sales",
"type": "INT UNSIGNED_10",
"chnname": "销量",
"remark": "",
"pk": false,
"notNull": true,
"autoIncrement": false,
"defaultValue": ""
},
{
"name": "stock",
"type": "INT UNSIGNED_10",
"chnname": "库存",
"remark": "",
"pk": false,
"notNull": true,
"autoIncrement": false,
"defaultValue": ""
},
{
"name": "create_time",
"type": "DATETIME",
"chnname": "添加时间",
"remark": "",
"pk": false,
"notNull": true,
"autoIncrement": false,
"defaultValue": ""
},
{
"name": "update_time",
"type": "DATETIME",
"chnname": "",
"remark": "",
"pk": false,
"notNull": false,
"autoIncrement": false,
"defaultValue": ""
},
{
"name": "is_host",
"type": "TINYINT UNSIGNED_1",
"chnname": "推荐",
"remark": "",
"pk": false,
"notNull": true,
"autoIncrement": false,
"defaultValue": ""
},
{
"name": "is_show",
"type": "TINYINT UNSIGNED_1",
"chnname": "产品状态",
"remark": "",
"pk": false,
"notNull": true,
"autoIncrement": false,
"defaultValue": ""
},
{
"name": "is_del",
"type": "TINYINT UNSIGNED_1",
"chnname": "",
"remark": "",
"pk": false,
"notNull": true,
"autoIncrement": false,
"defaultValue": ""
},
{
"name": "combination",
"type": "TINYINT UNSIGNED_1",
"chnname": "",
"remark": "",
"pk": false,
"notNull": true,
"autoIncrement": false,
"defaultValue": ""
},
{
"name": "mer_use",
"type": "TINYINT UNSIGNED_1",
"chnname": "商户是否可用1可用0不可用",
"remark": "",
"pk": false,
"notNull": false,
"autoIncrement": false,
"defaultValue": ""
},
{
"name": "is_postage",
"type": "TINYINT UNSIGNED_1",
"chnname": "是否包邮1是0否",
"remark": "",
"pk": false,
"notNull": true,
"autoIncrement": false,
"defaultValue": ""
},
{
"name": "postage",
"type": "DECIMAL UNSIGNED_10_2",
"chnname": "邮费",
"remark": "",
"pk": false,
"notNull": true,
"autoIncrement": false,
"defaultValue": ""
},
{
"name": "description",
"type": "TEXT",
"chnname": "拼团内容",
"remark": "",
"pk": false,
"notNull": true,
"autoIncrement": false,
"defaultValue": ""
},
{
"name": "start_time",
"type": "DATETIME",
"chnname": "拼团开始时间",
"remark": "",
"pk": false,
"notNull": true,
"autoIncrement": false,
"defaultValue": ""
},
{
"name": "stop_time",
"type": "DATETIME",
"chnname": "拼团结束时间",
"remark": "",
"pk": false,
"notNull": true,
"autoIncrement": false,
"defaultValue": ""
},
{
"name": "effective_time",
"type": "INT_10",
"chnname": "拼团订单有效时间",
"remark": "",
"pk": false,
"notNull": true,
"autoIncrement": false,
"defaultValue": ""
},
{
"name": "cost",
"type": "INT UNSIGNED_10",
"chnname": "拼团产品成本",
"remark": "",
"pk": false,
"notNull": true,
"autoIncrement": false,
"defaultValue": ""
},
{
"name": "browse",
"type": "INT_10",
"chnname": "浏览量",
"remark": "",
"pk": false,
"notNull": false,
"autoIncrement": false,
"defaultValue": ""
},
{
"name": "unit_name",
"type": "VARCHAR_32",
"chnname": "单位名",
"remark": "",
"pk": false,
"notNull": true,
"autoIncrement": false,
"defaultValue": ""
}
]
},
{
"title": "yx_store_bargain_user_help",
"chnname": "砍价用户帮助表",
"fields": [
{
"name": "id",
"type": "BIGINT UNSIGNED_20",
"chnname": "砍价用户帮助表ID",
"remark": "",
"pk": true,
"notNull": true,
"autoIncrement": true,
"defaultValue": ""
},
{
"name": "uid",
"type": "BIGINT UNSIGNED_20",
"chnname": "帮助的用户id",
"remark": "",
"pk": false,
"notNull": false,
"autoIncrement": false,
"defaultValue": ""
},
{
"name": "bargain_id",
"type": "BIGINT UNSIGNED_20",
"chnname": "砍价产品ID",
"remark": "",
"pk": false,
"notNull": false,
"autoIncrement": false,
"defaultValue": ""
},
{
"name": "bargain_user_id",
"type": "BIGINT UNSIGNED_20",
"chnname": "用户参与砍价表id",
"remark": "",
"pk": false,
"notNull": false,
"autoIncrement": false,
"defaultValue": ""
},
{
"name": "price",
"type": "DECIMAL UNSIGNED_8_2",
"chnname": "帮助砍价多少金额",
"remark": "",
"pk": false,
"notNull": false,
"autoIncrement": false,
"defaultValue": ""
},
{
"name": "create_time",
"type": "DATETIME",
"chnname": "添加时间",
"remark": "",
"pk": false,
"notNull": false,
"autoIncrement": false,
"defaultValue": ""
},
{
"name": "update_time",
"type": "DATETIME",
"chnname": "",
"remark": "",
"pk": false,
"notNull": false,
"autoIncrement": false,
"defaultValue": ""
},
{
"name": "is_del",
"type": "BIT_1",
"chnname": "",
"remark": "",
"pk": false,
"notNull": false,
"autoIncrement": false,
"defaultValue": ""
}
]
},
{
"title": "yx_store_bargain_user",
"chnname": "用户参与砍价表",
"fields": [
{
"name": "id",
"type": "BIGINT UNSIGNED_20",
"chnname": "用户参与砍价表ID",
"remark": "",
"pk": true,
"notNull": true,
"autoIncrement": true,
"defaultValue": ""
},
{
"name": "uid",
"type": "BIGINT UNSIGNED_20",
"chnname": "用户ID",
"remark": "",
"pk": false,
"notNull": false,
"autoIncrement": false,
"defaultValue": ""
},
{
"name": "bargain_id",
"type": "BIGINT UNSIGNED_20",
"chnname": "砍价产品id",
"remark": "",
"pk": false,
"notNull": false,
"autoIncrement": false,
"defaultValue": ""
},
{
"name": "bargain_price_min",
"type": "DECIMAL UNSIGNED_8_2",
"chnname": "砍价的最低价",
"remark": "",
"pk": false,
"notNull": false,
"autoIncrement": false,
"defaultValue": ""
},
{
"name": "bargain_price",
"type": "DECIMAL_8_2",
"chnname": "砍价金额",
"remark": "",
"pk": false,
"notNull": false,
"autoIncrement": false,
"defaultValue": ""
},
{
"name": "price",
"type": "DECIMAL UNSIGNED_8_2",
"chnname": "砍掉的价格",
"remark": "",
"pk": false,
"notNull": false,
"autoIncrement": false,
"defaultValue": ""
},
{
"name": "status",
"type": "TINYINT UNSIGNED_1",
"chnname": "状态 1参与中 2 活动结束参与失败 3活动结束参与成功",
"remark": "",
"pk": false,
"notNull": true,
"autoIncrement": false,
"defaultValue": ""
},
{
"name": "create_time",
"type": "DATETIME",
"chnname": "参与时间",
"remark": "",
"pk": false,
"notNull": false,
"autoIncrement": false,
"defaultValue": ""
},
{
"name": "update_time",
"type": "DATETIME",
"chnname": "",
"remark": "",
"pk": false,
"notNull": false,
"autoIncrement": false,
"defaultValue": ""
},
{
"name": "is_del",
"type": "BIT_1",
"chnname": "是否取消",
"remark": "",
"pk": false,
"notNull": true,
"autoIncrement": false,
"defaultValue": ""
}
]
},
{
"title": "yx_store_bargain",
"chnname": "砍价表",
"fields": [
{
"name": "id",
"type": "BIGINT UNSIGNED_20",
"chnname": "砍价产品ID",
"remark": "",
"pk": true,
"notNull": true,
"autoIncrement": true,
"defaultValue": ""
},
{
"name": "product_id",
"type": "BIGINT UNSIGNED_20",
"chnname": "关联产品ID",
"remark": "",
"pk": false,
"notNull": true,
"autoIncrement": false,
"defaultValue": ""
},
{
"name": "title",
"type": "VARCHAR_255",
"chnname": "砍价活动名称",
"remark": "",
"pk": false,
"notNull": true,
"autoIncrement": false,
"defaultValue": ""
},
{
"name": "image",
"type": "VARCHAR_150",
"chnname": "砍价活动图片",
"remark": "",
"pk": false,
"notNull": true,
"autoIncrement": false,
"defaultValue": ""
},
{
"name": "unit_name",
"type": "VARCHAR_16",
"chnname": "单位名称",
"remark": "",
"pk": false,
"notNull": false,
"autoIncrement": false,
"defaultValue": ""
},
{
"name": "stock",
"type": "INT UNSIGNED_10",
"chnname": "库存",
"remark": "",
"pk": false,
"notNull": false,
"autoIncrement": false,
"defaultValue": ""
},
{
"name": "sales",
"type": "INT UNSIGNED_10",
"chnname": "销量",
"remark": "",
"pk": false,
"notNull": false,
"autoIncrement": false,
"defaultValue": ""
},
{
"name": "images",
"type": "VARCHAR_2000",
"chnname": "砍价产品轮播图",
"remark": "",
"pk": false,
"notNull": true,
"autoIncrement": false,
"defaultValue": ""
},
{
"name": "start_time",
"type": "DATETIME",
"chnname": "砍价开启时间",
"remark": "",
"pk": false,
"notNull": true,
"autoIncrement": false,
"defaultValue": ""
},
{
"name": "stop_time",
"type": "DATETIME",
"chnname": "砍价结束时间",
"remark": "",
"pk": false,
"notNull": true,
"autoIncrement": false,
"defaultValue": ""
},
{
"name": "store_name",
"type": "VARCHAR_255",
"chnname": "砍价产品名称",
"remark": "",
"pk": false,
"notNull": false,
"autoIncrement": false,
"defaultValue": ""
},
{
"name": "price",
"type": "DECIMAL UNSIGNED_8_2",
"chnname": "砍价金额",
"remark": "",
"pk": false,
"notNull": false,
"autoIncrement": false,
"defaultValue": ""
},
{
"name": "min_price",
"type": "DECIMAL UNSIGNED_8_2",
"chnname": "砍价商品最低价",
"remark": "",
"pk": false,
"notNull": false,
"autoIncrement": false,
"defaultValue": ""
},
{
"name": "num",
"type": "INT UNSIGNED_10",
"chnname": "每次购买的砍价产品数量",
"remark": "",
"pk": false,
"notNull": false,
"autoIncrement": false,
"defaultValue": ""
},
{
"name": "bargain_max_price",
"type": "DECIMAL UNSIGNED_8_2",
"chnname": "用户每次砍价的最大金额",
"remark": "",
"pk": false,
"notNull": false,
"autoIncrement": false,
"defaultValue": ""
},
{
"name": "bargain_min_price",
"type": "DECIMAL UNSIGNED_8_2",
"chnname": "用户每次砍价的最小金额",
"remark": "",
"pk": false,
"notNull": false,
"autoIncrement": false,
"defaultValue": ""
},
{
"name": "bargain_num",
"type": "INT UNSIGNED_10",
"chnname": "用户每次砍价的次数",
"remark": "",
"pk": false,
"notNull": true,
"autoIncrement": false,
"defaultValue": ""
},
{
"name": "status",
"type": "TINYINT UNSIGNED_1",
"chnname": "砍价状态 0(到砍价时间不自动开启) 1(到砍价时间自动开启时间)",
"remark": "",
"pk": false,
"notNull": true,
"autoIncrement": false,
"defaultValue": ""
},
{
"name": "description",
"type": "TEXT",
"chnname": "砍价详情",
"remark": "",
"pk": false,
"notNull": false,
"autoIncrement": false,
"defaultValue": ""
},
{
"name": "give_integral",
"type": "DECIMAL UNSIGNED_10_2",
"chnname": "反多少积分",
"remark": "",
"pk": false,
"notNull": true,
"autoIncrement": false,
"defaultValue": ""
},
{
"name": "info",
"type": "VARCHAR_255",
"chnname": "砍价活动简介",
"remark": "",
"pk": false,
"notNull": false,
"autoIncrement": false,
"defaultValue": ""
},
{
"name": "cost",
"type": "DECIMAL UNSIGNED_8_2",
"chnname": "成本价",
"remark": "",
"pk": false,
"notNull": false,
"autoIncrement": false,
"defaultValue": ""
},
{
"name": "sort",
"type": "INT UNSIGNED_10",
"chnname": "排序",
"remark": "",
"pk": false,
"notNull": true,
"autoIncrement": false,
"defaultValue": ""
},
{
"name": "is_hot",
"type": "TINYINT UNSIGNED_1",
"chnname": "是否推荐0不推荐1推荐",
"remark": "",
"pk": false,
"notNull": true,
"autoIncrement": false,
"defaultValue": ""
},
{
"name": "is_del",
"type": "TINYINT UNSIGNED_1",
"chnname": "是否删除 0未删除 1删除",
"remark": "",
"pk": false,
"notNull": true,
"autoIncrement": false,
"defaultValue": ""
},
{
"name": "create_time",
"type": "DATETIME",
"chnname": "添加时间",
"remark": "",
"pk": false,
"notNull": false,
"autoIncrement": false,
"defaultValue": ""
},
{
"name": "update_time",
"type": "DATETIME",
"chnname": "",
"remark": "",
"pk": false,
"notNull": false,
"autoIncrement": false,
"defaultValue": ""
},
{
"name": "is_postage",
"type": "TINYINT UNSIGNED_1",
"chnname": "是否包邮 0不包邮 1包邮",
"remark": "",
"pk": false,
"notNull": true,
"autoIncrement": false,
"defaultValue": ""
},
{
"name": "postage",
"type": "DECIMAL UNSIGNED_10_2",
"chnname": "邮费",
"remark": "",
"pk": false,
"notNull": false,
"autoIncrement": false,
"defaultValue": ""
},
{
"name": "rule",
"type": "TEXT",
"chnname": "砍价规则",
"remark": "",
"pk": false,
"notNull": false,
"autoIncrement": false,
"defaultValue": ""
},
{
"name": "look",
"type": "INT UNSIGNED_10",
"chnname": "砍价产品浏览量",
"remark": "",
"pk": false,
"notNull": false,
"autoIncrement": false,
"defaultValue": ""
},
{
"name": "share",
"type": "INT UNSIGNED_10",
"chnname": "砍价产品分享量",
"remark": "",
"pk": false,
"notNull": false,
"autoIncrement": false,
"defaultValue": ""
}
]
},
{
"title": "yx_store_visit",
"chnname": "产品浏览分析表",
"fields": [
{
"name": "id",
"type": "INT_10",
"chnname": "",
"remark": "",
"pk": true,
"notNull": true,
"autoIncrement": true,
"defaultValue": ""
},
{
"name": "product_id",
"type": "INT_10",
"chnname": "产品ID",
"remark": "",
"pk": false,
"notNull": false,
"autoIncrement": false,
"defaultValue": ""
},
{
"name": "product_type",
"type": "VARCHAR_32",
"chnname": "产品类型",
"remark": "",
"pk": false,
"notNull": false,
"autoIncrement": false,
"defaultValue": ""
},
{
"name": "cate_id",
"type": "INT_10",
"chnname": "产品分类ID",
"remark": "",
"pk": false,
"notNull": false,
"autoIncrement": false,
"defaultValue": ""
},
{
"name": "type",
"type": "CHAR_50",
"chnname": "产品类型",
"remark": "",
"pk": false,
"notNull": false,
"autoIncrement": false,
"defaultValue": ""
},
{
"name": "uid",
"type": "INT_10",
"chnname": "用户ID",
"remark": "",
"pk": false,
"notNull": false,
"autoIncrement": false,
"defaultValue": ""
},
{
"name": "count",
"type": "INT_10",
"chnname": "访问次数",
"remark": "",
"pk": false,
"notNull": false,
"autoIncrement": false,
"defaultValue": ""
},
{
"name": "content",
"type": "VARCHAR_255",
"chnname": "备注描述",
"remark": "",
"pk": false,
"notNull": false,
"autoIncrement": false,
"defaultValue": ""
},
{
"name": "add_time",
"type": "INT_10",
"chnname": "添加时间",
"remark": "",
"pk": false,
"notNull": false,
"autoIncrement": false,
"defaultValue": ""
}
]
}
],
"graphCanvas": {
"nodes": [
{
"shape": "table",
"title": "yx_store_pink",
"moduleName": false,
"x": 310,
"y": 580,
"id": "13513a4e"
},
{
"shape": "table",
"title": "yx_store_coupon",
"moduleName": false,
"x": 600,
"y": 180,
"id": "2b6bf508"
},
{
"shape": "table",
"title": "yx_store_coupon_user",
"moduleName": false,
"x": 1310,
"y": 190,
"id": "aa29268e"
},
{
"shape": "table",
"title": "yx_store_coupon_issue",
"moduleName": false,
"x": 1270,
"y": 580,
"id": "74e5a8f0"
},
{
"shape": "table",
"title": "yx_store_coupon_issue_user",
"moduleName": false,
"x": 790,
"y": 610,
"id": "dfd12dd0"
},
{
"shape": "table",
"title": "yx_store_bargain",
"moduleName": false,
"x": -160,
"y": -50,
"id": "1de36ee3"
},
{
"shape": "table",
"title": "yx_store_bargain_user",
"moduleName": false,
"x": 590,
"y": -340,
"id": "14a47167"
},
{
"shape": "table",
"title": "yx_store_bargain_user_help",
"moduleName": false,
"x": 490,
"y": -100,
"id": "e979c0f8"
}
],
"edges": [
{
"shape": "erdRelation",
"relation": "0,n:1",
"source": "aa29268e",
"target": "2b6bf508",
"id": "a8da6c7b",
"controlPoints": [
{
"x": 1041.849609375,
"y": 91.2897465437788
},
{
"x": 835.138671875,
"y": 72.12931034482759
}
],
"sourceAnchor": 2,
"targetAnchor": 1
},
{
"shape": "erdRelation",
"relation": "0,n:1",
"source": "74e5a8f0",
"target": "2b6bf508",
"id": "6abf3f7d",
"controlPoints": [
{
"x": 1051.787109375,
"y": 510.3375331564987
},
{
"x": 835.138671875,
"y": 72.12931034482759
}
],
"sourceAnchor": 4,
"targetAnchor": 1
},
{
"shape": "erdRelation",
"relation": "0,n:1",
"source": "dfd12dd0",
"target": "74e5a8f0",
"id": "0433262a",
"controlPoints": [
{
"x": 991.1455078125,
"y": 608.3222222222222
},
{
"x": 1051.787109375,
"y": 472.12931034482756
}
],
"sourceAnchor": 5,
"targetAnchor": 0
},
{
"shape": "erdRelation",
"relation": "0,n:1",
"source": "14a47167",
"target": "1de36ee3",
"id": "e528de82",
"controlPoints": [
{
"x": 279.8408203125,
"y": -377.6630434782609
},
{
"x": 182.1513671875,
"y": -347.9440298507463
}
],
"sourceAnchor": 4,
"targetAnchor": 1
},
{
"shape": "erdRelation",
"relation": "0,n:1",
"source": "e979c0f8",
"target": "1de36ee3",
"id": "b2e7774f",
"controlPoints": [
{
"x": 280.6005859375,
"y": -120.73355263157895
},
{
"x": 182.1513671875,
"y": -347.9440298507463
}
],
"sourceAnchor": 4,
"targetAnchor": 1
}
]
},
"associations": [
{
"relation": "0,n:1",
"from": {
"entity": "yx_store_coupon_user",
"field": "cid"
},
"to": {
"entity": "yx_store_coupon",
"field": "id"
}
},
{
"relation": "0,n:1",
"from": {
"entity": "yx_store_coupon_issue",
"field": "cid"
},
"to": {
"entity": "yx_store_coupon",
"field": "id"
}
},
{
"relation": "0,n:1",
"from": {
"entity": "yx_store_coupon_issue_user",
"field": "issue_coupon_id"
},
"to": {
"entity": "yx_store_coupon_issue",
"field": "id"
}
},
{
"relation": "0,n:1",
"from": {
"entity": "yx_store_bargain_user",
"field": "bargain_id"
},
"to": {
"entity": "yx_store_bargain",
"field": "id"
}
},
{
"relation": "0,n:1",
"from": {
"entity": "yx_store_bargain_user_help",
"field": "bargain_id"
},
"to": {
"entity": "yx_store_bargain",
"field": "id"
}
}
]
},
{
"name": "cart",
"chnname": "购物车",
"entities": [
{
"title": "yx_store_cart",
"chnname": "购物车表",
"fields": [
{
"name": "id",
"type": "BIGINT_19",
"chnname": "购物车表ID",
"remark": "",
"pk": true,
"notNull": true,
"autoIncrement": true,
"defaultValue": ""
},
{
"name": "uid",
"type": "BIGINT UNSIGNED_20",
"chnname": "用户ID",
"remark": "",
"pk": false,
"notNull": true,
"autoIncrement": false,
"defaultValue": ""
},
{
"name": "type",
"type": "VARCHAR_32",
"chnname": "类型",
"remark": "",
"pk": false,
"notNull": true,
"autoIncrement": false,
"defaultValue": ""
},
{
"name": "product_id",
"type": "BIGINT UNSIGNED_20",
"chnname": "商品ID",
"remark": "",
"pk": false,
"notNull": true,
"autoIncrement": false,
"defaultValue": ""
},
{
"name": "product_attr_unique",
"type": "VARCHAR_50",
"chnname": "商品属性",
"remark": "",
"pk": false,
"notNull": true,
"autoIncrement": false,
"defaultValue": ""
},
{
"name": "cart_num",
"type": "SMALLINT UNSIGNED_5",
"chnname": "商品数量",
"remark": "",
"pk": false,
"notNull": true,
"autoIncrement": false,
"defaultValue": ""
},
{
"name": "create_time",
"type": "DATETIME",
"chnname": "添加时间",
"remark": "",
"pk": false,
"notNull": true,
"autoIncrement": false,
"defaultValue": ""
},
{
"name": "update_time",
"type": "DATETIME",
"chnname": "",
"remark": "",
"pk": false,
"notNull": false,
"autoIncrement": false,
"defaultValue": ""
},
{
"name": "is_pay",
"type": "BIT_1",
"chnname": "0 = 未购买 1 = 已购买",
"remark": "",
"pk": false,
"notNull": true,
"autoIncrement": false,
"defaultValue": ""
},
{
"name": "is_del",
"type": "BIT_1",
"chnname": "是否删除",
"remark": "",
"pk": false,
"notNull": true,
"autoIncrement": false,
"defaultValue": ""
},
{
"name": "is_new",
"type": "BIT_1",
"chnname": "是否为立即购买",
"remark": "",
"pk": false,
"notNull": true,
"autoIncrement": false,
"defaultValue": ""
},
{
"name": "combination_id",
"type": "INT UNSIGNED_10",
"chnname": "拼团id",
"remark": "",
"pk": false,
"notNull": false,
"autoIncrement": false,
"defaultValue": ""
},
{
"name": "seckill_id",
"type": "INT UNSIGNED_10",
"chnname": "秒杀产品ID",
"remark": "",
"pk": false,
"notNull": true,
"autoIncrement": false,
"defaultValue": ""
},
{
"name": "bargain_id",
"type": "INT UNSIGNED_10",
"chnname": "砍价id",
"remark": "",
"pk": false,
"notNull": true,
"autoIncrement": false,
"defaultValue": ""
}
]
}
],
"graphCanvas": {
"nodes": [],
"edges": []
}
},
{
"name": "category",
"chnname": "商品分类",
"entities": [
{
"title": "yx_store_category",
"chnname": "商品分类表",
"fields": [
{
"name": "id",
"type": "MEDIUMINT_7",
"chnname": "商品分类表ID",
"remark": "",
"pk": true,
"notNull": true,
"autoIncrement": true,
"defaultValue": ""
},
{
"name": "pid",
"type": "MEDIUMINT_7",
"chnname": "父id",
"remark": "",
"pk": false,
"notNull": true,
"autoIncrement": false,
"defaultValue": ""
},
{
"name": "cate_name",
"type": "VARCHAR_100",
"chnname": "分类名称",
"remark": "",
"pk": false,
"notNull": true,
"autoIncrement": false,
"defaultValue": ""
},
{
"name": "sort",
"type": "MEDIUMINT_7",
"chnname": "排序",
"remark": "",
"pk": false,
"notNull": false,
"autoIncrement": false,
"defaultValue": ""
},
{
"name": "pic",
"type": "VARCHAR_128",
"chnname": "图标",
"remark": "",
"pk": false,
"notNull": false,
"autoIncrement": false,
"defaultValue": ""
},
{
"name": "is_show",
"type": "BIT_1",
"chnname": "是否推荐",
"remark": "",
"pk": false,
"notNull": false,
"autoIncrement": false,
"defaultValue": ""
},
{
"name": "create_time",
"type": "DATETIME",
"chnname": "添加时间",
"remark": "",
"pk": false,
"notNull": false,
"autoIncrement": false,
"defaultValue": ""
},
{
"name": "update_time",
"type": "DATETIME",
"chnname": "",
"remark": "",
"pk": false,
"notNull": false,
"autoIncrement": false,
"defaultValue": ""
},
{
"name": "is_del",
"type": "TINYINT UNSIGNED_1",
"chnname": "删除状态",
"remark": "",
"pk": false,
"notNull": false,
"autoIncrement": false,
"defaultValue": ""
}
]
}
],
"graphCanvas": {
"nodes": [],
"edges": []
}
},
{
"name": "order",
"chnname": "订单",
"entities": [
{
"title": "yx_store_order",
"chnname": "订单表",
"fields": [
{
"name": "id",
"type": "BIGINT UNSIGNED_20",
"chnname": "订单ID",
"remark": "",
"pk": true,
"notNull": true,
"autoIncrement": true,
"defaultValue": ""
},
{
"name": "order_id",
"type": "VARCHAR_32",
"chnname": "订单号",
"remark": "",
"pk": false,
"notNull": true,
"autoIncrement": false,
"defaultValue": ""
},
{
"name": "extend_order_id",
"type": "VARCHAR_32",
"chnname": "额外订单号",
"remark": "",
"pk": false,
"notNull": false,
"autoIncrement": false,
"defaultValue": ""
},
{
"name": "uid",
"type": "BIGINT UNSIGNED_20",
"chnname": "用户id",
"remark": "",
"pk": false,
"notNull": true,
"autoIncrement": false,
"defaultValue": ""
},
{
"name": "real_name",
"type": "VARCHAR_32",
"chnname": "用户姓名",
"remark": "",
"pk": false,
"notNull": true,
"autoIncrement": false,
"defaultValue": ""
},
{
"name": "user_phone",
"type": "VARCHAR_18",
"chnname": "用户电话",
"remark": "",
"pk": false,
"notNull": true,
"autoIncrement": false,
"defaultValue": ""
},
{
"name": "user_address",
"type": "VARCHAR_100",
"chnname": "详细地址",
"remark": "",
"pk": false,
"notNull": true,
"autoIncrement": false,
"defaultValue": ""
},
{
"name": "cart_id",
"type": "VARCHAR_256",
"chnname": "购物车id",
"remark": "",
"pk": false,
"notNull": true,
"autoIncrement": false,
"defaultValue": ""
},
{
"name": "freight_price",
"type": "DECIMAL_8_2",
"chnname": "运费金额",
"remark": "",
"pk": false,
"notNull": true,
"autoIncrement": false,
"defaultValue": ""
},
{
"name": "total_num",
"type": "INT UNSIGNED_10",
"chnname": "订单商品总数",
"remark": "",
"pk": false,
"notNull": true,
"autoIncrement": false,
"defaultValue": ""
},
{
"name": "total_price",
"type": "DECIMAL UNSIGNED_8_2",
"chnname": "订单总价",
"remark": "",
"pk": false,
"notNull": true,
"autoIncrement": false,
"defaultValue": ""
},
{
"name": "total_postage",
"type": "DECIMAL UNSIGNED_8_2",
"chnname": "邮费",
"remark": "",
"pk": false,
"notNull": true,
"autoIncrement": false,
"defaultValue": ""
},
{
"name": "pay_price",
"type": "DECIMAL UNSIGNED_8_2",
"chnname": "实际支付金额",
"remark": "",
"pk": false,
"notNull": true,
"autoIncrement": false,
"defaultValue": ""
},
{
"name": "pay_postage",
"type": "DECIMAL UNSIGNED_8_2",
"chnname": "支付邮费",
"remark": "",
"pk": false,
"notNull": true,
"autoIncrement": false,
"defaultValue": ""
},
{
"name": "deduction_price",
"type": "DECIMAL UNSIGNED_8_2",
"chnname": "抵扣金额",
"remark": "",
"pk": false,
"notNull": true,
"autoIncrement": false,
"defaultValue": ""
},
{
"name": "coupon_id",
"type": "INT UNSIGNED_10",
"chnname": "优惠券id",
"remark": "",
"pk": false,
"notNull": true,
"autoIncrement": false,
"defaultValue": ""
},
{
"name": "coupon_price",
"type": "DECIMAL UNSIGNED_8_2",
"chnname": "优惠券金额",
"remark": "",
"pk": false,
"notNull": true,
"autoIncrement": false,
"defaultValue": ""
},
{
"name": "paid",
"type": "TINYINT UNSIGNED_1",
"chnname": "支付状态",
"remark": "",
"pk": false,
"notNull": true,
"autoIncrement": false,
"defaultValue": ""
},
{
"name": "pay_time",
"type": "DATETIME",
"chnname": "支付时间",
"remark": "",
"pk": false,
"notNull": false,
"autoIncrement": false,
"defaultValue": ""
},
{
"name": "pay_type",
"type": "VARCHAR_32",
"chnname": "支付方式",
"remark": "",
"pk": false,
"notNull": true,
"autoIncrement": false,
"defaultValue": ""
},
{
"name": "create_time",
"type": "DATETIME",
"chnname": "创建时间",
"remark": "",
"pk": false,
"notNull": true,
"autoIncrement": false,
"defaultValue": ""
},
{
"name": "update_time",
"type": "DATETIME",
"chnname": "",
"remark": "",
"pk": false,
"notNull": false,
"autoIncrement": false,
"defaultValue": ""
},
{
"name": "status",
"type": "BIT_1",
"chnname": "订单状态(-1 : 申请退款 -2 : 退货成功 0:待发货;1:待收货;2:已收货;3:已完成;-1:已退款)",
"remark": "",
"pk": false,
"notNull": true,
"autoIncrement": false,
"defaultValue": ""
},
{
"name": "refund_status",
"type": "TINYINT UNSIGNED_1",
"chnname": "0 未退款 1 申请中 2 已退款",
"remark": "",
"pk": false,
"notNull": true,
"autoIncrement": false,
"defaultValue": ""
},
{
"name": "refund_reason_wap_img",
"type": "VARCHAR_255",
"chnname": "退款图片",
"remark": "",
"pk": false,
"notNull": false,
"autoIncrement": false,
"defaultValue": ""
},
{
"name": "refund_reason_wap_explain",
"type": "VARCHAR_255",
"chnname": "退款用户说明",
"remark": "",
"pk": false,
"notNull": false,
"autoIncrement": false,
"defaultValue": ""
},
{
"name": "refund_reason_time",
"type": "DATETIME",
"chnname": "退款时间",
"remark": "",
"pk": false,
"notNull": false,
"autoIncrement": false,
"defaultValue": ""
},
{
"name": "refund_reason_wap",
"type": "VARCHAR_255",
"chnname": "前台退款原因",
"remark": "",
"pk": false,
"notNull": false,
"autoIncrement": false,
"defaultValue": ""
},
{
"name": "refund_reason",
"type": "VARCHAR_255",
"chnname": "不退款的理由",
"remark": "",
"pk": false,
"notNull": false,
"autoIncrement": false,
"defaultValue": ""
},
{
"name": "refund_price",
"type": "DECIMAL UNSIGNED_8_2",
"chnname": "退款金额",
"remark": "",
"pk": false,
"notNull": true,
"autoIncrement": false,
"defaultValue": ""
},
{
"name": "delivery_sn",
"type": "VARCHAR_100",
"chnname": "快递公司编号",
"remark": "",
"pk": false,
"notNull": false,
"autoIncrement": false,
"defaultValue": ""
},
{
"name": "delivery_name",
"type": "VARCHAR_64",
"chnname": "快递名称/送货人姓名",
"remark": "",
"pk": false,
"notNull": false,
"autoIncrement": false,
"defaultValue": ""
},
{
"name": "delivery_type",
"type": "VARCHAR_32",
"chnname": "发货类型",
"remark": "",
"pk": false,
"notNull": false,
"autoIncrement": false,
"defaultValue": ""
},
{
"name": "delivery_id",
"type": "VARCHAR_64",
"chnname": "快递单号/手机号",
"remark": "",
"pk": false,
"notNull": false,
"autoIncrement": false,
"defaultValue": ""
},
{
"name": "gain_integral",
"type": "DECIMAL UNSIGNED_8_2",
"chnname": "消费赚取积分",
"remark": "",
"pk": false,
"notNull": true,
"autoIncrement": false,
"defaultValue": ""
},
{
"name": "use_integral",
"type": "DECIMAL UNSIGNED_8_2",
"chnname": "使用积分",
"remark": "",
"pk": false,
"notNull": true,
"autoIncrement": false,
"defaultValue": ""
},
{
"name": "back_integral",
"type": "DECIMAL UNSIGNED_8_2",
"chnname": "给用户退了多少积分",
"remark": "",
"pk": false,
"notNull": false,
"autoIncrement": false,
"defaultValue": ""
},
{
"name": "mark",
"type": "VARCHAR_512",
"chnname": "备注",
"remark": "",
"pk": false,
"notNull": true,
"autoIncrement": false,
"defaultValue": ""
},
{
"name": "is_del",
"type": "TINYINT UNSIGNED_1",
"chnname": "是否删除",
"remark": "",
"pk": false,
"notNull": true,
"autoIncrement": false,
"defaultValue": ""
},
{
"name": "unique",
"type": "CHAR_32",
"chnname": "唯一id(md5加密)类似id",
"remark": "",
"pk": false,
"notNull": true,
"autoIncrement": false,
"defaultValue": ""
},
{
"name": "remark",
"type": "VARCHAR_512",
"chnname": "管理员备注",
"remark": "",
"pk": false,
"notNull": false,
"autoIncrement": false,
"defaultValue": ""
},
{
"name": "mer_id",
"type": "INT UNSIGNED_10",
"chnname": "商户ID",
"remark": "",
"pk": false,
"notNull": true,
"autoIncrement": false,
"defaultValue": ""
},
{
"name": "is_mer_check",
"type": "TINYINT UNSIGNED_3",
"chnname": "",
"remark": "",
"pk": false,
"notNull": true,
"autoIncrement": false,
"defaultValue": ""
},
{
"name": "combination_id",
"type": "BIGINT UNSIGNED_20",
"chnname": "拼团产品id0一般产品",
"remark": "",
"pk": false,
"notNull": false,
"autoIncrement": false,
"defaultValue": ""
},
{
"name": "pink_id",
"type": "BIGINT UNSIGNED_20",
"chnname": "拼团id 0没有拼团",
"remark": "",
"pk": false,
"notNull": true,
"autoIncrement": false,
"defaultValue": ""
},
{
"name": "cost",
"type": "DECIMAL UNSIGNED_8_2",
"chnname": "成本价",
"remark": "",
"pk": false,
"notNull": true,
"autoIncrement": false,
"defaultValue": ""
},
{
"name": "seckill_id",
"type": "BIGINT UNSIGNED_20",
"chnname": "秒杀产品ID",
"remark": "",
"pk": false,
"notNull": true,
"autoIncrement": false,
"defaultValue": ""
},
{
"name": "bargain_id",
"type": "INT UNSIGNED_10",
"chnname": "砍价id",
"remark": "",
"pk": false,
"notNull": false,
"autoIncrement": false,
"defaultValue": ""
},
{
"name": "verify_code",
"type": "VARCHAR_50",
"chnname": "核销码",
"remark": "",
"pk": false,
"notNull": true,
"autoIncrement": false,
"defaultValue": ""
},
{
"name": "store_id",
"type": "INT_10",
"chnname": "门店id",
"remark": "",
"pk": false,
"notNull": true,
"autoIncrement": false,
"defaultValue": ""
},
{
"name": "shipping_type",
"type": "BIT_1",
"chnname": "配送方式 1=快递 ,2=门店自提",
"remark": "",
"pk": false,
"notNull": true,
"autoIncrement": false,
"defaultValue": ""
},
{
"name": "is_channel",
"type": "TINYINT UNSIGNED_1",
"chnname": "支付渠道(0微信公众号1微信小程序)",
"remark": "",
"pk": false,
"notNull": false,
"autoIncrement": false,
"defaultValue": ""
},
{
"name": "is_remind",
"type": "TINYINT UNSIGNED_1",
"chnname": "",
"remark": "",
"pk": false,
"notNull": false,
"autoIncrement": false,
"defaultValue": ""
},
{
"name": "is_system_del",
"type": "BIT_1",
"chnname": "",
"remark": "",
"pk": false,
"notNull": false,
"autoIncrement": false,
"defaultValue": ""
}
]
},
{
"title": "yx_store_order_cart_info",
"chnname": "订单购物详情表",
"fields": [
{
"name": "id",
"type": "BIGINT UNSIGNED_20",
"chnname": "",
"remark": "",
"pk": true,
"notNull": true,
"autoIncrement": true,
"defaultValue": ""
},
{
"name": "oid",
"type": "BIGINT UNSIGNED_20",
"chnname": "订单id",
"remark": "",
"pk": false,
"notNull": true,
"autoIncrement": false,
"defaultValue": ""
},
{
"name": "cart_id",
"type": "BIGINT UNSIGNED_20",
"chnname": "购物车id",
"remark": "",
"pk": false,
"notNull": true,
"autoIncrement": false,
"defaultValue": ""
},
{
"name": "product_id",
"type": "BIGINT UNSIGNED_20",
"chnname": "商品ID",
"remark": "",
"pk": false,
"notNull": true,
"autoIncrement": false,
"defaultValue": ""
},
{
"name": "cart_info",
"type": "TEXT",
"chnname": "购买东西的详细信息",
"remark": "",
"pk": false,
"notNull": true,
"autoIncrement": false,
"defaultValue": ""
},
{
"name": "unique",
"type": "VARCHAR_50",
"chnname": "唯一id",
"remark": "",
"pk": false,
"notNull": true,
"autoIncrement": false,
"defaultValue": ""
}
]
},
{
"title": "yx_store_order_status",
"chnname": "订单操作记录表",
"fields": [
{
"name": "id",
"type": "BIGINT UNSIGNED_20",
"chnname": "",
"remark": "",
"pk": true,
"notNull": true,
"autoIncrement": true,
"defaultValue": ""
},
{
"name": "oid",
"type": "BIGINT UNSIGNED_20",
"chnname": "订单id",
"remark": "",
"pk": false,
"notNull": true,
"autoIncrement": false,
"defaultValue": ""
},
{
"name": "change_type",
"type": "VARCHAR_32",
"chnname": "操作类型",
"remark": "",
"pk": false,
"notNull": true,
"autoIncrement": false,
"defaultValue": ""
},
{
"name": "change_message",
"type": "VARCHAR_256",
"chnname": "操作备注",
"remark": "",
"pk": false,
"notNull": true,
"autoIncrement": false,
"defaultValue": ""
},
{
"name": "change_time",
"type": "DATETIME",
"chnname": "操作时间",
"remark": "",
"pk": false,
"notNull": true,
"autoIncrement": false,
"defaultValue": ""
}
]
},
{
"title": "yx_express",
"chnname": "快递公司表",
"fields": [
{
"name": "id",
"type": "MEDIUMINT UNSIGNED_8",
"chnname": "快递公司id",
"remark": "",
"pk": true,
"notNull": true,
"autoIncrement": true,
"defaultValue": ""
},
{
"name": "code",
"type": "VARCHAR_50",
"chnname": "快递公司简称",
"remark": "",
"pk": false,
"notNull": true,
"autoIncrement": false,
"defaultValue": ""
},
{
"name": "name",
"type": "VARCHAR_50",
"chnname": "快递公司全称",
"remark": "",
"pk": false,
"notNull": true,
"autoIncrement": false,
"defaultValue": ""
},
{
"name": "sort",
"type": "INT_10",
"chnname": "排序",
"remark": "",
"pk": false,
"notNull": true,
"autoIncrement": false,
"defaultValue": ""
},
{
"name": "is_show",
"type": "BIT_1",
"chnname": "是否显示",
"remark": "",
"pk": false,
"notNull": true,
"autoIncrement": false,
"defaultValue": ""
},
{
"name": "create_time",
"type": "DATETIME",
"chnname": "",
"remark": "",
"pk": false,
"notNull": false,
"autoIncrement": false,
"defaultValue": ""
},
{
"name": "update_time",
"type": "DATETIME",
"chnname": "",
"remark": "",
"pk": false,
"notNull": false,
"autoIncrement": false,
"defaultValue": ""
},
{
"name": "is_del",
"type": "TINYINT_3",
"chnname": "",
"remark": "",
"pk": false,
"notNull": false,
"autoIncrement": false,
"defaultValue": ""
}
]
}
],
"graphCanvas": {
"nodes": [
{
"shape": "table",
"title": "yx_store_order",
"moduleName": false,
"x": 610,
"y": 550,
"id": "0eda0dc5"
},
{
"shape": "table",
"title": "yx_store_order_cart_info",
"moduleName": false,
"x": 1370,
"y": 70,
"id": "1412580b"
},
{
"shape": "table",
"title": "yx_store_cart",
"moduleName": "cart",
"x": 1410,
"y": 330,
"id": "bcf3c95c"
},
{
"shape": "table",
"title": "yx_store_order_status",
"moduleName": false,
"x": 1380,
"y": 610,
"id": "f5488e91"
}
],
"edges": [
{
"shape": "erdRelation",
"relation": "0,n:1",
"source": "1412580b",
"target": "0eda0dc5",
"id": "6f47eff5",
"controlPoints": [
{
"x": 1179.8701171875,
"y": 52.38333333333334
},
{
"x": 1074.1962890625,
"y": 32.03378378378378
}
],
"sourceAnchor": 2,
"targetAnchor": 1
},
{
"shape": "erdRelation",
"relation": "0,n:1",
"source": "1412580b",
"target": "bcf3c95c",
"id": "2c239ffd",
"controlPoints": [
{
"x": 1179.8701171875,
"y": 72.51666666666668
},
{
"x": 1120,
"y": 70
},
{
"x": 1120,
"y": 210
},
{
"x": 1184.4970703125,
"y": 212.1209677419355
}
],
"sourceAnchor": 4,
"targetAnchor": 0
},
{
"shape": "erdRelation",
"relation": "0,n:1",
"source": "f5488e91",
"target": "0eda0dc5",
"id": "70641526",
"controlPoints": [
{
"x": 1200.5224609375,
"y": 602.4423076923077
},
{
"x": 1130,
"y": 450
},
{
"x": 1074.1962890625,
"y": 32.03378378378378
}
],
"sourceAnchor": 2,
"targetAnchor": 1
}
]
},
"associations": [
{
"relation": "0,n:1",
"from": {
"entity": "yx_store_order_cart_info",
"field": "oid"
},
"to": {
"entity": "yx_store_order",
"field": "id"
}
},
{
"relation": "0,n:1",
"from": {
"entity": "yx_store_order_cart_info",
"field": "cart_id"
},
"to": {
"entity": "yx_store_cart",
"field": "id"
}
},
{
"relation": "0,n:1",
"from": {
"entity": "yx_store_order_status",
"field": "oid"
},
"to": {
"entity": "yx_store_order",
"field": "id"
}
}
]
},
{
"name": "product",
"chnname": "商品模块",
"entities": [
{
"title": "yx_store_product_reply",
"chnname": "评论表",
"fields": [
{
"name": "id",
"type": "BIGINT_19",
"chnname": "评论ID",
"remark": "",
"pk": true,
"notNull": true,
"autoIncrement": true,
"defaultValue": ""
},
{
"name": "uid",
"type": "BIGINT_19",
"chnname": "用户ID",
"remark": "",
"pk": false,
"notNull": true,
"autoIncrement": false,
"defaultValue": ""
},
{
"name": "oid",
"type": "BIGINT_19",
"chnname": "订单ID",
"remark": "",
"pk": false,
"notNull": true,
"autoIncrement": false,
"defaultValue": ""
},
{
"name": "unique",
"type": "CHAR_32",
"chnname": "唯一id",
"remark": "",
"pk": false,
"notNull": true,
"autoIncrement": false,
"defaultValue": ""
},
{
"name": "product_id",
"type": "BIGINT_19",
"chnname": "产品id",
"remark": "",
"pk": false,
"notNull": true,
"autoIncrement": false,
"defaultValue": ""
},
{
"name": "reply_type",
"type": "VARCHAR_32",
"chnname": "某种商品类型(普通商品、秒杀商品)",
"remark": "",
"pk": false,
"notNull": true,
"autoIncrement": false,
"defaultValue": ""
},
{
"name": "product_score",
"type": "BIT_1",
"chnname": "商品分数",
"remark": "",
"pk": false,
"notNull": true,
"autoIncrement": false,
"defaultValue": ""
},
{
"name": "service_score",
"type": "BIT_1",
"chnname": "服务分数",
"remark": "",
"pk": false,
"notNull": true,
"autoIncrement": false,
"defaultValue": ""
},
{
"name": "comment",
"type": "VARCHAR_512",
"chnname": "评论内容",
"remark": "",
"pk": false,
"notNull": true,
"autoIncrement": false,
"defaultValue": ""
},
{
"name": "pics",
"type": "TEXT",
"chnname": "评论图片",
"remark": "",
"pk": false,
"notNull": true,
"autoIncrement": false,
"defaultValue": ""
},
{
"name": "create_time",
"type": "DATETIME",
"chnname": "评论时间",
"remark": "",
"pk": false,
"notNull": true,
"autoIncrement": false,
"defaultValue": ""
},
{
"name": "update_time",
"type": "DATETIME",
"chnname": "",
"remark": "",
"pk": false,
"notNull": false,
"autoIncrement": false,
"defaultValue": ""
},
{
"name": "merchant_reply_content",
"type": "VARCHAR_300",
"chnname": "管理员回复内容",
"remark": "",
"pk": false,
"notNull": false,
"autoIncrement": false,
"defaultValue": ""
},
{
"name": "merchant_reply_time",
"type": "DATETIME",
"chnname": "管理员回复时间",
"remark": "",
"pk": false,
"notNull": false,
"autoIncrement": false,
"defaultValue": ""
},
{
"name": "is_del",
"type": "TINYINT UNSIGNED_1",
"chnname": "0未删除1已删除",
"remark": "",
"pk": false,
"notNull": true,
"autoIncrement": false,
"defaultValue": ""
},
{
"name": "is_reply",
"type": "BIT_1",
"chnname": "0未回复1已回复",
"remark": "",
"pk": false,
"notNull": true,
"autoIncrement": false,
"defaultValue": ""
}
]
},
{
"title": "yx_store_product_relation",
"chnname": "商品点赞和收藏表",
"fields": [
{
"name": "id",
"type": "BIGINT UNSIGNED_20",
"chnname": "",
"remark": "",
"pk": true,
"notNull": true,
"autoIncrement": true,
"defaultValue": ""
},
{
"name": "uid",
"type": "BIGINT UNSIGNED_20",
"chnname": "用户ID",
"remark": "",
"pk": false,
"notNull": true,
"autoIncrement": false,
"defaultValue": ""
},
{
"name": "product_id",
"type": "BIGINT UNSIGNED_20",
"chnname": "商品ID",
"remark": "",
"pk": false,
"notNull": true,
"autoIncrement": false,
"defaultValue": ""
},
{
"name": "type",
"type": "VARCHAR_32",
"chnname": "类型(收藏(collect)、点赞(like))",
"remark": "",
"pk": false,
"notNull": false,
"autoIncrement": false,
"defaultValue": ""
},
{
"name": "category",
"type": "VARCHAR_32",
"chnname": "某种类型的商品(普通商品、秒杀商品)",
"remark": "",
"pk": false,
"notNull": false,
"autoIncrement": false,
"defaultValue": ""
},
{
"name": "create_time",
"type": "DATETIME",
"chnname": "添加时间",
"remark": "",
"pk": false,
"notNull": true,
"autoIncrement": false,
"defaultValue": ""
},
{
"name": "update_time",
"type": "DATETIME",
"chnname": "",
"remark": "",
"pk": false,
"notNull": false,
"autoIncrement": false,
"defaultValue": ""
},
{
"name": "is_del",
"type": "BIT_1",
"chnname": "",
"remark": "",
"pk": false,
"notNull": false,
"autoIncrement": false,
"defaultValue": ""
}
]
},
{
"title": "yx_store_product_attr_value",
"chnname": "商品属性值表",
"fields": [
{
"name": "id",
"type": "BIGINT UNSIGNED_20",
"chnname": "",
"remark": "",
"pk": true,
"notNull": true,
"autoIncrement": true,
"defaultValue": ""
},
{
"name": "product_id",
"type": "BIGINT UNSIGNED_20",
"chnname": "商品ID",
"remark": "",
"pk": false,
"notNull": true,
"autoIncrement": false,
"defaultValue": ""
},
{
"name": "sku",
"type": "VARCHAR_128",
"chnname": "商品属性索引值 (attr_value|attr_value[|....])",
"remark": "",
"pk": false,
"notNull": true,
"autoIncrement": false,
"defaultValue": ""
},
{
"name": "stock",
"type": "INT UNSIGNED_10",
"chnname": "属性对应的库存",
"remark": "",
"pk": false,
"notNull": true,
"autoIncrement": false,
"defaultValue": ""
},
{
"name": "sales",
"type": "INT UNSIGNED_10",
"chnname": "销量",
"remark": "",
"pk": false,
"notNull": false,
"autoIncrement": false,
"defaultValue": ""
},
{
"name": "price",
"type": "DECIMAL UNSIGNED_8_2",
"chnname": "属性金额",
"remark": "",
"pk": false,
"notNull": true,
"autoIncrement": false,
"defaultValue": ""
},
{
"name": "image",
"type": "VARCHAR_128",
"chnname": "图片",
"remark": "",
"pk": false,
"notNull": false,
"autoIncrement": false,
"defaultValue": ""
},
{
"name": "unique",
"type": "VARCHAR_100",
"chnname": "唯一值",
"remark": "",
"pk": false,
"notNull": true,
"autoIncrement": false,
"defaultValue": ""
},
{
"name": "cost",
"type": "DECIMAL UNSIGNED_8_2",
"chnname": "成本价",
"remark": "",
"pk": false,
"notNull": true,
"autoIncrement": false,
"defaultValue": ""
},
{
"name": "bar_code",
"type": "VARCHAR_255",
"chnname": "商品条码",
"remark": "",
"pk": false,
"notNull": false,
"autoIncrement": false,
"defaultValue": ""
},
{
"name": "ot_price",
"type": "DECIMAL_10_2",
"chnname": "原价",
"remark": "",
"pk": false,
"notNull": false,
"autoIncrement": false,
"defaultValue": ""
},
{
"name": "weight",
"type": "DECIMAL_8_2",
"chnname": "重量",
"remark": "",
"pk": false,
"notNull": true,
"autoIncrement": false,
"defaultValue": ""
},
{
"name": "volume",
"type": "DECIMAL_8_2",
"chnname": "体积",
"remark": "",
"pk": false,
"notNull": true,
"autoIncrement": false,
"defaultValue": ""
},
{
"name": "brokerage",
"type": "DECIMAL_8_2",
"chnname": "一级返佣",
"remark": "",
"pk": false,
"notNull": true,
"autoIncrement": false,
"defaultValue": ""
},
{
"name": "brokerage_two",
"type": "DECIMAL_8_2",
"chnname": "二级返佣",
"remark": "",
"pk": false,
"notNull": true,
"autoIncrement": false,
"defaultValue": ""
}
]
},
{
"title": "yx_store_product_attr_result",
"chnname": "商品属性详情表",
"fields": [
{
"name": "id",
"type": "BIGINT UNSIGNED_20",
"chnname": "",
"remark": "",
"pk": true,
"notNull": true,
"autoIncrement": true,
"defaultValue": ""
},
{
"name": "product_id",
"type": "BIGINT UNSIGNED_20",
"chnname": "商品ID",
"remark": "",
"pk": false,
"notNull": true,
"autoIncrement": false,
"defaultValue": ""
},
{
"name": "result",
"type": "TEXT",
"chnname": "商品属性参数",
"remark": "",
"pk": false,
"notNull": true,
"autoIncrement": false,
"defaultValue": ""
},
{
"name": "change_time",
"type": "DATETIME",
"chnname": "上次修改时间",
"remark": "",
"pk": false,
"notNull": true,
"autoIncrement": false,
"defaultValue": ""
}
]
},
{
"title": "yx_store_product_attr",
"chnname": "商品属性表",
"fields": [
{
"name": "id",
"type": "BIGINT UNSIGNED_20",
"chnname": "",
"remark": "",
"pk": true,
"notNull": true,
"autoIncrement": true,
"defaultValue": ""
},
{
"name": "product_id",
"type": "BIGINT UNSIGNED_20",
"chnname": "商品ID",
"remark": "",
"pk": false,
"notNull": true,
"autoIncrement": false,
"defaultValue": ""
},
{
"name": "attr_name",
"type": "VARCHAR_32",
"chnname": "属性名",
"remark": "",
"pk": false,
"notNull": true,
"autoIncrement": false,
"defaultValue": ""
},
{
"name": "attr_values",
"type": "VARCHAR_256",
"chnname": "属性值",
"remark": "",
"pk": false,
"notNull": true,
"autoIncrement": false,
"defaultValue": ""
}
]
},
{
"title": "yx_store_product",
"chnname": "商品表",
"fields": [
{
"name": "id",
"type": "BIGINT_19",
"chnname": "商品id",
"remark": "",
"pk": true,
"notNull": true,
"autoIncrement": true,
"defaultValue": ""
},
{
"name": "mer_id",
"type": "INT UNSIGNED_10",
"chnname": "商户Id(0为总后台管理员创建,不为0的时候是商户后台创建)",
"remark": "",
"pk": false,
"notNull": false,
"autoIncrement": false,
"defaultValue": ""
},
{
"name": "image",
"type": "VARCHAR_256",
"chnname": "商品图片",
"remark": "",
"pk": false,
"notNull": true,
"autoIncrement": false,
"defaultValue": ""
},
{
"name": "slider_image",
"type": "VARCHAR_2000",
"chnname": "轮播图",
"remark": "",
"pk": false,
"notNull": true,
"autoIncrement": false,
"defaultValue": ""
},
{
"name": "store_name",
"type": "VARCHAR_128",
"chnname": "商品名称",
"remark": "",
"pk": false,
"notNull": true,
"autoIncrement": false,
"defaultValue": ""
},
{
"name": "store_info",
"type": "VARCHAR_256",
"chnname": "商品简介",
"remark": "",
"pk": false,
"notNull": true,
"autoIncrement": false,
"defaultValue": ""
},
{
"name": "keyword",
"type": "VARCHAR_256",
"chnname": "关键字",
"remark": "",
"pk": false,
"notNull": true,
"autoIncrement": false,
"defaultValue": ""
},
{
"name": "bar_code",
"type": "VARCHAR_15",
"chnname": "产品条码(一维码)",
"remark": "",
"pk": false,
"notNull": false,
"autoIncrement": false,
"defaultValue": ""
},
{
"name": "cate_id",
"type": "VARCHAR_64",
"chnname": "分类id",
"remark": "",
"pk": false,
"notNull": true,
"autoIncrement": false,
"defaultValue": ""
},
{
"name": "price",
"type": "DECIMAL UNSIGNED_8_2",
"chnname": "商品价格",
"remark": "",
"pk": false,
"notNull": true,
"autoIncrement": false,
"defaultValue": ""
},
{
"name": "vip_price",
"type": "DECIMAL UNSIGNED_8_2",
"chnname": "会员价格",
"remark": "",
"pk": false,
"notNull": false,
"autoIncrement": false,
"defaultValue": ""
},
{
"name": "ot_price",
"type": "DECIMAL UNSIGNED_8_2",
"chnname": "市场价",
"remark": "",
"pk": false,
"notNull": false,
"autoIncrement": false,
"defaultValue": ""
},
{
"name": "postage",
"type": "DECIMAL UNSIGNED_8_2",
"chnname": "邮费",
"remark": "",
"pk": false,
"notNull": false,
"autoIncrement": false,
"defaultValue": ""
},
{
"name": "unit_name",
"type": "VARCHAR_32",
"chnname": "单位名",
"remark": "",
"pk": false,
"notNull": false,
"autoIncrement": false,
"defaultValue": ""
},
{
"name": "sort",
"type": "SMALLINT_5",
"chnname": "排序",
"remark": "",
"pk": false,
"notNull": false,
"autoIncrement": false,
"defaultValue": ""
},
{
"name": "sales",
"type": "MEDIUMINT UNSIGNED_8",
"chnname": "销量",
"remark": "",
"pk": false,
"notNull": false,
"autoIncrement": false,
"defaultValue": ""
},
{
"name": "stock",
"type": "MEDIUMINT UNSIGNED_8",
"chnname": "库存",
"remark": "",
"pk": false,
"notNull": false,
"autoIncrement": false,
"defaultValue": ""
},
{
"name": "is_show",
"type": "BIT_1",
"chnname": "状态(0:未上架,1:上架)",
"remark": "",
"pk": false,
"notNull": false,
"autoIncrement": false,
"defaultValue": ""
},
{
"name": "is_hot",
"type": "BIT_1",
"chnname": "是否热卖",
"remark": "",
"pk": false,
"notNull": false,
"autoIncrement": false,
"defaultValue": ""
},
{
"name": "is_benefit",
"type": "BIT_1",
"chnname": "是否优惠",
"remark": "",
"pk": false,
"notNull": false,
"autoIncrement": false,
"defaultValue": ""
},
{
"name": "is_best",
"type": "BIT_1",
"chnname": "是否精品",
"remark": "",
"pk": false,
"notNull": false,
"autoIncrement": false,
"defaultValue": ""
},
{
"name": "is_new",
"type": "BIT_1",
"chnname": "是否新品",
"remark": "",
"pk": false,
"notNull": false,
"autoIncrement": false,
"defaultValue": ""
},
{
"name": "description",
"type": "TEXT",
"chnname": "产品描述",
"remark": "",
"pk": false,
"notNull": false,
"autoIncrement": false,
"defaultValue": ""
},
{
"name": "create_time",
"type": "DATETIME",
"chnname": "添加时间",
"remark": "",
"pk": false,
"notNull": false,
"autoIncrement": false,
"defaultValue": ""
},
{
"name": "update_time",
"type": "DATETIME",
"chnname": "",
"remark": "",
"pk": false,
"notNull": false,
"autoIncrement": false,
"defaultValue": ""
},
{
"name": "is_postage",
"type": "TINYINT UNSIGNED_1",
"chnname": "是否包邮",
"remark": "",
"pk": false,
"notNull": false,
"autoIncrement": false,
"defaultValue": ""
},
{
"name": "is_del",
"type": "TINYINT UNSIGNED_1",
"chnname": "是否删除",
"remark": "",
"pk": false,
"notNull": false,
"autoIncrement": false,
"defaultValue": ""
},
{
"name": "mer_use",
"type": "TINYINT UNSIGNED_1",
"chnname": "商户是否代理 0不可代理1可代理",
"remark": "",
"pk": false,
"notNull": false,
"autoIncrement": false,
"defaultValue": ""
},
{
"name": "give_integral",
"type": "DECIMAL UNSIGNED_8_2",
"chnname": "获得积分",
"remark": "",
"pk": false,
"notNull": false,
"autoIncrement": false,
"defaultValue": ""
},
{
"name": "cost",
"type": "DECIMAL UNSIGNED_8_2",
"chnname": "成本价",
"remark": "",
"pk": false,
"notNull": false,
"autoIncrement": false,
"defaultValue": ""
},
{
"name": "is_seckill",
"type": "TINYINT UNSIGNED_1",
"chnname": "秒杀状态 0 未开启 1已开启",
"remark": "",
"pk": false,
"notNull": false,
"autoIncrement": false,
"defaultValue": ""
},
{
"name": "is_bargain",
"type": "TINYINT UNSIGNED_1",
"chnname": "砍价状态 0未开启 1开启",
"remark": "",
"pk": false,
"notNull": false,
"autoIncrement": false,
"defaultValue": ""
},
{
"name": "is_good",
"type": "BIT_1",
"chnname": "是否优品推荐",
"remark": "",
"pk": false,
"notNull": false,
"autoIncrement": false,
"defaultValue": ""
},
{
"name": "ficti",
"type": "MEDIUMINT_7",
"chnname": "虚拟销量",
"remark": "",
"pk": false,
"notNull": false,
"autoIncrement": false,
"defaultValue": ""
},
{
"name": "browse",
"type": "INT_10",
"chnname": "浏览量",
"remark": "",
"pk": false,
"notNull": false,
"autoIncrement": false,
"defaultValue": ""
},
{
"name": "code_path",
"type": "VARCHAR_64",
"chnname": "产品二维码地址(用户小程序海报)",
"remark": "",
"pk": false,
"notNull": true,
"autoIncrement": false,
"defaultValue": ""
},
{
"name": "is_sub",
"type": "BIT_1",
"chnname": "是否单独分佣",
"remark": "",
"pk": false,
"notNull": false,
"autoIncrement": false,
"defaultValue": ""
},
{
"name": "temp_id",
"type": "INT_10",
"chnname": "运费模板ID",
"remark": "",
"pk": false,
"notNull": false,
"autoIncrement": false,
"defaultValue": ""
},
{
"name": "spec_type",
"type": "BIT_1",
"chnname": "规格 0单 1多",
"remark": "",
"pk": false,
"notNull": false,
"autoIncrement": false,
"defaultValue": ""
}
]
},
{
"title": "yx_store_product_rule",
"chnname": "商品规则值(规格)表",
"fields": [
{
"name": "id",
"type": "INT_10",
"chnname": "",
"remark": "",
"pk": true,
"notNull": true,
"autoIncrement": true,
"defaultValue": ""
},
{
"name": "rule_name",
"type": "VARCHAR_32",
"chnname": "规格名称",
"remark": "",
"pk": false,
"notNull": true,
"autoIncrement": false,
"defaultValue": ""
},
{
"name": "rule_value",
"type": "JSON",
"chnname": "规格值",
"remark": "",
"pk": false,
"notNull": true,
"autoIncrement": false,
"defaultValue": ""
},
{
"name": "create_time",
"type": "DATETIME",
"chnname": "",
"remark": "",
"pk": false,
"notNull": false,
"autoIncrement": false,
"defaultValue": ""
},
{
"name": "update_time",
"type": "DATETIME",
"chnname": "",
"remark": "",
"pk": false,
"notNull": false,
"autoIncrement": false,
"defaultValue": ""
},
{
"name": "is_del",
"type": "BIT_1",
"chnname": "",
"remark": "",
"pk": false,
"notNull": false,
"autoIncrement": false,
"defaultValue": ""
}
]
}
],
"graphCanvas": {
"nodes": [
{
"shape": "table",
"title": "yx_store_product",
"moduleName": false,
"x": 390,
"y": 410,
"id": "1f2a5f58"
},
{
"shape": "table",
"title": "yx_store_product_attr",
"moduleName": false,
"x": 970,
"y": 60,
"id": "8d021563"
},
{
"shape": "table",
"title": "yx_store_product_attr_value",
"moduleName": false,
"x": 1090,
"y": 360,
"id": "65395cd5"
},
{
"shape": "table",
"title": "yx_store_product_attr_result",
"moduleName": false,
"x": 1020,
"y": 660,
"id": "f65fda56"
}
],
"edges": [
{
"shape": "erdRelation",
"relation": "0,n:1",
"source": "8d021563",
"target": "1f2a5f58",
"id": "8a5b631d",
"controlPoints": [
{
"x": 814.5400390625,
"y": 62.52272727272727
},
{
"x": 698.1318359375,
"y": 42.0462962962963
}
],
"sourceAnchor": 2,
"targetAnchor": 1
},
{
"shape": "erdRelation",
"relation": "0,n:1",
"source": "65395cd5",
"target": "1f2a5f58",
"id": "b3c471e9",
"controlPoints": [
{
"x": 818.958984375,
"y": 252.17424242424244
},
{
"x": 698.1318359375,
"y": 42.0462962962963
}
],
"sourceAnchor": 2,
"targetAnchor": 1
},
{
"shape": "erdRelation",
"relation": "0,n:1",
"source": "65395cd5",
"target": "8d021563",
"id": "76f261e2",
"controlPoints": [
{
"x": 818.958984375,
"y": 272.2348484848485
},
{
"x": 750,
"y": 240
},
{
"x": 814.5400390625,
"y": 82.70454545454545
}
],
"sourceAnchor": 4,
"targetAnchor": 4
}
]
},
"associations": [
{
"relation": "0,n:1",
"from": {
"entity": "yx_store_product_attr",
"field": "product_id"
},
"to": {
"entity": "yx_store_product",
"field": "id"
}
},
{
"relation": "0,n:1",
"from": {
"entity": "yx_store_product_attr_value",
"field": "product_id"
},
"to": {
"entity": "yx_store_product",
"field": "id"
}
},
{
"relation": "0,n:1",
"from": {
"entity": "yx_store_product_attr_value",
"field": "sku"
},
"to": {
"entity": "yx_store_product_attr",
"field": "attr_name"
}
}
]
},
{
"name": "shop",
"chnname": "商户模块",
"entities": [
{
"title": "yx_material_group",
"chnname": "素材分组",
"fields": [
{
"name": "id",
"type": "VARCHAR_32",
"chnname": "PK",
"remark": "",
"pk": true,
"notNull": true,
"autoIncrement": false,
"defaultValue": ""
},
{
"name": "create_time",
"type": "DATETIME",
"chnname": "创建时间",
"remark": "",
"pk": false,
"notNull": true,
"autoIncrement": false,
"defaultValue": ""
},
{
"name": "create_id",
"type": "VARCHAR_32",
"chnname": "创建者ID",
"remark": "",
"pk": false,
"notNull": false,
"autoIncrement": false,
"defaultValue": ""
},
{
"name": "name",
"type": "VARCHAR_200",
"chnname": "分组名",
"remark": "",
"pk": false,
"notNull": true,
"autoIncrement": false,
"defaultValue": ""
},
{
"name": "update_time",
"type": "DATETIME",
"chnname": "",
"remark": "",
"pk": false,
"notNull": false,
"autoIncrement": false,
"defaultValue": ""
},
{
"name": "is_del",
"type": "BIT_1",
"chnname": "",
"remark": "",
"pk": false,
"notNull": false,
"autoIncrement": false,
"defaultValue": ""
}
]
},
{
"title": "yx_system_attachment",
"chnname": "附件管理表",
"fields": [
{
"name": "att_id",
"type": "BIGINT_19",
"chnname": "",
"remark": "",
"pk": true,
"notNull": true,
"autoIncrement": true,
"defaultValue": ""
},
{
"name": "name",
"type": "VARCHAR_100",
"chnname": "附件名称",
"remark": "",
"pk": false,
"notNull": true,
"autoIncrement": false,
"defaultValue": ""
},
{
"name": "att_dir",
"type": "VARCHAR_200",
"chnname": "附件路径",
"remark": "",
"pk": false,
"notNull": true,
"autoIncrement": false,
"defaultValue": ""
},
{
"name": "satt_dir",
"type": "VARCHAR_200",
"chnname": "压缩图片路径",
"remark": "",
"pk": false,
"notNull": false,
"autoIncrement": false,
"defaultValue": ""
},
{
"name": "att_size",
"type": "CHAR_30",
"chnname": "附件大小",
"remark": "",
"pk": false,
"notNull": true,
"autoIncrement": false,
"defaultValue": ""
},
{
"name": "att_type",
"type": "CHAR_30",
"chnname": "附件类型",
"remark": "",
"pk": false,
"notNull": true,
"autoIncrement": false,
"defaultValue": ""
},
{
"name": "pid",
"type": "INT_10",
"chnname": "分类ID0编辑器,1产品图片,2拼团图片,3砍价图片,4秒杀图片,5文章图片,6组合数据图",
"remark": "",
"pk": false,
"notNull": true,
"autoIncrement": false,
"defaultValue": ""
},
{
"name": "image_type",
"type": "TINYINT UNSIGNED_1",
"chnname": "图片上传类型 1本地 2七牛云 3OSS 4COS ",
"remark": "",
"pk": false,
"notNull": true,
"autoIncrement": false,
"defaultValue": ""
},
{
"name": "module_type",
"type": "TINYINT UNSIGNED_1",
"chnname": "图片上传模块类型 1 后台上传 2 用户生成",
"remark": "",
"pk": false,
"notNull": true,
"autoIncrement": false,
"defaultValue": ""
},
{
"name": "uid",
"type": "BIGINT UNSIGNED_20",
"chnname": "用户id",
"remark": "",
"pk": false,
"notNull": false,
"autoIncrement": false,
"defaultValue": ""
},
{
"name": "invite_code",
"type": "VARCHAR_50",
"chnname": "邀请码",
"remark": "",
"pk": false,
"notNull": false,
"autoIncrement": false,
"defaultValue": ""
},
{
"name": "create_time",
"type": "DATETIME",
"chnname": "",
"remark": "",
"pk": false,
"notNull": false,
"autoIncrement": false,
"defaultValue": ""
},
{
"name": "update_time",
"type": "DATETIME",
"chnname": "",
"remark": "",
"pk": false,
"notNull": false,
"autoIncrement": false,
"defaultValue": ""
},
{
"name": "is_del",
"type": "BIT_1",
"chnname": "",
"remark": "",
"pk": false,
"notNull": false,
"autoIncrement": false,
"defaultValue": ""
}
]
},
{
"title": "yx_system_config",
"chnname": "配置表",
"fields": [
{
"name": "id",
"type": "INT UNSIGNED_10",
"chnname": "配置id",
"remark": "",
"pk": true,
"notNull": true,
"autoIncrement": true,
"defaultValue": ""
},
{
"name": "menu_name",
"type": "VARCHAR_255",
"chnname": "字段名称",
"remark": "",
"pk": false,
"notNull": true,
"autoIncrement": false,
"defaultValue": ""
},
{
"name": "value",
"type": "VARCHAR_5000",
"chnname": "默认值",
"remark": "",
"pk": false,
"notNull": false,
"autoIncrement": false,
"defaultValue": ""
},
{
"name": "sort",
"type": "INT UNSIGNED_10",
"chnname": "排序",
"remark": "",
"pk": false,
"notNull": false,
"autoIncrement": false,
"defaultValue": ""
},
{
"name": "status",
"type": "TINYINT UNSIGNED_1",
"chnname": "是否隐藏",
"remark": "",
"pk": false,
"notNull": false,
"autoIncrement": false,
"defaultValue": ""
}
]
},
{
"title": "yx_system_group_data",
"chnname": "组合数据详情表",
"fields": [
{
"name": "id",
"type": "INT_10",
"chnname": "组合数据详情ID",
"remark": "",
"pk": true,
"notNull": true,
"autoIncrement": true,
"defaultValue": ""
},
{
"name": "group_name",
"type": "VARCHAR_100",
"chnname": "对应的数据名称",
"remark": "",
"pk": false,
"notNull": true,
"autoIncrement": false,
"defaultValue": ""
},
{
"name": "value",
"type": "TEXT",
"chnname": "数据组对应的数据值(json数据)",
"remark": "",
"pk": false,
"notNull": true,
"autoIncrement": false,
"defaultValue": ""
},
{
"name": "create_time",
"type": "DATETIME",
"chnname": "添加数据时间",
"remark": "",
"pk": false,
"notNull": false,
"autoIncrement": false,
"defaultValue": ""
},
{
"name": "update_time",
"type": "DATETIME",
"chnname": "",
"remark": "",
"pk": false,
"notNull": false,
"autoIncrement": false,
"defaultValue": ""
},
{
"name": "sort",
"type": "INT_10",
"chnname": "数据排序",
"remark": "",
"pk": false,
"notNull": false,
"autoIncrement": false,
"defaultValue": ""
},
{
"name": "status",
"type": "BIT_1",
"chnname": "状态(1:开启;2:关闭;)",
"remark": "",
"pk": false,
"notNull": true,
"autoIncrement": false,
"defaultValue": ""
},
{
"name": "is_del",
"type": "BIT_1",
"chnname": "",
"remark": "",
"pk": false,
"notNull": false,
"autoIncrement": false,
"defaultValue": ""
}
]
},
{
"title": "yx_system_store",
"chnname": "门店自提",
"fields": [
{
"name": "id",
"type": "INT UNSIGNED_10",
"chnname": "",
"remark": "",
"pk": true,
"notNull": true,
"autoIncrement": true,
"defaultValue": ""
},
{
"name": "name",
"type": "VARCHAR_100",
"chnname": "门店名称",
"remark": "",
"pk": false,
"notNull": true,
"autoIncrement": false,
"defaultValue": ""
},
{
"name": "introduction",
"type": "VARCHAR_1000",
"chnname": "简介",
"remark": "",
"pk": false,
"notNull": true,
"autoIncrement": false,
"defaultValue": ""
},
{
"name": "phone",
"type": "CHAR_25",
"chnname": "手机号码",
"remark": "",
"pk": false,
"notNull": true,
"autoIncrement": false,
"defaultValue": ""
},
{
"name": "address",
"type": "VARCHAR_255",
"chnname": "省市区",
"remark": "",
"pk": false,
"notNull": true,
"autoIncrement": false,
"defaultValue": ""
},
{
"name": "detailed_address",
"type": "VARCHAR_255",
"chnname": "详细地址",
"remark": "",
"pk": false,
"notNull": true,
"autoIncrement": false,
"defaultValue": ""
},
{
"name": "image",
"type": "VARCHAR_255",
"chnname": "门店logo",
"remark": "",
"pk": false,
"notNull": true,
"autoIncrement": false,
"defaultValue": ""
},
{
"name": "latitude",
"type": "CHAR_25",
"chnname": "纬度",
"remark": "",
"pk": false,
"notNull": true,
"autoIncrement": false,
"defaultValue": ""
},
{
"name": "longitude",
"type": "CHAR_25",
"chnname": "经度",
"remark": "",
"pk": false,
"notNull": true,
"autoIncrement": false,
"defaultValue": ""
},
{
"name": "valid_time",
"type": "VARCHAR_100",
"chnname": "核销有效日期",
"remark": "",
"pk": false,
"notNull": true,
"autoIncrement": false,
"defaultValue": ""
},
{
"name": "day_time",
"type": "VARCHAR_100",
"chnname": "每日营业开关时间",
"remark": "",
"pk": false,
"notNull": true,
"autoIncrement": false,
"defaultValue": ""
},
{
"name": "create_time",
"type": "DATETIME",
"chnname": "添加时间",
"remark": "",
"pk": false,
"notNull": true,
"autoIncrement": false,
"defaultValue": ""
},
{
"name": "update_time",
"type": "DATETIME",
"chnname": "",
"remark": "",
"pk": false,
"notNull": false,
"autoIncrement": false,
"defaultValue": ""
},
{
"name": "is_show",
"type": "BIT_1",
"chnname": "是否显示",
"remark": "",
"pk": false,
"notNull": true,
"autoIncrement": false,
"defaultValue": ""
},
{
"name": "is_del",
"type": "BIT_1",
"chnname": "是否删除",
"remark": "",
"pk": false,
"notNull": true,
"autoIncrement": false,
"defaultValue": ""
},
{
"name": "day_time_end",
"type": "DATETIME",
"chnname": "",
"remark": "",
"pk": false,
"notNull": false,
"autoIncrement": false,
"defaultValue": ""
},
{
"name": "day_time_start",
"type": "DATETIME",
"chnname": "",
"remark": "",
"pk": false,
"notNull": false,
"autoIncrement": false,
"defaultValue": ""
},
{
"name": "valid_time_end",
"type": "DATETIME",
"chnname": "",
"remark": "",
"pk": false,
"notNull": false,
"autoIncrement": false,
"defaultValue": ""
},
{
"name": "valid_time_start",
"type": "DATETIME",
"chnname": "",
"remark": "",
"pk": false,
"notNull": false,
"autoIncrement": false,
"defaultValue": ""
}
]
},
{
"title": "yx_system_store_staff",
"chnname": "门店店员表",
"fields": [
{
"name": "id",
"type": "INT UNSIGNED_10",
"chnname": "",
"remark": "",
"pk": true,
"notNull": true,
"autoIncrement": true,
"defaultValue": ""
},
{
"name": "uid",
"type": "BIGINT UNSIGNED_20",
"chnname": "微信用户id",
"remark": "",
"pk": false,
"notNull": true,
"autoIncrement": false,
"defaultValue": ""
},
{
"name": "nickname",
"type": "VARCHAR_50",
"chnname": "",
"remark": "",
"pk": false,
"notNull": true,
"autoIncrement": false,
"defaultValue": ""
},
{
"name": "avatar",
"type": "VARCHAR_255",
"chnname": "店员头像",
"remark": "",
"pk": false,
"notNull": true,
"autoIncrement": false,
"defaultValue": ""
},
{
"name": "store_id",
"type": "INT_10",
"chnname": "门店id",
"remark": "",
"pk": false,
"notNull": true,
"autoIncrement": false,
"defaultValue": ""
},
{
"name": "store_name",
"type": "VARCHAR_50",
"chnname": "",
"remark": "",
"pk": false,
"notNull": false,
"autoIncrement": false,
"defaultValue": ""
},
{
"name": "staff_name",
"type": "VARCHAR_64",
"chnname": "店员名称",
"remark": "",
"pk": false,
"notNull": false,
"autoIncrement": false,
"defaultValue": ""
},
{
"name": "phone",
"type": "CHAR_15",
"chnname": "手机号码",
"remark": "",
"pk": false,
"notNull": false,
"autoIncrement": false,
"defaultValue": ""
},
{
"name": "verify_status",
"type": "TINYINT_3",
"chnname": "核销开关",
"remark": "",
"pk": false,
"notNull": true,
"autoIncrement": false,
"defaultValue": ""
},
{
"name": "status",
"type": "TINYINT_3",
"chnname": "状态",
"remark": "",
"pk": false,
"notNull": false,
"autoIncrement": false,
"defaultValue": ""
},
{
"name": "create_time",
"type": "DATETIME",
"chnname": "添加时间",
"remark": "",
"pk": false,
"notNull": false,
"autoIncrement": false,
"defaultValue": ""
},
{
"name": "update_time",
"type": "DATETIME",
"chnname": "",
"remark": "",
"pk": false,
"notNull": false,
"autoIncrement": false,
"defaultValue": ""
},
{
"name": "is_del",
"type": "BIT_1",
"chnname": "",
"remark": "",
"pk": false,
"notNull": false,
"autoIncrement": false,
"defaultValue": ""
}
]
},
{
"title": "yx_system_user_level",
"chnname": "设置用户等级表",
"fields": [
{
"name": "id",
"type": "INT_10",
"chnname": "",
"remark": "",
"pk": true,
"notNull": true,
"autoIncrement": true,
"defaultValue": ""
},
{
"name": "mer_id",
"type": "INT_10",
"chnname": "商户id",
"remark": "",
"pk": false,
"notNull": true,
"autoIncrement": false,
"defaultValue": ""
},
{
"name": "name",
"type": "VARCHAR_255",
"chnname": "会员名称",
"remark": "",
"pk": false,
"notNull": true,
"autoIncrement": false,
"defaultValue": ""
},
{
"name": "money",
"type": "DECIMAL_8_2",
"chnname": "购买金额",
"remark": "",
"pk": false,
"notNull": true,
"autoIncrement": false,
"defaultValue": ""
},
{
"name": "valid_date",
"type": "INT_10",
"chnname": "有效时间",
"remark": "",
"pk": false,
"notNull": true,
"autoIncrement": false,
"defaultValue": ""
},
{
"name": "is_forever",
"type": "BIT_1",
"chnname": "是否为永久会员",
"remark": "",
"pk": false,
"notNull": true,
"autoIncrement": false,
"defaultValue": ""
},
{
"name": "is_pay",
"type": "BIT_1",
"chnname": "是否购买,1=购买,0=不购买",
"remark": "",
"pk": false,
"notNull": true,
"autoIncrement": false,
"defaultValue": ""
},
{
"name": "is_show",
"type": "BIT_1",
"chnname": "是否显示 1=显示,0=隐藏",
"remark": "",
"pk": false,
"notNull": true,
"autoIncrement": false,
"defaultValue": ""
},
{
"name": "grade",
"type": "INT_10",
"chnname": "会员等级",
"remark": "",
"pk": false,
"notNull": true,
"autoIncrement": false,
"defaultValue": ""
},
{
"name": "discount",
"type": "DECIMAL_8_2",
"chnname": "享受折扣",
"remark": "",
"pk": false,
"notNull": true,
"autoIncrement": false,
"defaultValue": ""
},
{
"name": "image",
"type": "VARCHAR_255",
"chnname": "会员卡背景",
"remark": "",
"pk": false,
"notNull": true,
"autoIncrement": false,
"defaultValue": ""
},
{
"name": "icon",
"type": "VARCHAR_255",
"chnname": "会员图标",
"remark": "",
"pk": false,
"notNull": true,
"autoIncrement": false,
"defaultValue": ""
},
{
"name": "explain",
"type": "TEXT",
"chnname": "说明",
"remark": "",
"pk": false,
"notNull": true,
"autoIncrement": false,
"defaultValue": ""
},
{
"name": "create_time",
"type": "DATETIME",
"chnname": "添加时间",
"remark": "",
"pk": false,
"notNull": true,
"autoIncrement": false,
"defaultValue": ""
},
{
"name": "update_time",
"type": "DATETIME",
"chnname": "",
"remark": "",
"pk": false,
"notNull": false,
"autoIncrement": false,
"defaultValue": ""
},
{
"name": "is_del",
"type": "BIT_1",
"chnname": "是否删除.1=删除,0=未删除",
"remark": "",
"pk": false,
"notNull": true,
"autoIncrement": false,
"defaultValue": ""
}
]
},
{
"title": "yx_material",
"chnname": "素材库",
"fields": [
{
"name": "id",
"type": "VARCHAR_32",
"chnname": "PK",
"remark": "",
"pk": true,
"notNull": true,
"autoIncrement": false,
"defaultValue": ""
},
{
"name": "create_time",
"type": "DATETIME",
"chnname": "创建时间",
"remark": "",
"pk": false,
"notNull": true,
"autoIncrement": false,
"defaultValue": ""
},
{
"name": "create_id",
"type": "VARCHAR_100",
"chnname": "创建者ID",
"remark": "",
"pk": false,
"notNull": false,
"autoIncrement": false,
"defaultValue": ""
},
{
"name": "type",
"type": "CHAR_2",
"chnname": "类型1、图片;2、视频",
"remark": "",
"pk": false,
"notNull": true,
"autoIncrement": false,
"defaultValue": ""
},
{
"name": "group_id",
"type": "VARCHAR_32",
"chnname": "分组ID",
"remark": "",
"pk": false,
"notNull": false,
"autoIncrement": false,
"defaultValue": ""
},
{
"name": "name",
"type": "VARCHAR_200",
"chnname": "素材名",
"remark": "",
"pk": false,
"notNull": true,
"autoIncrement": false,
"defaultValue": ""
},
{
"name": "url",
"type": "VARCHAR_500",
"chnname": "素材链接",
"remark": "",
"pk": false,
"notNull": false,
"autoIncrement": false,
"defaultValue": ""
},
{
"name": "update_time",
"type": "DATETIME",
"chnname": "",
"remark": "",
"pk": false,
"notNull": false,
"autoIncrement": false,
"defaultValue": ""
},
{
"name": "is_del",
"type": "BIT_1",
"chnname": "",
"remark": "",
"pk": false,
"notNull": false,
"autoIncrement": false,
"defaultValue": ""
}
]
}
],
"graphCanvas": {
"nodes": [
{
"shape": "table",
"title": "yx_material",
"moduleName": false,
"x": 442.359375,
"y": 277,
"id": "fe721315"
},
{
"shape": "table",
"title": "yx_material_group",
"moduleName": false,
"x": 887.359375,
"y": 279,
"id": "f3be72cb"
},
{
"shape": "table",
"title": "yx_system_store",
"moduleName": false,
"x": 326.359375,
"y": 624,
"id": "396a35b0"
},
{
"shape": "table",
"title": "yx_system_store_staff",
"moduleName": false,
"x": 870,
"y": 590,
"id": "c3935d4a"
}
],
"edges": [
{
"shape": "erdRelation",
"relation": "0,n:1",
"source": "fe721315",
"target": "f3be72cb",
"id": "e1f3d02d",
"controlPoints": [
{
"x": 623.05859375,
"y": 283.9775132275132
},
{
"x": 743.333984375,
"y": 241.25
}
],
"sourceAnchor": 9,
"targetAnchor": 0
},
{
"shape": "erdRelation",
"relation": "0,n:1",
"source": "c3935d4a",
"target": "396a35b0",
"id": "5bfc667b",
"controlPoints": [
{
"x": 699.7900390625,
"y": 558.5457559681697
},
{
"x": 517.833984375,
"y": 456.0914634146342
}
],
"sourceAnchor": 8,
"targetAnchor": 1
}
]
},
"associations": [
{
"relation": "0,n:1",
"from": {
"entity": "yx_material",
"field": "group_id"
},
"to": {
"entity": "yx_material_group",
"field": "id"
}
},
{
"relation": "0,n:1",
"from": {
"entity": "yx_system_store_staff",
"field": "store_id"
},
"to": {
"entity": "yx_system_store",
"field": "id"
}
}
]
},
{
"name": "template",
"chnname": "运费模板",
"entities": [
{
"title": "yx_shipping_templates",
"chnname": "运费模板表",
"fields": [
{
"name": "id",
"type": "INT UNSIGNED_10",
"chnname": "模板ID",
"remark": "",
"pk": true,
"notNull": true,
"autoIncrement": true,
"defaultValue": ""
},
{
"name": "name",
"type": "VARCHAR_255",
"chnname": "模板名称",
"remark": "",
"pk": false,
"notNull": false,
"autoIncrement": false,
"defaultValue": ""
},
{
"name": "type",
"type": "BIT_1",
"chnname": "计费方式",
"remark": "",
"pk": false,
"notNull": false,
"autoIncrement": false,
"defaultValue": ""
},
{
"name": "region_info",
"type": "TEXT",
"chnname": "地域以及费用",
"remark": "",
"pk": false,
"notNull": false,
"autoIncrement": false,
"defaultValue": ""
},
{
"name": "appoint",
"type": "BIT_1",
"chnname": "指定包邮开关",
"remark": "",
"pk": false,
"notNull": false,
"autoIncrement": false,
"defaultValue": ""
},
{
"name": "appoint_info",
"type": "TEXT",
"chnname": "指定包邮内容",
"remark": "",
"pk": false,
"notNull": false,
"autoIncrement": false,
"defaultValue": ""
},
{
"name": "create_time",
"type": "DATETIME",
"chnname": "添加时间",
"remark": "",
"pk": false,
"notNull": false,
"autoIncrement": false,
"defaultValue": ""
},
{
"name": "update_time",
"type": "DATETIME",
"chnname": "",
"remark": "",
"pk": false,
"notNull": false,
"autoIncrement": false,
"defaultValue": ""
},
{
"name": "is_del",
"type": "BIT_1",
"chnname": "",
"remark": "",
"pk": false,
"notNull": false,
"autoIncrement": false,
"defaultValue": ""
},
{
"name": "sort",
"type": "INT_10",
"chnname": "排序",
"remark": "",
"pk": false,
"notNull": false,
"autoIncrement": false,
"defaultValue": ""
}
]
},
{
"title": "yx_shipping_templates_free",
"chnname": "",
"fields": [
{
"name": "id",
"type": "INT_10",
"chnname": "编号",
"remark": "",
"pk": true,
"notNull": true,
"autoIncrement": true,
"defaultValue": ""
},
{
"name": "province_id",
"type": "INT_10",
"chnname": "省ID",
"remark": "",
"pk": false,
"notNull": true,
"autoIncrement": false,
"defaultValue": ""
},
{
"name": "temp_id",
"type": "INT_10",
"chnname": "模板ID",
"remark": "",
"pk": false,
"notNull": true,
"autoIncrement": false,
"defaultValue": ""
},
{
"name": "city_id",
"type": "INT_10",
"chnname": "城市ID",
"remark": "",
"pk": false,
"notNull": true,
"autoIncrement": false,
"defaultValue": ""
},
{
"name": "number",
"type": "DECIMAL_10_2",
"chnname": "包邮件数",
"remark": "",
"pk": false,
"notNull": true,
"autoIncrement": false,
"defaultValue": ""
},
{
"name": "price",
"type": "DECIMAL_10_2",
"chnname": "包邮金额",
"remark": "",
"pk": false,
"notNull": true,
"autoIncrement": false,
"defaultValue": ""
},
{
"name": "type",
"type": "BIT_1",
"chnname": "计费方式",
"remark": "",
"pk": false,
"notNull": true,
"autoIncrement": false,
"defaultValue": ""
},
{
"name": "uniqid",
"type": "VARCHAR_32",
"chnname": "分组唯一值",
"remark": "",
"pk": false,
"notNull": true,
"autoIncrement": false,
"defaultValue": ""
}
]
},
{
"title": "yx_system_city",
"chnname": "城市表",
"fields": [
{
"name": "id",
"type": "INT_10",
"chnname": "",
"remark": "",
"pk": true,
"notNull": true,
"autoIncrement": true,
"defaultValue": ""
},
{
"name": "city_id",
"type": "INT_10",
"chnname": "城市id",
"remark": "",
"pk": false,
"notNull": true,
"autoIncrement": false,
"defaultValue": ""
},
{
"name": "level",
"type": "INT_10",
"chnname": "省市级别",
"remark": "",
"pk": false,
"notNull": true,
"autoIncrement": false,
"defaultValue": ""
},
{
"name": "parent_id",
"type": "INT_10",
"chnname": "父级id",
"remark": "",
"pk": false,
"notNull": true,
"autoIncrement": false,
"defaultValue": ""
},
{
"name": "area_code",
"type": "VARCHAR_30",
"chnname": "区号",
"remark": "",
"pk": false,
"notNull": true,
"autoIncrement": false,
"defaultValue": ""
},
{
"name": "name",
"type": "VARCHAR_100",
"chnname": "名称",
"remark": "",
"pk": false,
"notNull": true,
"autoIncrement": false,
"defaultValue": ""
},
{
"name": "merger_name",
"type": "VARCHAR_255",
"chnname": "合并名称",
"remark": "",
"pk": false,
"notNull": true,
"autoIncrement": false,
"defaultValue": ""
},
{
"name": "lng",
"type": "VARCHAR_50",
"chnname": "经度",
"remark": "",
"pk": false,
"notNull": true,
"autoIncrement": false,
"defaultValue": ""
},
{
"name": "lat",
"type": "VARCHAR_50",
"chnname": "纬度",
"remark": "",
"pk": false,
"notNull": true,
"autoIncrement": false,
"defaultValue": ""
},
{
"name": "is_show",
"type": "BIT_1",
"chnname": "是否展示",
"remark": "",
"pk": false,
"notNull": true,
"autoIncrement": false,
"defaultValue": ""
}
]
},
{
"title": "yx_shipping_templates_region",
"chnname": "",
"fields": [
{
"name": "id",
"type": "INT_10",
"chnname": "编号",
"remark": "",
"pk": true,
"notNull": true,
"autoIncrement": true,
"defaultValue": ""
},
{
"name": "province_id",
"type": "INT_10",
"chnname": "省ID",
"remark": "",
"pk": false,
"notNull": true,
"autoIncrement": false,
"defaultValue": ""
},
{
"name": "temp_id",
"type": "INT_10",
"chnname": "模板ID",
"remark": "",
"pk": false,
"notNull": true,
"autoIncrement": false,
"defaultValue": ""
},
{
"name": "city_id",
"type": "INT_10",
"chnname": "城市ID",
"remark": "",
"pk": false,
"notNull": true,
"autoIncrement": false,
"defaultValue": ""
},
{
"name": "first",
"type": "DECIMAL_10_2",
"chnname": "首件",
"remark": "",
"pk": false,
"notNull": true,
"autoIncrement": false,
"defaultValue": ""
},
{
"name": "first_price",
"type": "DECIMAL_10_2",
"chnname": "首件运费",
"remark": "",
"pk": false,
"notNull": true,
"autoIncrement": false,
"defaultValue": ""
},
{
"name": "continues",
"type": "DECIMAL_10_2",
"chnname": "续件",
"remark": "",
"pk": false,
"notNull": true,
"autoIncrement": false,
"defaultValue": ""
},
{
"name": "continue_price",
"type": "DECIMAL_10_2",
"chnname": "续件运费",
"remark": "",
"pk": false,
"notNull": true,
"autoIncrement": false,
"defaultValue": ""
},
{
"name": "type",
"type": "BIT_1",
"chnname": "计费方式",
"remark": "",
"pk": false,
"notNull": true,
"autoIncrement": false,
"defaultValue": ""
},
{
"name": "uniqid",
"type": "VARCHAR_50",
"chnname": "分组唯一值",
"remark": "",
"pk": false,
"notNull": true,
"autoIncrement": false,
"defaultValue": ""
}
]
}
],
"graphCanvas": {
"nodes": [
{
"shape": "table",
"title": "yx_shipping_templates",
"moduleName": false,
"x": 680,
"y": 380,
"id": "c8177992"
},
{
"shape": "table",
"title": "yx_system_city",
"moduleName": false,
"x": 290,
"y": 260,
"id": "f3f8204a"
},
{
"shape": "table",
"title": "yx_shipping_templates_free",
"moduleName": false,
"x": 1080,
"y": 190,
"id": "ac873dd5"
},
{
"shape": "table",
"title": "yx_shipping_templates_region",
"moduleName": false,
"x": 1080,
"y": 540,
"id": "7ca63a1e"
}
],
"edges": []
},
"associations": []
},
{
"name": "user",
"chnname": "用户模块",
"entities": [
{
"title": "yx_user_bill",
"chnname": "用户账单表",
"fields": [
{
"name": "id",
"type": "BIGINT UNSIGNED_20",
"chnname": "用户账单id",
"remark": "",
"pk": true,
"notNull": true,
"autoIncrement": true,
"defaultValue": ""
},
{
"name": "uid",
"type": "BIGINT UNSIGNED_20",
"chnname": "用户uid",
"remark": "",
"pk": false,
"notNull": true,
"autoIncrement": false,
"defaultValue": ""
},
{
"name": "link_id",
"type": "VARCHAR_32",
"chnname": "关联id",
"remark": "",
"pk": false,
"notNull": true,
"autoIncrement": false,
"defaultValue": ""
},
{
"name": "pm",
"type": "TINYINT UNSIGNED_1",
"chnname": "0 = 支出 1 = 获得",
"remark": "",
"pk": false,
"notNull": true,
"autoIncrement": false,
"defaultValue": ""
},
{
"name": "title",
"type": "VARCHAR_64",
"chnname": "账单标题",
"remark": "",
"pk": false,
"notNull": true,
"autoIncrement": false,
"defaultValue": ""
},
{
"name": "category",
"type": "VARCHAR_64",
"chnname": "明细种类",
"remark": "",
"pk": false,
"notNull": true,
"autoIncrement": false,
"defaultValue": ""
},
{
"name": "type",
"type": "VARCHAR_64",
"chnname": "明细类型",
"remark": "",
"pk": false,
"notNull": true,
"autoIncrement": false,
"defaultValue": ""
},
{
"name": "number",
"type": "DECIMAL UNSIGNED_8_2",
"chnname": "明细数字",
"remark": "",
"pk": false,
"notNull": true,
"autoIncrement": false,
"defaultValue": ""
},
{
"name": "balance",
"type": "DECIMAL UNSIGNED_8_2",
"chnname": "剩余",
"remark": "",
"pk": false,
"notNull": true,
"autoIncrement": false,
"defaultValue": ""
},
{
"name": "mark",
"type": "VARCHAR_512",
"chnname": "备注",
"remark": "",
"pk": false,
"notNull": true,
"autoIncrement": false,
"defaultValue": ""
},
{
"name": "create_time",
"type": "DATETIME",
"chnname": "添加时间",
"remark": "",
"pk": false,
"notNull": true,
"autoIncrement": false,
"defaultValue": ""
},
{
"name": "update_time",
"type": "DATETIME",
"chnname": "",
"remark": "",
"pk": false,
"notNull": false,
"autoIncrement": false,
"defaultValue": ""
},
{
"name": "status",
"type": "BIT_1",
"chnname": "0 = 带确定 1 = 有效 -1 = 无效",
"remark": "",
"pk": false,
"notNull": true,
"autoIncrement": false,
"defaultValue": ""
},
{
"name": "is_del",
"type": "BIT_1",
"chnname": "",
"remark": "",
"pk": false,
"notNull": false,
"autoIncrement": false,
"defaultValue": ""
}
]
},
{
"title": "yx_user_level",
"chnname": "用户等级记录表",
"fields": [
{
"name": "id",
"type": "INT_10",
"chnname": "",
"remark": "",
"pk": true,
"notNull": true,
"autoIncrement": true,
"defaultValue": ""
},
{
"name": "uid",
"type": "BIGINT_19",
"chnname": "用户uid",
"remark": "",
"pk": false,
"notNull": true,
"autoIncrement": false,
"defaultValue": ""
},
{
"name": "level_id",
"type": "INT_10",
"chnname": "等级vip",
"remark": "",
"pk": false,
"notNull": true,
"autoIncrement": false,
"defaultValue": ""
},
{
"name": "grade",
"type": "INT_10",
"chnname": "会员等级",
"remark": "",
"pk": false,
"notNull": true,
"autoIncrement": false,
"defaultValue": ""
},
{
"name": "valid_time",
"type": "INT_10",
"chnname": "过期时间",
"remark": "",
"pk": false,
"notNull": true,
"autoIncrement": false,
"defaultValue": ""
},
{
"name": "is_forever",
"type": "BIT_1",
"chnname": "是否永久",
"remark": "",
"pk": false,
"notNull": true,
"autoIncrement": false,
"defaultValue": ""
},
{
"name": "mer_id",
"type": "INT_10",
"chnname": "商户id",
"remark": "",
"pk": false,
"notNull": true,
"autoIncrement": false,
"defaultValue": ""
},
{
"name": "status",
"type": "BIT_1",
"chnname": "0:禁止,1:正常",
"remark": "",
"pk": false,
"notNull": true,
"autoIncrement": false,
"defaultValue": ""
},
{
"name": "mark",
"type": "VARCHAR_255",
"chnname": "备注",
"remark": "",
"pk": false,
"notNull": true,
"autoIncrement": false,
"defaultValue": ""
},
{
"name": "remind",
"type": "BIT_1",
"chnname": "是否已通知",
"remark": "",
"pk": false,
"notNull": true,
"autoIncrement": false,
"defaultValue": ""
},
{
"name": "is_del",
"type": "BIT_1",
"chnname": "是否删除,0=未删除,1=删除",
"remark": "",
"pk": false,
"notNull": true,
"autoIncrement": false,
"defaultValue": ""
},
{
"name": "create_time",
"type": "DATETIME",
"chnname": "添加时间",
"remark": "",
"pk": false,
"notNull": true,
"autoIncrement": false,
"defaultValue": ""
},
{
"name": "update_time",
"type": "DATETIME",
"chnname": "",
"remark": "",
"pk": false,
"notNull": false,
"autoIncrement": false,
"defaultValue": ""
},
{
"name": "discount",
"type": "INT_10",
"chnname": "享受折扣",
"remark": "",
"pk": false,
"notNull": true,
"autoIncrement": false,
"defaultValue": ""
}
]
},
{
"title": "yx_user_task_finish",
"chnname": "用户任务完成记录表",
"fields": [
{
"name": "id",
"type": "INT_10",
"chnname": "",
"remark": "",
"pk": true,
"notNull": true,
"autoIncrement": true,
"defaultValue": ""
},
{
"name": "task_id",
"type": "INT_10",
"chnname": "任务id",
"remark": "",
"pk": false,
"notNull": true,
"autoIncrement": false,
"defaultValue": ""
},
{
"name": "uid",
"type": "BIGINT_19",
"chnname": "用户id",
"remark": "",
"pk": false,
"notNull": true,
"autoIncrement": false,
"defaultValue": ""
},
{
"name": "status",
"type": "BIT_1",
"chnname": "是否有效",
"remark": "",
"pk": false,
"notNull": true,
"autoIncrement": false,
"defaultValue": ""
},
{
"name": "create_time",
"type": "DATETIME",
"chnname": "添加时间",
"remark": "",
"pk": false,
"notNull": true,
"autoIncrement": false,
"defaultValue": ""
},
{
"name": "update_time",
"type": "DATETIME",
"chnname": "",
"remark": "",
"pk": false,
"notNull": false,
"autoIncrement": false,
"defaultValue": ""
},
{
"name": "is_del",
"type": "BIT_1",
"chnname": "",
"remark": "",
"pk": false,
"notNull": false,
"autoIncrement": false,
"defaultValue": ""
}
]
},
{
"title": "yx_user_sign",
"chnname": "签到记录表",
"fields": [
{
"name": "int",
"type": "BIGINT_19",
"chnname": "",
"remark": "",
"pk": true,
"notNull": true,
"autoIncrement": true,
"defaultValue": ""
},
{
"name": "uid",
"type": "BIGINT_19",
"chnname": "用户uid",
"remark": "",
"pk": false,
"notNull": true,
"autoIncrement": false,
"defaultValue": ""
},
{
"name": "title",
"type": "VARCHAR_255",
"chnname": "签到说明",
"remark": "",
"pk": false,
"notNull": true,
"autoIncrement": false,
"defaultValue": ""
},
{
"name": "number",
"type": "INT_10",
"chnname": "获得积分",
"remark": "",
"pk": false,
"notNull": true,
"autoIncrement": false,
"defaultValue": ""
},
{
"name": "balance",
"type": "INT_10",
"chnname": "剩余积分",
"remark": "",
"pk": false,
"notNull": true,
"autoIncrement": false,
"defaultValue": ""
},
{
"name": "create_time",
"type": "DATETIME",
"chnname": "添加时间",
"remark": "",
"pk": false,
"notNull": true,
"autoIncrement": false,
"defaultValue": ""
},
{
"name": "update_time",
"type": "DATETIME",
"chnname": "",
"remark": "",
"pk": false,
"notNull": false,
"autoIncrement": false,
"defaultValue": ""
},
{
"name": "is_del",
"type": "BIT_1",
"chnname": "",
"remark": "",
"pk": false,
"notNull": false,
"autoIncrement": false,
"defaultValue": ""
}
]
},
{
"title": "yx_user_recharge",
"chnname": "用户充值表",
"fields": [
{
"name": "id",
"type": "BIGINT UNSIGNED_20",
"chnname": "",
"remark": "",
"pk": true,
"notNull": true,
"autoIncrement": true,
"defaultValue": ""
},
{
"name": "uid",
"type": "BIGINT_19",
"chnname": "充值用户UID",
"remark": "",
"pk": false,
"notNull": false,
"autoIncrement": false,
"defaultValue": ""
},
{
"name": "nickname",
"type": "VARCHAR_50",
"chnname": "",
"remark": "",
"pk": false,
"notNull": false,
"autoIncrement": false,
"defaultValue": ""
},
{
"name": "order_id",
"type": "VARCHAR_32",
"chnname": "订单号",
"remark": "",
"pk": false,
"notNull": false,
"autoIncrement": false,
"defaultValue": ""
},
{
"name": "price",
"type": "DECIMAL_8_2",
"chnname": "充值金额",
"remark": "",
"pk": false,
"notNull": false,
"autoIncrement": false,
"defaultValue": ""
},
{
"name": "give_price",
"type": "DECIMAL_8_2",
"chnname": "购买赠送金额",
"remark": "",
"pk": false,
"notNull": false,
"autoIncrement": false,
"defaultValue": ""
},
{
"name": "recharge_type",
"type": "VARCHAR_32",
"chnname": "充值类型",
"remark": "",
"pk": false,
"notNull": false,
"autoIncrement": false,
"defaultValue": ""
},
{
"name": "paid",
"type": "BIT_1",
"chnname": "是否充值",
"remark": "",
"pk": false,
"notNull": false,
"autoIncrement": false,
"defaultValue": ""
},
{
"name": "pay_time",
"type": "DATETIME",
"chnname": "充值支付时间",
"remark": "",
"pk": false,
"notNull": false,
"autoIncrement": false,
"defaultValue": ""
},
{
"name": "create_time",
"type": "DATETIME",
"chnname": "充值时间",
"remark": "",
"pk": false,
"notNull": false,
"autoIncrement": false,
"defaultValue": ""
},
{
"name": "update_time",
"type": "DATETIME",
"chnname": "",
"remark": "",
"pk": false,
"notNull": false,
"autoIncrement": false,
"defaultValue": ""
},
{
"name": "refund_price",
"type": "DECIMAL_10_2",
"chnname": "退款金额",
"remark": "",
"pk": false,
"notNull": false,
"autoIncrement": false,
"defaultValue": ""
},
{
"name": "is_del",
"type": "TINYINT_3",
"chnname": "",
"remark": "",
"pk": false,
"notNull": false,
"autoIncrement": false,
"defaultValue": ""
}
]
},
{
"title": "yx_user_address",
"chnname": "用户地址表",
"fields": [
{
"name": "id",
"type": "BIGINT UNSIGNED_20",
"chnname": "用户地址id",
"remark": "",
"pk": true,
"notNull": true,
"autoIncrement": true,
"defaultValue": ""
},
{
"name": "uid",
"type": "BIGINT UNSIGNED_20",
"chnname": "用户id",
"remark": "",
"pk": false,
"notNull": true,
"autoIncrement": false,
"defaultValue": ""
},
{
"name": "real_name",
"type": "VARCHAR_32",
"chnname": "收货人姓名",
"remark": "",
"pk": false,
"notNull": true,
"autoIncrement": false,
"defaultValue": ""
},
{
"name": "phone",
"type": "VARCHAR_16",
"chnname": "收货人电话",
"remark": "",
"pk": false,
"notNull": true,
"autoIncrement": false,
"defaultValue": ""
},
{
"name": "province",
"type": "VARCHAR_64",
"chnname": "收货人所在省",
"remark": "",
"pk": false,
"notNull": true,
"autoIncrement": false,
"defaultValue": ""
},
{
"name": "city",
"type": "VARCHAR_64",
"chnname": "收货人所在市",
"remark": "",
"pk": false,
"notNull": true,
"autoIncrement": false,
"defaultValue": ""
},
{
"name": "city_id",
"type": "INT_10",
"chnname": "",
"remark": "",
"pk": false,
"notNull": false,
"autoIncrement": false,
"defaultValue": ""
},
{
"name": "district",
"type": "VARCHAR_64",
"chnname": "收货人所在区",
"remark": "",
"pk": false,
"notNull": true,
"autoIncrement": false,
"defaultValue": ""
},
{
"name": "detail",
"type": "VARCHAR_256",
"chnname": "收货人详细地址",
"remark": "",
"pk": false,
"notNull": true,
"autoIncrement": false,
"defaultValue": ""
},
{
"name": "post_code",
"type": "VARCHAR_20",
"chnname": "邮编",
"remark": "",
"pk": false,
"notNull": true,
"autoIncrement": false,
"defaultValue": ""
},
{
"name": "longitude",
"type": "VARCHAR_16",
"chnname": "经度",
"remark": "",
"pk": false,
"notNull": true,
"autoIncrement": false,
"defaultValue": ""
},
{
"name": "latitude",
"type": "VARCHAR_16",
"chnname": "纬度",
"remark": "",
"pk": false,
"notNull": true,
"autoIncrement": false,
"defaultValue": ""
},
{
"name": "is_default",
"type": "TINYINT UNSIGNED_1",
"chnname": "是否默认",
"remark": "",
"pk": false,
"notNull": true,
"autoIncrement": false,
"defaultValue": ""
},
{
"name": "is_del",
"type": "TINYINT UNSIGNED_1",
"chnname": "是否删除",
"remark": "",
"pk": false,
"notNull": true,
"autoIncrement": false,
"defaultValue": ""
},
{
"name": "create_time",
"type": "DATETIME",
"chnname": "添加时间",
"remark": "",
"pk": false,
"notNull": true,
"autoIncrement": false,
"defaultValue": ""
},
{
"name": "update_time",
"type": "DATETIME",
"chnname": "",
"remark": "",
"pk": false,
"notNull": false,
"autoIncrement": false,
"defaultValue": ""
}
]
},
{
"title": "yx_user_group",
"chnname": "用户分组表",
"fields": [
{
"name": "id",
"type": "SMALLINT UNSIGNED_5",
"chnname": "",
"remark": "",
"pk": true,
"notNull": true,
"autoIncrement": true,
"defaultValue": ""
},
{
"name": "group_name",
"type": "VARCHAR_64",
"chnname": "用户分组名称",
"remark": "",
"pk": false,
"notNull": false,
"autoIncrement": false,
"defaultValue": ""
}
]
},
{
"title": "yx_user_extract",
"chnname": "用户提现表",
"fields": [
{
"name": "id",
"type": "BIGINT UNSIGNED_20",
"chnname": "",
"remark": "",
"pk": true,
"notNull": true,
"autoIncrement": true,
"defaultValue": ""
},
{
"name": "uid",
"type": "BIGINT UNSIGNED_20",
"chnname": "",
"remark": "",
"pk": false,
"notNull": false,
"autoIncrement": false,
"defaultValue": ""
},
{
"name": "real_name",
"type": "VARCHAR_64",
"chnname": "名称",
"remark": "",
"pk": false,
"notNull": false,
"autoIncrement": false,
"defaultValue": ""
},
{
"name": "extract_type",
"type": "VARCHAR_32",
"chnname": "bank = 银行卡 alipay = 支付宝wx=微信",
"remark": "",
"pk": false,
"notNull": false,
"autoIncrement": false,
"defaultValue": ""
},
{
"name": "bank_code",
"type": "VARCHAR_32",
"chnname": "银行卡",
"remark": "",
"pk": false,
"notNull": false,
"autoIncrement": false,
"defaultValue": ""
},
{
"name": "bank_address",
"type": "VARCHAR_256",
"chnname": "开户地址",
"remark": "",
"pk": false,
"notNull": false,
"autoIncrement": false,
"defaultValue": ""
},
{
"name": "alipay_code",
"type": "VARCHAR_64",
"chnname": "支付宝账号",
"remark": "",
"pk": false,
"notNull": false,
"autoIncrement": false,
"defaultValue": ""
},
{
"name": "extract_price",
"type": "DECIMAL UNSIGNED_8_2",
"chnname": "提现金额",
"remark": "",
"pk": false,
"notNull": false,
"autoIncrement": false,
"defaultValue": ""
},
{
"name": "mark",
"type": "VARCHAR_512",
"chnname": "",
"remark": "",
"pk": false,
"notNull": false,
"autoIncrement": false,
"defaultValue": ""
},
{
"name": "balance",
"type": "DECIMAL UNSIGNED_8_2",
"chnname": "",
"remark": "",
"pk": false,
"notNull": false,
"autoIncrement": false,
"defaultValue": ""
},
{
"name": "fail_msg",
"type": "VARCHAR_128",
"chnname": "无效原因",
"remark": "",
"pk": false,
"notNull": false,
"autoIncrement": false,
"defaultValue": ""
},
{
"name": "fail_time",
"type": "DATETIME",
"chnname": "",
"remark": "",
"pk": false,
"notNull": false,
"autoIncrement": false,
"defaultValue": ""
},
{
"name": "create_time",
"type": "DATETIME",
"chnname": "添加时间",
"remark": "",
"pk": false,
"notNull": false,
"autoIncrement": false,
"defaultValue": ""
},
{
"name": "update_time",
"type": "DATETIME",
"chnname": "",
"remark": "",
"pk": false,
"notNull": false,
"autoIncrement": false,
"defaultValue": ""
},
{
"name": "status",
"type": "TINYINT_3",
"chnname": "-1 未通过 0 审核中 1 已提现",
"remark": "",
"pk": false,
"notNull": false,
"autoIncrement": false,
"defaultValue": ""
},
{
"name": "wechat",
"type": "VARCHAR_15",
"chnname": "微信号",
"remark": "",
"pk": false,
"notNull": false,
"autoIncrement": false,
"defaultValue": ""
},
{
"name": "is_del",
"type": "BIT_1",
"chnname": "",
"remark": "",
"pk": false,
"notNull": false,
"autoIncrement": false,
"defaultValue": ""
}
]
},
{
"title": "yx_user_enter",
"chnname": "商户申请表",
"fields": [
{
"name": "id",
"type": "INT UNSIGNED_10",
"chnname": "商户申请ID",
"remark": "",
"pk": true,
"notNull": true,
"autoIncrement": true,
"defaultValue": ""
},
{
"name": "uid",
"type": "INT UNSIGNED_10",
"chnname": "用户ID",
"remark": "",
"pk": false,
"notNull": true,
"autoIncrement": false,
"defaultValue": ""
},
{
"name": "province",
"type": "VARCHAR_32",
"chnname": "商户所在省",
"remark": "",
"pk": false,
"notNull": true,
"autoIncrement": false,
"defaultValue": ""
},
{
"name": "city",
"type": "VARCHAR_32",
"chnname": "商户所在市",
"remark": "",
"pk": false,
"notNull": true,
"autoIncrement": false,
"defaultValue": ""
},
{
"name": "district",
"type": "VARCHAR_32",
"chnname": "商户所在区",
"remark": "",
"pk": false,
"notNull": true,
"autoIncrement": false,
"defaultValue": ""
},
{
"name": "address",
"type": "VARCHAR_256",
"chnname": "商户详细地址",
"remark": "",
"pk": false,
"notNull": true,
"autoIncrement": false,
"defaultValue": ""
},
{
"name": "merchant_name",
"type": "VARCHAR_256",
"chnname": "商户名称",
"remark": "",
"pk": false,
"notNull": true,
"autoIncrement": false,
"defaultValue": ""
},
{
"name": "link_user",
"type": "VARCHAR_32",
"chnname": "",
"remark": "",
"pk": false,
"notNull": true,
"autoIncrement": false,
"defaultValue": ""
},
{
"name": "link_tel",
"type": "VARCHAR_16",
"chnname": "商户电话",
"remark": "",
"pk": false,
"notNull": true,
"autoIncrement": false,
"defaultValue": ""
},
{
"name": "charter",
"type": "VARCHAR_512",
"chnname": "商户证书",
"remark": "",
"pk": false,
"notNull": true,
"autoIncrement": false,
"defaultValue": ""
},
{
"name": "add_time",
"type": "INT UNSIGNED_10",
"chnname": "添加时间",
"remark": "",
"pk": false,
"notNull": true,
"autoIncrement": false,
"defaultValue": ""
},
{
"name": "apply_time",
"type": "INT UNSIGNED_10",
"chnname": "审核时间",
"remark": "",
"pk": false,
"notNull": true,
"autoIncrement": false,
"defaultValue": ""
},
{
"name": "success_time",
"type": "INT_10",
"chnname": "通过时间",
"remark": "",
"pk": false,
"notNull": true,
"autoIncrement": false,
"defaultValue": ""
},
{
"name": "fail_message",
"type": "VARCHAR_256",
"chnname": "未通过原因",
"remark": "",
"pk": false,
"notNull": true,
"autoIncrement": false,
"defaultValue": ""
},
{
"name": "fail_time",
"type": "INT UNSIGNED_10",
"chnname": "未通过时间",
"remark": "",
"pk": false,
"notNull": true,
"autoIncrement": false,
"defaultValue": ""
},
{
"name": "status",
"type": "BIT_1",
"chnname": "-1 审核未通过 0未审核 1审核通过",
"remark": "",
"pk": false,
"notNull": true,
"autoIncrement": false,
"defaultValue": ""
},
{
"name": "is_lock",
"type": "TINYINT UNSIGNED_1",
"chnname": "0 = 开启 1= 关闭",
"remark": "",
"pk": false,
"notNull": true,
"autoIncrement": false,
"defaultValue": ""
},
{
"name": "is_del",
"type": "TINYINT UNSIGNED_1",
"chnname": "是否删除",
"remark": "",
"pk": false,
"notNull": true,
"autoIncrement": false,
"defaultValue": ""
}
]
},
{
"title": "yx_system_user_task",
"chnname": "等级任务设置",
"fields": [
{
"name": "id",
"type": "INT_10",
"chnname": "",
"remark": "",
"pk": true,
"notNull": true,
"autoIncrement": true,
"defaultValue": ""
},
{
"name": "name",
"type": "VARCHAR_255",
"chnname": "任务名称",
"remark": "",
"pk": false,
"notNull": true,
"autoIncrement": false,
"defaultValue": ""
},
{
"name": "real_name",
"type": "VARCHAR_255",
"chnname": "配置原名",
"remark": "",
"pk": false,
"notNull": true,
"autoIncrement": false,
"defaultValue": ""
},
{
"name": "task_type",
"type": "VARCHAR_50",
"chnname": "任务类型",
"remark": "",
"pk": false,
"notNull": true,
"autoIncrement": false,
"defaultValue": ""
},
{
"name": "number",
"type": "INT_10",
"chnname": "限定数",
"remark": "",
"pk": false,
"notNull": true,
"autoIncrement": false,
"defaultValue": ""
},
{
"name": "level_id",
"type": "INT_10",
"chnname": "等级id",
"remark": "",
"pk": false,
"notNull": true,
"autoIncrement": false,
"defaultValue": ""
},
{
"name": "sort",
"type": "INT_10",
"chnname": "排序",
"remark": "",
"pk": false,
"notNull": true,
"autoIncrement": false,
"defaultValue": ""
},
{
"name": "is_show",
"type": "BIT_1",
"chnname": "是否显示",
"remark": "",
"pk": false,
"notNull": true,
"autoIncrement": false,
"defaultValue": ""
},
{
"name": "is_must",
"type": "BIT_1",
"chnname": "是否务必达成任务,1务必达成,0=满足其一",
"remark": "",
"pk": false,
"notNull": true,
"autoIncrement": false,
"defaultValue": ""
},
{
"name": "illustrate",
"type": "VARCHAR_255",
"chnname": "任务说明",
"remark": "",
"pk": false,
"notNull": true,
"autoIncrement": false,
"defaultValue": ""
},
{
"name": "create_time",
"type": "DATETIME",
"chnname": "新增时间",
"remark": "",
"pk": false,
"notNull": true,
"autoIncrement": false,
"defaultValue": ""
},
{
"name": "update_time",
"type": "DATETIME",
"chnname": "",
"remark": "",
"pk": false,
"notNull": false,
"autoIncrement": false,
"defaultValue": ""
},
{
"name": "is_del",
"type": "BIT_1",
"chnname": "",
"remark": "",
"pk": false,
"notNull": false,
"autoIncrement": false,
"defaultValue": ""
}
]
},
{
"title": "yx_user",
"chnname": "用户表",
"fields": [
{
"name": "uid",
"type": "BIGINT UNSIGNED_20",
"chnname": "用户id",
"remark": "",
"pk": true,
"notNull": true,
"autoIncrement": true,
"defaultValue": ""
},
{
"name": "username",
"type": "VARCHAR_255",
"chnname": "用户账户(跟accout一样)",
"remark": "",
"pk": false,
"notNull": false,
"autoIncrement": false,
"defaultValue": ""
},
{
"name": "password",
"type": "VARCHAR_255",
"chnname": "用户密码(跟pwd)",
"remark": "",
"pk": false,
"notNull": false,
"autoIncrement": false,
"defaultValue": ""
},
{
"name": "real_name",
"type": "VARCHAR_25",
"chnname": "真实姓名",
"remark": "",
"pk": false,
"notNull": false,
"autoIncrement": false,
"defaultValue": ""
},
{
"name": "birthday",
"type": "INT_10",
"chnname": "生日",
"remark": "",
"pk": false,
"notNull": false,
"autoIncrement": false,
"defaultValue": ""
},
{
"name": "card_id",
"type": "VARCHAR_20",
"chnname": "身份证号码",
"remark": "",
"pk": false,
"notNull": false,
"autoIncrement": false,
"defaultValue": ""
},
{
"name": "mark",
"type": "VARCHAR_255",
"chnname": "用户备注",
"remark": "",
"pk": false,
"notNull": false,
"autoIncrement": false,
"defaultValue": ""
},
{
"name": "partner_id",
"type": "INT_10",
"chnname": "合伙人id",
"remark": "",
"pk": false,
"notNull": false,
"autoIncrement": false,
"defaultValue": ""
},
{
"name": "group_id",
"type": "INT_10",
"chnname": "用户分组id",
"remark": "",
"pk": false,
"notNull": false,
"autoIncrement": false,
"defaultValue": ""
},
{
"name": "nickname",
"type": "VARCHAR_100",
"chnname": "用户昵称",
"remark": "",
"pk": false,
"notNull": false,
"autoIncrement": false,
"defaultValue": ""
},
{
"name": "avatar",
"type": "VARCHAR_256",
"chnname": "用户头像",
"remark": "",
"pk": false,
"notNull": false,
"autoIncrement": false,
"defaultValue": ""
},
{
"name": "phone",
"type": "CHAR_15",
"chnname": "手机号码",
"remark": "",
"pk": false,
"notNull": false,
"autoIncrement": false,
"defaultValue": ""
},
{
"name": "add_ip",
"type": "VARCHAR_16",
"chnname": "添加ip",
"remark": "",
"pk": false,
"notNull": false,
"autoIncrement": false,
"defaultValue": ""
},
{
"name": "create_time",
"type": "DATETIME",
"chnname": "添加时间",
"remark": "",
"pk": false,
"notNull": false,
"autoIncrement": false,
"defaultValue": ""
},
{
"name": "update_time",
"type": "DATETIME",
"chnname": "最后一次登录时间",
"remark": "",
"pk": false,
"notNull": false,
"autoIncrement": false,
"defaultValue": ""
},
{
"name": "last_ip",
"type": "VARCHAR_16",
"chnname": "最后一次登录ip",
"remark": "",
"pk": false,
"notNull": false,
"autoIncrement": false,
"defaultValue": ""
},
{
"name": "now_money",
"type": "DECIMAL UNSIGNED_8_2",
"chnname": "用户余额",
"remark": "",
"pk": false,
"notNull": true,
"autoIncrement": false,
"defaultValue": ""
},
{
"name": "brokerage_price",
"type": "DECIMAL_8_2",
"chnname": "佣金金额",
"remark": "",
"pk": false,
"notNull": true,
"autoIncrement": false,
"defaultValue": ""
},
{
"name": "integral",
"type": "DECIMAL UNSIGNED_8_2",
"chnname": "用户剩余积分",
"remark": "",
"pk": false,
"notNull": true,
"autoIncrement": false,
"defaultValue": ""
},
{
"name": "sign_num",
"type": "INT_10",
"chnname": "连续签到天数",
"remark": "",
"pk": false,
"notNull": true,
"autoIncrement": false,
"defaultValue": ""
},
{
"name": "status",
"type": "BIT_1",
"chnname": "1为正常,0为禁止",
"remark": "",
"pk": false,
"notNull": true,
"autoIncrement": false,
"defaultValue": ""
},
{
"name": "level",
"type": "TINYINT UNSIGNED_3",
"chnname": "等级",
"remark": "",
"pk": false,
"notNull": true,
"autoIncrement": false,
"defaultValue": ""
},
{
"name": "spread_uid",
"type": "BIGINT UNSIGNED_20",
"chnname": "推广元id",
"remark": "",
"pk": false,
"notNull": false,
"autoIncrement": false,
"defaultValue": ""
},
{
"name": "spread_time",
"type": "DATETIME",
"chnname": "推广员关联时间",
"remark": "",
"pk": false,
"notNull": false,
"autoIncrement": false,
"defaultValue": ""
},
{
"name": "user_type",
"type": "VARCHAR_32",
"chnname": "用户类型",
"remark": "",
"pk": false,
"notNull": true,
"autoIncrement": false,
"defaultValue": ""
},
{
"name": "is_promoter",
"type": "TINYINT UNSIGNED_1",
"chnname": "是否为推广员",
"remark": "",
"pk": false,
"notNull": true,
"autoIncrement": false,
"defaultValue": ""
},
{
"name": "pay_count",
"type": "INT UNSIGNED_10",
"chnname": "用户购买次数",
"remark": "",
"pk": false,
"notNull": false,
"autoIncrement": false,
"defaultValue": ""
},
{
"name": "spread_count",
"type": "INT_10",
"chnname": "下级人数",
"remark": "",
"pk": false,
"notNull": false,
"autoIncrement": false,
"defaultValue": ""
},
{
"name": "addres",
"type": "VARCHAR_255",
"chnname": "详细地址",
"remark": "",
"pk": false,
"notNull": true,
"autoIncrement": false,
"defaultValue": ""
},
{
"name": "adminid",
"type": "INT UNSIGNED_10",
"chnname": "管理员编号 ",
"remark": "",
"pk": false,
"notNull": false,
"autoIncrement": false,
"defaultValue": ""
},
{
"name": "login_type",
"type": "VARCHAR_36",
"chnname": "用户登陆类型,h5,wechat,routine",
"remark": "",
"pk": false,
"notNull": true,
"autoIncrement": false,
"defaultValue": ""
},
{
"name": "wx_profile",
"type": "JSON",
"chnname": "微信用户json信息",
"remark": "",
"pk": false,
"notNull": false,
"autoIncrement": false,
"defaultValue": ""
},
{
"name": "is_del",
"type": "BIT_1",
"chnname": "",
"remark": "",
"pk": false,
"notNull": false,
"autoIncrement": false,
"defaultValue": ""
}
]
}
],
"graphCanvas": {
"nodes": [],
"edges": []
}
},
{
"name": "wechat",
"chnname": "微信模块",
"entities": [
{
"title": "yx_wechat_reply",
"chnname": "微信关键字回复表",
"fields": [
{
"name": "id",
"type": "MEDIUMINT UNSIGNED_8",
"chnname": "微信关键字回复id",
"remark": "",
"pk": true,
"notNull": true,
"autoIncrement": true,
"defaultValue": ""
},
{
"name": "key",
"type": "VARCHAR_64",
"chnname": "关键字",
"remark": "",
"pk": false,
"notNull": true,
"autoIncrement": false,
"defaultValue": ""
},
{
"name": "type",
"type": "VARCHAR_32",
"chnname": "回复类型",
"remark": "",
"pk": false,
"notNull": true,
"autoIncrement": false,
"defaultValue": ""
},
{
"name": "data",
"type": "TEXT",
"chnname": "回复数据",
"remark": "",
"pk": false,
"notNull": true,
"autoIncrement": false,
"defaultValue": ""
},
{
"name": "status",
"type": "TINYINT UNSIGNED_1",
"chnname": "0=不可用 1 =可用",
"remark": "",
"pk": false,
"notNull": true,
"autoIncrement": false,
"defaultValue": ""
},
{
"name": "hide",
"type": "TINYINT UNSIGNED_1",
"chnname": "是否隐藏",
"remark": "",
"pk": false,
"notNull": false,
"autoIncrement": false,
"defaultValue": ""
}
]
},
{
"title": "yx_wechat_menu",
"chnname": "微信缓存表",
"fields": [
{
"name": "key",
"type": "VARCHAR_32",
"chnname": "",
"remark": "",
"pk": true,
"notNull": true,
"autoIncrement": false,
"defaultValue": ""
},
{
"name": "result",
"type": "TEXT",
"chnname": "缓存数据",
"remark": "",
"pk": false,
"notNull": false,
"autoIncrement": false,
"defaultValue": ""
},
{
"name": "add_time",
"type": "INT_10",
"chnname": "缓存时间",
"remark": "",
"pk": false,
"notNull": false,
"autoIncrement": false,
"defaultValue": ""
}
]
},
{
"title": "yx_wechat_media",
"chnname": "微信回复表",
"fields": [
{
"name": "id",
"type": "INT UNSIGNED_10",
"chnname": "微信视频音频id",
"remark": "",
"pk": true,
"notNull": true,
"autoIncrement": true,
"defaultValue": ""
},
{
"name": "type",
"type": "VARCHAR_16",
"chnname": "回复类型",
"remark": "",
"pk": false,
"notNull": true,
"autoIncrement": false,
"defaultValue": ""
},
{
"name": "path",
"type": "VARCHAR_128",
"chnname": "文件路径",
"remark": "",
"pk": false,
"notNull": true,
"autoIncrement": false,
"defaultValue": ""
},
{
"name": "media_id",
"type": "VARCHAR_64",
"chnname": "微信服务器返回的id",
"remark": "",
"pk": false,
"notNull": true,
"autoIncrement": false,
"defaultValue": ""
},
{
"name": "url",
"type": "VARCHAR_256",
"chnname": "地址",
"remark": "",
"pk": false,
"notNull": true,
"autoIncrement": false,
"defaultValue": ""
},
{
"name": "temporary",
"type": "TINYINT UNSIGNED_1",
"chnname": "是否永久或者临时 0永久1临时",
"remark": "",
"pk": false,
"notNull": true,
"autoIncrement": false,
"defaultValue": ""
},
{
"name": "add_time",
"type": "INT UNSIGNED_10",
"chnname": "添加时间",
"remark": "",
"pk": false,
"notNull": true,
"autoIncrement": false,
"defaultValue": ""
}
]
},
{
"title": "yx_article",
"chnname": "文章管理表",
"fields": [
{
"name": "id",
"type": "INT UNSIGNED_10",
"chnname": "文章管理ID",
"remark": "",
"pk": true,
"notNull": true,
"autoIncrement": true,
"defaultValue": ""
},
{
"name": "cid",
"type": "VARCHAR_255",
"chnname": "分类id",
"remark": "",
"pk": false,
"notNull": false,
"autoIncrement": false,
"defaultValue": ""
},
{
"name": "title",
"type": "VARCHAR_255",
"chnname": "文章标题",
"remark": "",
"pk": false,
"notNull": true,
"autoIncrement": false,
"defaultValue": ""
},
{
"name": "author",
"type": "VARCHAR_255",
"chnname": "文章作者",
"remark": "",
"pk": false,
"notNull": false,
"autoIncrement": false,
"defaultValue": ""
},
{
"name": "image_input",
"type": "VARCHAR_255",
"chnname": "文章图片",
"remark": "",
"pk": false,
"notNull": true,
"autoIncrement": false,
"defaultValue": ""
},
{
"name": "synopsis",
"type": "VARCHAR_255",
"chnname": "文章简介",
"remark": "",
"pk": false,
"notNull": false,
"autoIncrement": false,
"defaultValue": ""
},
{
"name": "content",
"type": "TEXT",
"chnname": "",
"remark": "",
"pk": false,
"notNull": false,
"autoIncrement": false,
"defaultValue": ""
},
{
"name": "share_title",
"type": "VARCHAR_255",
"chnname": "文章分享标题",
"remark": "",
"pk": false,
"notNull": false,
"autoIncrement": false,
"defaultValue": ""
},
{
"name": "share_synopsis",
"type": "VARCHAR_255",
"chnname": "文章分享简介",
"remark": "",
"pk": false,
"notNull": false,
"autoIncrement": false,
"defaultValue": ""
},
{
"name": "visit",
"type": "VARCHAR_255",
"chnname": "浏览次数",
"remark": "",
"pk": false,
"notNull": false,
"autoIncrement": false,
"defaultValue": ""
},
{
"name": "sort",
"type": "INT UNSIGNED_10",
"chnname": "排序",
"remark": "",
"pk": false,
"notNull": false,
"autoIncrement": false,
"defaultValue": ""
},
{
"name": "url",
"type": "VARCHAR_255",
"chnname": "原文链接",
"remark": "",
"pk": false,
"notNull": false,
"autoIncrement": false,
"defaultValue": ""
},
{
"name": "status",
"type": "TINYINT UNSIGNED_1",
"chnname": "状态",
"remark": "",
"pk": false,
"notNull": false,
"autoIncrement": false,
"defaultValue": ""
},
{
"name": "create_time",
"type": "DATETIME",
"chnname": "添加时间",
"remark": "",
"pk": false,
"notNull": false,
"autoIncrement": false,
"defaultValue": ""
},
{
"name": "update_time",
"type": "DATETIME",
"chnname": "",
"remark": "",
"pk": false,
"notNull": false,
"autoIncrement": false,
"defaultValue": ""
},
{
"name": "is_del",
"type": "BIT_1",
"chnname": "",
"remark": "",
"pk": false,
"notNull": false,
"autoIncrement": false,
"defaultValue": ""
},
{
"name": "hide",
"type": "TINYINT UNSIGNED_1",
"chnname": "是否隐藏",
"remark": "",
"pk": false,
"notNull": false,
"autoIncrement": false,
"defaultValue": ""
},
{
"name": "admin_id",
"type": "INT UNSIGNED_10",
"chnname": "管理员id",
"remark": "",
"pk": false,
"notNull": false,
"autoIncrement": false,
"defaultValue": ""
},
{
"name": "mer_id",
"type": "INT UNSIGNED_10",
"chnname": "商户id",
"remark": "",
"pk": false,
"notNull": false,
"autoIncrement": false,
"defaultValue": ""
},
{
"name": "product_id",
"type": "INT_10",
"chnname": "产品关联id",
"remark": "",
"pk": false,
"notNull": false,
"autoIncrement": false,
"defaultValue": ""
},
{
"name": "is_hot",
"type": "TINYINT UNSIGNED_1",
"chnname": "是否热门(小程序)",
"remark": "",
"pk": false,
"notNull": false,
"autoIncrement": false,
"defaultValue": ""
},
{
"name": "is_banner",
"type": "TINYINT UNSIGNED_1",
"chnname": "是否轮播图(小程序)",
"remark": "",
"pk": false,
"notNull": false,
"autoIncrement": false,
"defaultValue": ""
}
],
"indexs": [],
"headers": [
{
"fieldName": "chnname",
"relationNoShow": false
},
{
"fieldName": "name",
"relationNoShow": false
},
{
"fieldName": "type",
"relationNoShow": false
},
{
"fieldName": "dataType",
"relationNoShow": true
},
{
"fieldName": "remark",
"relationNoShow": true
},
{
"fieldName": "pk",
"relationNoShow": false
},
{
"fieldName": "notNull",
"relationNoShow": true
},
{
"fieldName": "autoIncrement",
"relationNoShow": true
},
{
"fieldName": "defaultValue",
"relationNoShow": true
},
{
"fieldName": "relationNoShow",
"relationNoShow": true
},
{
"fieldName": "uiHint",
"relationNoShow": true
}
]
},
{
"title": "yx_wechat_template",
"chnname": "微信模板",
"fields": [
{
"name": "id",
"type": "INT UNSIGNED_10",
"chnname": "模板id",
"remark": "",
"pk": true,
"notNull": true,
"autoIncrement": true,
"defaultValue": ""
},
{
"name": "tempkey",
"type": "CHAR_50",
"chnname": "模板编号",
"remark": "",
"pk": false,
"notNull": true,
"autoIncrement": false,
"defaultValue": ""
},
{
"name": "name",
"type": "CHAR_100",
"chnname": "模板名",
"remark": "",
"pk": false,
"notNull": true,
"autoIncrement": false,
"defaultValue": ""
},
{
"name": "content",
"type": "VARCHAR_1000",
"chnname": "回复内容",
"remark": "",
"pk": false,
"notNull": true,
"autoIncrement": false,
"defaultValue": ""
},
{
"name": "tempid",
"type": "CHAR_100",
"chnname": "模板ID",
"remark": "",
"pk": false,
"notNull": false,
"autoIncrement": false,
"defaultValue": ""
},
{
"name": "create_time",
"type": "DATETIME",
"chnname": "添加时间",
"remark": "",
"pk": false,
"notNull": true,
"autoIncrement": false,
"defaultValue": ""
},
{
"name": "update_time",
"type": "DATETIME",
"chnname": "",
"remark": "",
"pk": false,
"notNull": false,
"autoIncrement": false,
"defaultValue": ""
},
{
"name": "status",
"type": "TINYINT_3",
"chnname": "状态",
"remark": "",
"pk": false,
"notNull": true,
"autoIncrement": false,
"defaultValue": ""
},
{
"name": "is_del",
"type": "BIT_1",
"chnname": "",
"remark": "",
"pk": false,
"notNull": false,
"autoIncrement": false,
"defaultValue": ""
}
]
}
],
"graphCanvas": {
"nodes": [],
"edges": []
},
"associations": []
}
],
"version": "V1.0",
"message": "V1",
"date": "2020/7/21 12:14:27"
}