diff --git a/README.md b/README.md index e4ce6ce48016c41b2563160de5b912ad75d9fc26..8a2bc04bbf758f0e6d67c7213efc97531c1f8ba3 100644 --- a/README.md +++ b/README.md @@ -1,22 +1,8 @@ -### **[B2C微服务系统、B2B2C多商户系统、餐饮点餐系统,请移步](https://www.dayouqiantu.cn)** - - -

yshop意象商城系统

#### 项目简介 yshop基于当前流行技术组合的前后端分离商城系统: SpringBoot2+MybatisPlus+SpringSecurity+jwt+redis+Vue的前后端分离的商城系统, 包含分类、sku、运费模板、素材库、小程序直播、拼团、砍价、商户管理、 秒杀、优惠券、积分、分销、会员、充值、多门店等功能,更适合企业或个人二次开发; - - -# 官网体验地址(里面有演示地址与文档) -| 官网文档地址 | https://www.dayouqiantu.cn | -|---|---| -| 管理后台演示地址: | https://demo2.yixiang.co | -| 关注公众号点击单商户体验小程序与H5 | ![输入图片说明](https://images.gitee.com/uploads/images/2021/0121/154904_12c09826_477893.png) | - - - #### 核心依赖 | 依赖 | 版本 | @@ -72,7 +58,7 @@ git clone https://gitee.com/guchengwuyue/yshopmall.git 2、下载代码 ``` -git clone https://gitee.com/guchengwuyue/yshopmall_qd +git clone https://gitee.com/jjyu-keji/yshopmall_qd.git ``` 3、cnpm install或者yarn install,当前所有命令必须当前工程目录下进行,目录结构如下: @@ -254,13 +240,6 @@ server ``` # 项目说明 -#### 项目源码 - -| | 后台系统源码 | 后台系统前端源码 | -|--- |--- | --- | -| 码云 | https://gitee.com/guchengwuyue/yshopmall | https://gitee.com/guchengwuyue/yshopmall_qd | -| github | https://github.com/guchengwuyue/yshopmall |https://github.com/guchengwuyue/yshopmall_qd | - ### 商城功能 @@ -331,11 +310,6 @@ server * 2.3 uniapp - - -#### 反馈交流 -- 喜欢这个商城后台的小伙伴留下你的小星星啦,star,star哦! - #### 特别鸣谢 - eladmin:https://github.com/elunez/eladmin - mybaitsplus:https://github.com/baomidou/mybatis-plus @@ -343,3 +317,6 @@ server - wxjava:https://github.com/Wechat-Group/WxJava - vue:https://github.com/vuejs/vue - element:https://github.com/ElemeFE/element +2323232 + +23软工666YYDS \ No newline at end of file diff --git a/sql/.yshop.version/yshop-V1.1.pdman.json b/sql/.yshop.version/yshop-V1.1.pdman.json deleted file mode 100644 index e2e22d3ed4e6f42854b99328525752ce58cae0d7..0000000000000000000000000000000000000000 --- a/sql/.yshop.version/yshop-V1.1.pdman.json +++ /dev/null @@ -1,11450 +0,0 @@ -{ - "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": "" - } - ] - }, - { - "title": "yx_wechat_live", - "chnname": "", - "fields": [ - { - "name": "roomid", - "type": "BIGINT_19", - "chnname": "直播间id", - "remark": "", - "pk": true, - "notNull": true, - "autoIncrement": false, - "defaultValue": "" - }, - { - "name": "name", - "type": "VARCHAR_255", - "chnname": "直播间标题", - "remark": "", - "pk": false, - "notNull": true, - "autoIncrement": false, - "defaultValue": "" - }, - { - "name": "cover_imge", - "type": "VARCHAR_255", - "chnname": "背景图", - "remark": "", - "pk": false, - "notNull": false, - "autoIncrement": false, - "defaultValue": "" - }, - { - "name": "share_imge", - "type": "VARCHAR_255", - "chnname": "分享图片", - "remark": "", - "pk": false, - "notNull": false, - "autoIncrement": false, - "defaultValue": "" - }, - { - "name": "live_status", - "type": "INT_10", - "chnname": "直播间状态", - "remark": "", - "pk": false, - "notNull": false, - "autoIncrement": false, - "defaultValue": "" - }, - { - "name": "start_time", - "type": "BIGINT_19", - "chnname": "开始时间", - "remark": "", - "pk": false, - "notNull": false, - "autoIncrement": false, - "defaultValue": "" - }, - { - "name": "end_time", - "type": "BIGINT_19", - "chnname": "预计结束时间", - "remark": "", - "pk": false, - "notNull": false, - "autoIncrement": false, - "defaultValue": "" - }, - { - "name": "anchor_name", - "type": "VARCHAR_64", - "chnname": "主播昵称", - "remark": "", - "pk": false, - "notNull": false, - "autoIncrement": false, - "defaultValue": "" - }, - { - "name": "anchor_wechat", - "type": "VARCHAR_32", - "chnname": "主播微信号", - "remark": "", - "pk": false, - "notNull": false, - "autoIncrement": false, - "defaultValue": "" - }, - { - "name": "anchor_imge", - "type": "VARCHAR_255", - "chnname": "主播头像", - "remark": "", - "pk": false, - "notNull": false, - "autoIncrement": false, - "defaultValue": "" - }, - { - "name": "type", - "type": "BIT_1", - "chnname": "直播间类型 1:推流 0:手机直播", - "remark": "", - "pk": false, - "notNull": false, - "autoIncrement": false, - "defaultValue": "" - }, - { - "name": "screen_type", - "type": "BIT_1", - "chnname": "横屏、竖屏 【1:横屏,0:竖屏】", - "remark": "", - "pk": false, - "notNull": false, - "autoIncrement": false, - "defaultValue": "" - }, - { - "name": "close_like", - "type": "BIT_1", - "chnname": "是否关闭点赞 【0:开启,1:关闭】", - "remark": "", - "pk": false, - "notNull": false, - "autoIncrement": false, - "defaultValue": "" - }, - { - "name": "close_comment", - "type": "BIT_1", - "chnname": "是否关闭评论 【0:开启,1:关闭】", - "remark": "", - "pk": false, - "notNull": false, - "autoIncrement": false, - "defaultValue": "" - }, - { - "name": "close_goods", - "type": "BIT_1", - "chnname": "是否关闭货架 【0:开启,1:关闭】", - "remark": "", - "pk": false, - "notNull": false, - "autoIncrement": false, - "defaultValue": "" - }, - { - "name": "product_id", - "type": "VARCHAR_255", - "chnname": "商品id 多个,分割", - "remark": "", - "pk": false, - "notNull": false, - "autoIncrement": false, - "defaultValue": "" - } - ] - }, - { - "title": "yx_wechat_live_goods", - "chnname": "", - "fields": [ - { - "name": "goods_id", - "type": "BIGINT_19", - "chnname": "直播商品id", - "remark": "", - "pk": true, - "notNull": true, - "autoIncrement": false, - "defaultValue": "" - }, - { - "name": "product_id", - "type": "BIGINT_19", - "chnname": "关联商品id", - "remark": "", - "pk": false, - "notNull": false, - "autoIncrement": false, - "defaultValue": "" - }, - { - "name": "cover_imge_url", - "type": "VARCHAR_255", - "chnname": "商品图片", - "remark": "", - "pk": false, - "notNull": true, - "autoIncrement": false, - "defaultValue": "" - }, - { - "name": "url", - "type": "VARCHAR_64", - "chnname": "商品小程序路径", - "remark": "", - "pk": false, - "notNull": true, - "autoIncrement": false, - "defaultValue": "" - }, - { - "name": "price_type", - "type": "VARCHAR_255", - "chnname": "价格类型 1:一口价(只需要传入price,price2不传) 2:价格区间(price字段为左边界,price2字段为右边界,price和price2必传) 3:显示折扣价(price字段为原价,price2字段为现价, price和price2必传)", - "remark": "", - "pk": false, - "notNull": true, - "autoIncrement": false, - "defaultValue": "" - }, - { - "name": "price", - "type": "VARCHAR_64", - "chnname": "", - "remark": "", - "pk": false, - "notNull": true, - "autoIncrement": false, - "defaultValue": "" - }, - { - "name": "price2", - "type": "VARCHAR_64", - "chnname": "", - "remark": "", - "pk": false, - "notNull": false, - "autoIncrement": false, - "defaultValue": "" - }, - { - "name": "name", - "type": "VARCHAR_255", - "chnname": "商品名称", - "remark": "", - "pk": false, - "notNull": true, - "autoIncrement": false, - "defaultValue": "" - }, - { - "name": "third_party_tag", - "type": "VARCHAR_255", - "chnname": "1, 2:表示是为api添加商品,否则是直播控制台添加的商品", - "remark": "", - "pk": false, - "notNull": false, - "autoIncrement": false, - "defaultValue": "" - }, - { - "name": "audit_id", - "type": "BIGINT_19", - "chnname": "审核单id", - "remark": "", - "pk": false, - "notNull": false, - "autoIncrement": false, - "defaultValue": "" - }, - { - "name": "audit_status", - "type": "INT UNSIGNED_10", - "chnname": "审核状态 0:未审核,1:审核中,2:审核通过,3审核失败", - "remark": "", - "pk": false, - "notNull": false, - "autoIncrement": false, - "defaultValue": "" - } - ] - } - ], - "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": "" - } - ] - } - ], - "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": "" - } - ] - } - ], - "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": "" - } - ] - }, - { - "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": "" - } - ] - } - ], - "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": false, - "autoIncrement": false, - "defaultValue": "" - }, - { - "name": "cost", - "type": "DECIMAL UNSIGNED_8_2", - "chnname": "成本", - "remark": "", - "pk": false, - "notNull": false, - "autoIncrement": false, - "defaultValue": "" - }, - { - "name": "ot_price", - "type": "DECIMAL UNSIGNED_10_2", - "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": "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": "" - }, - { - "name": "spec_type", - "type": "BIT_1", - "chnname": "规格 0单 1多", - "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": "is_sub", - "type": "INT_10", - "chnname": "规格设置", - "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": false, - "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": 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_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": "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": false, - "autoIncrement": false, - "defaultValue": "" - }, - { - "name": "spec_type", - "type": "BIT_1", - "chnname": "规格 0单 1多", - "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": "is_sub", - "type": "INT_10", - "chnname": "规格设置", - "remark": "", - "pk": false, - "notNull": false, - "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": "" - }, - { - "name": "pink_price", - "type": "DECIMAL_8_2", - "chnname": "拼团价", - "remark": "", - "pk": false, - "notNull": true, - "autoIncrement": false, - "defaultValue": "" - }, - { - "name": "pink_stock", - "type": "INT_10", - "chnname": "拼团库存", - "remark": "", - "pk": false, - "notNull": true, - "autoIncrement": false, - "defaultValue": "" - }, - { - "name": "seckill_price", - "type": "DECIMAL_10_2", - "chnname": "秒杀价", - "remark": "", - "pk": false, - "notNull": true, - "autoIncrement": false, - "defaultValue": "" - }, - { - "name": "seckill_stock", - "type": "INT_10", - "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": "" - } - ] - }, - { - "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": "" - }, - { - "name": "type", - "type": "VARCHAR_30", - "chnname": "类型:template:模板消息 subscribe:订阅消息", - "remark": "", - "pk": false, - "notNull": false, - "autoIncrement": false, - "defaultValue": "" - } - ] - } - ], - "graphCanvas": { - "nodes": [], - "edges": [] - }, - "associations": [] - } - ], - "message": "3.1sql导出", - "version": "V1.1", - "changes": [ - { - "type": "entity", - "name": "yx_wechat_live", - "opt": "add" - }, - { - "type": "entity", - "name": "yx_wechat_live_goods", - "opt": "add" - }, - { - "type": "field", - "name": "yx_store_seckill.price.notNull", - "opt": "update", - "changeData": "true=>false" - }, - { - "type": "field", - "name": "yx_store_seckill.cost.notNull", - "opt": "update", - "changeData": "true=>false" - }, - { - "type": "field", - "name": "yx_store_seckill.ot_price.notNull", - "opt": "update", - "changeData": "true=>false" - }, - { - "type": "field", - "name": "yx_store_seckill.spec_type", - "opt": "add" - }, - { - "type": "field", - "name": "yx_store_seckill.temp_id", - "opt": "add" - }, - { - "type": "field", - "name": "yx_store_seckill.is_sub", - "opt": "add" - }, - { - "type": "field", - "name": "yx_store_combination.price.notNull", - "opt": "update", - "changeData": "true=>false" - }, - { - "type": "field", - "name": "yx_store_combination.stock.notNull", - "opt": "update", - "changeData": "true=>false" - }, - { - "type": "field", - "name": "yx_store_combination.unit_name.notNull", - "opt": "update", - "changeData": "true=>false" - }, - { - "type": "field", - "name": "yx_store_combination.spec_type", - "opt": "add" - }, - { - "type": "field", - "name": "yx_store_combination.temp_id", - "opt": "add" - }, - { - "type": "field", - "name": "yx_store_combination.is_sub", - "opt": "add" - }, - { - "type": "field", - "name": "yx_store_combination.is_postage", - "opt": "delete" - }, - { - "type": "field", - "name": "yx_store_combination.postage", - "opt": "delete" - }, - { - "type": "field", - "name": "yx_store_product_attr_value.pink_price", - "opt": "add" - }, - { - "type": "field", - "name": "yx_store_product_attr_value.pink_stock", - "opt": "add" - }, - { - "type": "field", - "name": "yx_store_product_attr_value.seckill_price", - "opt": "add" - }, - { - "type": "field", - "name": "yx_store_product_attr_value.seckill_stock", - "opt": "add" - }, - { - "type": "field", - "name": "yx_wechat_template.type", - "opt": "add" - } - ], - "date": "2020/9/5 17:13:6" -} diff --git a/sql/.yshop.version/yshop-V1.2.pdman.json b/sql/.yshop.version/yshop-V1.2.pdman.json deleted file mode 100644 index a4aa6629fa235b511b8bd6e51128566b5bd9176e..0000000000000000000000000000000000000000 --- a/sql/.yshop.version/yshop-V1.2.pdman.json +++ /dev/null @@ -1,11402 +0,0 @@ -{ - "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": "" - } - ] - } - ], - "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": "" - } - ] - } - ], - "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": "" - } - ] - } - ], - "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": "" - } - ] - }, - { - "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": "" - } - ] - } - ], - "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": false, - "autoIncrement": false, - "defaultValue": "" - }, - { - "name": "cost", - "type": "DECIMAL UNSIGNED_8_2", - "chnname": "成本", - "remark": "", - "pk": false, - "notNull": false, - "autoIncrement": false, - "defaultValue": "" - }, - { - "name": "ot_price", - "type": "DECIMAL UNSIGNED_10_2", - "chnname": "原价", - "remark": "", - "pk": false, - "notNull": false, - "autoIncrement": false, - "defaultValue": "" - }, - { - "name": "give_integral", - "type": "DECIMAL UNSIGNED_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": "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": "" - }, - { - "name": "spec_type", - "type": "BIT_1", - "chnname": "规格 0单 1多", - "remark": "", - "pk": false, - "notNull": false, - "autoIncrement": false, - "defaultValue": "" - }, - { - "name": "temp_id", - "type": "INT_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": false, - "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": 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_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": "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": false, - "autoIncrement": false, - "defaultValue": "" - }, - { - "name": "spec_type", - "type": "BIT_1", - "chnname": "规格 0单 1多", - "remark": "", - "pk": false, - "notNull": false, - "autoIncrement": false, - "defaultValue": "" - }, - { - "name": "temp_id", - "type": "INT_10", - "chnname": "运费模板ID", - "remark": "", - "pk": false, - "notNull": false, - "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": "" - }, - { - "name": "pink_price", - "type": "DECIMAL_8_2", - "chnname": "拼团价", - "remark": "", - "pk": false, - "notNull": true, - "autoIncrement": false, - "defaultValue": "" - }, - { - "name": "pink_stock", - "type": "INT_10", - "chnname": "拼团库存", - "remark": "", - "pk": false, - "notNull": true, - "autoIncrement": false, - "defaultValue": "" - }, - { - "name": "seckill_price", - "type": "DECIMAL_10_2", - "chnname": "秒杀价", - "remark": "", - "pk": false, - "notNull": true, - "autoIncrement": false, - "defaultValue": "" - }, - { - "name": "seckill_stock", - "type": "INT_10", - "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": "" - } - ] - }, - { - "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": "" - }, - { - "name": "type", - "type": "VARCHAR_30", - "chnname": "类型:template:模板消息 subscribe:订阅消息", - "remark": "", - "pk": false, - "notNull": false, - "autoIncrement": false, - "defaultValue": "" - } - ] - }, - { - "title": "yx_wechat_live_goods", - "chnname": "微信小程序直播商品表", - "fields": [ - { - "name": "goods_id", - "type": "BIGINT_19", - "chnname": "直播商品id", - "remark": "", - "pk": true, - "notNull": true, - "autoIncrement": false, - "defaultValue": "" - }, - { - "name": "product_id", - "type": "BIGINT_19", - "chnname": "关联商品id", - "remark": "", - "pk": false, - "notNull": false, - "autoIncrement": false, - "defaultValue": "" - }, - { - "name": "cover_imge_url", - "type": "VARCHAR_255", - "chnname": "商品图片", - "remark": "", - "pk": false, - "notNull": true, - "autoIncrement": false, - "defaultValue": "" - }, - { - "name": "url", - "type": "VARCHAR_64", - "chnname": "商品小程序路径", - "remark": "", - "pk": false, - "notNull": true, - "autoIncrement": false, - "defaultValue": "" - }, - { - "name": "price_type", - "type": "VARCHAR_255", - "chnname": "价格类型 1:一口价(只需要传入price,price2不传) 2:价格区间(price字段为左边界,price2字段为右边界,price和price2必传) 3:显示折扣价(price字段为原价,price2字段为现价, price和price2必传)", - "remark": "", - "pk": false, - "notNull": true, - "autoIncrement": false, - "defaultValue": "" - }, - { - "name": "price", - "type": "VARCHAR_64", - "chnname": "", - "remark": "", - "pk": false, - "notNull": true, - "autoIncrement": false, - "defaultValue": "" - }, - { - "name": "price2", - "type": "VARCHAR_64", - "chnname": "", - "remark": "", - "pk": false, - "notNull": false, - "autoIncrement": false, - "defaultValue": "" - }, - { - "name": "name", - "type": "VARCHAR_255", - "chnname": "商品名称", - "remark": "", - "pk": false, - "notNull": true, - "autoIncrement": false, - "defaultValue": "" - }, - { - "name": "third_party_tag", - "type": "VARCHAR_255", - "chnname": "1, 2:表示是为api添加商品,否则是直播控制台添加的商品", - "remark": "", - "pk": false, - "notNull": false, - "autoIncrement": false, - "defaultValue": "" - }, - { - "name": "audit_id", - "type": "BIGINT_19", - "chnname": "审核单id", - "remark": "", - "pk": false, - "notNull": false, - "autoIncrement": false, - "defaultValue": "" - }, - { - "name": "audit_status", - "type": "INT UNSIGNED_10", - "chnname": "审核状态 0:未审核,1:审核中,2:审核通过,3审核失败", - "remark": "", - "pk": false, - "notNull": false, - "autoIncrement": false, - "defaultValue": "" - } - ] - }, - { - "title": "yx_wechat_live", - "chnname": "微信小程序直播表", - "fields": [ - { - "name": "room_id", - "type": "BIGINT_19", - "chnname": "直播间id", - "remark": "", - "pk": true, - "notNull": true, - "autoIncrement": false, - "defaultValue": "" - }, - { - "name": "name", - "type": "VARCHAR_255", - "chnname": "直播间标题", - "remark": "", - "pk": false, - "notNull": true, - "autoIncrement": false, - "defaultValue": "" - }, - { - "name": "cover_imge", - "type": "VARCHAR_255", - "chnname": "背景图", - "remark": "", - "pk": false, - "notNull": false, - "autoIncrement": false, - "defaultValue": "" - }, - { - "name": "share_imge", - "type": "VARCHAR_255", - "chnname": "分享图片", - "remark": "", - "pk": false, - "notNull": false, - "autoIncrement": false, - "defaultValue": "" - }, - { - "name": "live_status", - "type": "INT_10", - "chnname": "直播间状态", - "remark": "", - "pk": false, - "notNull": false, - "autoIncrement": false, - "defaultValue": "" - }, - { - "name": "start_time", - "type": "BIGINT_19", - "chnname": "开始时间", - "remark": "", - "pk": false, - "notNull": false, - "autoIncrement": false, - "defaultValue": "" - }, - { - "name": "end_time", - "type": "BIGINT_19", - "chnname": "预计结束时间", - "remark": "", - "pk": false, - "notNull": false, - "autoIncrement": false, - "defaultValue": "" - }, - { - "name": "anchor_name", - "type": "VARCHAR_64", - "chnname": "主播昵称", - "remark": "", - "pk": false, - "notNull": false, - "autoIncrement": false, - "defaultValue": "" - }, - { - "name": "anchor_wechat", - "type": "VARCHAR_32", - "chnname": "主播微信号", - "remark": "", - "pk": false, - "notNull": false, - "autoIncrement": false, - "defaultValue": "" - }, - { - "name": "anchor_imge", - "type": "VARCHAR_255", - "chnname": "主播头像", - "remark": "", - "pk": false, - "notNull": false, - "autoIncrement": false, - "defaultValue": "" - }, - { - "name": "type", - "type": "BIT_1", - "chnname": "直播间类型 1:推流 0:手机直播", - "remark": "", - "pk": false, - "notNull": false, - "autoIncrement": false, - "defaultValue": "" - }, - { - "name": "screen_type", - "type": "BIT_1", - "chnname": "横屏、竖屏 【1:横屏,0:竖屏】", - "remark": "", - "pk": false, - "notNull": false, - "autoIncrement": false, - "defaultValue": "" - }, - { - "name": "close_like", - "type": "BIT_1", - "chnname": "是否关闭点赞 【0:开启,1:关闭】", - "remark": "", - "pk": false, - "notNull": false, - "autoIncrement": false, - "defaultValue": "" - }, - { - "name": "close_comment", - "type": "BIT_1", - "chnname": "是否关闭评论 【0:开启,1:关闭】", - "remark": "", - "pk": false, - "notNull": false, - "autoIncrement": false, - "defaultValue": "" - }, - { - "name": "close_goods", - "type": "BIT_1", - "chnname": "是否关闭货架 【0:开启,1:关闭】", - "remark": "", - "pk": false, - "notNull": false, - "autoIncrement": false, - "defaultValue": "" - }, - { - "name": "product_id", - "type": "VARCHAR_255", - "chnname": "商品id 多个,分割", - "remark": "", - "pk": false, - "notNull": false, - "autoIncrement": false, - "defaultValue": "" - }, - { - "name": "close_replay", - "type": "BIT_1", - "chnname": "是否关闭回放【0:开启,1:关闭】", - "remark": "", - "pk": false, - "notNull": false, - "autoIncrement": false, - "defaultValue": "" - }, - { - "name": "close_share", - "type": "BIT_1", - "chnname": "是否关闭分享【0:开启,1:关闭】", - "remark": "", - "pk": false, - "notNull": false, - "autoIncrement": false, - "defaultValue": "" - }, - { - "name": "close_kf", - "type": "BIT_1", - "chnname": "是否关闭客服【0:开启,1:关闭】", - "remark": "", - "pk": false, - "notNull": false, - "autoIncrement": false, - "defaultValue": "" - } - ] - } - ], - "graphCanvas": { - "nodes": [], - "edges": [] - }, - "associations": [] - } - ], - "message": "3.0升级sql", - "version": "V1.2", - "changes": [ - { - "type": "field", - "name": "yx_store_seckill.give_integral.notNull", - "opt": "update", - "changeData": "true=>false" - }, - { - "type": "field", - "name": "yx_store_seckill.is_sub", - "opt": "delete" - }, - { - "type": "field", - "name": "yx_store_combination.is_sub", - "opt": "delete" - }, - { - "type": "entity", - "name": "yx_wechat_live_goods.chnname", - "opt": "update", - "changeData": "=>微信小程序直播商品表" - }, - { - "type": "field", - "name": "yx_wechat_live.room_id", - "opt": "add" - }, - { - "type": "field", - "name": "yx_wechat_live.close_replay", - "opt": "add" - }, - { - "type": "field", - "name": "yx_wechat_live.close_share", - "opt": "add" - }, - { - "type": "field", - "name": "yx_wechat_live.close_kf", - "opt": "add" - }, - { - "type": "field", - "name": "yx_wechat_live.roomid", - "opt": "delete" - }, - { - "type": "entity", - "name": "yx_wechat_live.chnname", - "opt": "update", - "changeData": "=>微信小程序直播表" - } - ], - "date": "2020/9/12 23:56:59" -} diff --git a/sql/.yshop.version/yshop-base.pdman.json b/sql/.yshop.version/yshop-base.pdman.json deleted file mode 100644 index ff6ce229fd8506b8e9e9f24c106d8dcc657e2a6d..0000000000000000000000000000000000000000 --- a/sql/.yshop.version/yshop-base.pdman.json +++ /dev/null @@ -1,11247 +0,0 @@ -{ - "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" -} diff --git "a/sql/3.0\345\215\207\347\272\2473.1sql.sql" "b/sql/3.0\345\215\207\347\272\2473.1sql.sql" deleted file mode 100644 index 8d28ed1b0a992f0c170f000b78a21e38a52e0ce0..0000000000000000000000000000000000000000 --- "a/sql/3.0\345\215\207\347\272\2473.1sql.sql" +++ /dev/null @@ -1,136 +0,0 @@ - - --- ---------------------------- --- 字段修改 --- ---------------------------- -ALTER TABLE `yx_store_seckill` - CHANGE COLUMN `price` `price` DECIMAL(10,2) UNSIGNED COMMENT '价格' AFTER `info`, - CHANGE COLUMN `cost` `cost` DECIMAL(8,2) UNSIGNED COMMENT '成本' AFTER `price`, - CHANGE COLUMN `ot_price` `ot_price` DECIMAL(10,2) UNSIGNED COMMENT '原价' AFTER `cost`; -ALTER TABLE yx_store_seckill ADD COLUMN spec_type tinyint(1) COMMENT '规格 0单 1多' AFTER time_id; -ALTER TABLE yx_store_seckill ADD COLUMN temp_id INT(10) COMMENT '运费模板id' AFTER spec_type; -ALTER TABLE yx_store_pink ADD COLUMN unique_id VARCHAR(128) COMMENT '库存唯一值' AFTER is_del; -ALTER TABLE yx_store_seckill MODIFY COLUMN give_integral DECIMAL(10,2) UNSIGNED COMMENT '返多少积分'; -ALTER TABLE `yx_store_combination` - CHANGE COLUMN `price` `price` DECIMAL(10,2) UNSIGNED NULL DEFAULT '0.00' COMMENT '价格' AFTER `info`, - CHANGE COLUMN `stock` `stock` INT(10) UNSIGNED NULL DEFAULT '0' COMMENT '库存' AFTER `sales`, - CHANGE COLUMN `unit_name` `unit_name` VARCHAR(32) NULL DEFAULT '' COMMENT '单位名' AFTER `browse`; -ALTER TABLE yx_store_combination ADD COLUMN spec_type tinyint(1) COMMENT '规格 0单 1多' AFTER unit_name; -ALTER TABLE yx_store_combination ADD COLUMN temp_id INT(10) COMMENT '运费模板ID' AFTER spec_type; -ALTER TABLE yx_store_combination DROP is_postage; -ALTER TABLE yx_store_combination DROP postage; -ALTER TABLE yx_store_product_attr_value ADD COLUMN pink_price DECIMAL(8,2) NOT NULL COMMENT '拼团价' AFTER brokerage_two; -ALTER TABLE yx_store_product_attr_value ADD COLUMN pink_stock INT(10) NOT NULL COMMENT '拼团库存' AFTER pink_price; -ALTER TABLE yx_store_product_attr_value ADD COLUMN seckill_price DECIMAL(10,2) NOT NULL COMMENT '秒杀价' AFTER pink_stock; -ALTER TABLE yx_store_product_attr_value ADD COLUMN seckill_stock INT(10) NOT NULL COMMENT '秒杀库存' AFTER seckill_price; -ALTER TABLE yx_wechat_template ADD COLUMN type VARCHAR(30) COMMENT '类型:template:模板消息 subscribe:订阅消息' AFTER is_del; - --- ---------------------------- --- 足迹菜单添加 --- ---------------------------- -INSERT INTO `yx_system_group_data` VALUES (225, 'yshop_my_menus', '{\"imageArr\":[\"https://app2.yixiang.co/file/pic/20200911093912577832.png\"],\"uniapp_url\":\"/pages/shop/GoodsFoot/index\",\"name\":\"我的足迹\",\"id\":225,\"pic\":\"https://app2.yixiang.co/file/pic/20200911093912577832.png\",\"sort\":10,\"url\":\"\",\"wxapp_url\":\"\",\"status\":1}', '2020-09-11 09:39:21', '2020-09-11 09:40:49', 10, 1, 0); - --- ---------------------------- --- 菜单添加 --- ---------------------------- -INSERT INTO `menu` VALUES (237, b'0', '规格新增、修改', NULL, 233, 1, NULL, NULL, b'0', b'0', NULL, '2020-06-28 16:35:00', 'yxStoreProductRule:add', 2, '2020-07-16 20:09:03', 0); -INSERT INTO `menu` VALUES (238, b'0', '规格删除', NULL, 233, 1, NULL, NULL, b'0', b'0', NULL, '2020-06-28 16:35:00', 'yxStoreProductRule:del', 2, '2020-07-16 20:08:57', 0); -INSERT INTO `menu` VALUES (240, b'0', '新增、修改模板', NULL, 234, 1, NULL, NULL, b'0', b'0', NULL, '2020-06-29 17:16:06', 'yxShippingTemplates:add', 2, '2020-07-16 20:09:11', 0); -INSERT INTO `menu` VALUES (241, b'0', '删除模板', NULL, 234, 2, NULL, NULL, b'0', b'0', NULL, '2020-06-29 17:16:06', 'yxShippingTemplates:del', 2, '2020-07-16 20:09:16', 0); -INSERT INTO `menu` VALUES (242, b'0', '直播管理', 'wechat/live/index', 48, 999, 'weixin', 'wxlive', b'0', b'0', 'Wxlive', '2020-08-10 17:20:54', NULL, 1, NULL, 0); -INSERT INTO `menu` VALUES (243, b'0', '直播商品管理', 'wechat/goods/index', 48, 999, 'weixin', 'wxlivegoods', b'0', b'0', 'WxliveGoods', '2020-08-10 17:20:54', NULL, 1, NULL, 0); -INSERT INTO `menu` VALUES (244, b'0', '拼团商品添加', 'activity/combination/form', 63, 999, NULL, 'combinationAdd', b'0', b'1', 'CombinationAdd', '2020-08-13 21:28:45', 'YXSTORECOMBINATION_EDIT', 1, '2020-08-13 21:31:26', 0); -INSERT INTO `menu` VALUES (245, b'0', '拼团商品修改', 'activity/combination/form', 63, 3, 'anq', 'combinationEdit/:id', b'0', b'1', 'CombinationEdit', '2019-12-24 13:02:23', 'YXSTORECOMBINATION_EDIT', 1, '2020-07-10 16:45:33', 0); -INSERT INTO `menu` VALUES (246, b'0', '秒杀商品添加', 'activity/seckill/form', 63, 999, NULL, 'secKillAdd', b'0', b'1', 'SecKillAdd', '2020-08-13 21:28:45', 'YXSTORESECKILL_EDIT', 1, '2020-08-13 21:31:26', 0); -INSERT INTO `menu` VALUES (247, b'0', '秒杀商品修改', 'activity/seckill/form', 63, 3, 'anq', 'secKillEdit/:id', b'0', b'1', 'SecKillEdit', '2019-12-24 13:02:23', 'YXSTORESECKILL_EDIT', 1, '2020-07-10 16:45:33', 0); -INSERT INTO `menu` VALUES (248, b'0', '多级菜单', NULL, 0, 999, 'menu', 'nested', b'0', b'0', '-', '2020-08-19 11:31:10', NULL, 0, NULL, 0); -INSERT INTO `menu` VALUES (249, b'0', '二级菜单1', 'nested/menu1/index', 248, 999, 'menu', 'menu1', b'0', b'0', '-', '2020-08-19 11:34:34', NULL, 1, NULL, 0); -INSERT INTO `menu` VALUES (250, b'0', '三级菜单1', 'nested/menu1/menu1-1', 249, 999, 'menu', 'menu1-1', b'0', b'0', '-', '2020-08-19 11:35:52', NULL, 1, NULL, 0); -INSERT INTO `menu` VALUES (251, b'0', '三级菜单2', 'nested/menu1/menu1-2', 249, 999, 'menu', 'menu1-2', b'0', b'0', '-', '2020-08-19 11:37:48', NULL, 1, NULL, 0); -INSERT INTO `menu` VALUES (252, b'0', '二级菜单2', 'nested/menu2/index', 248, 999, 'menu', 'menu2', b'0', b'0', '-', '2020-08-19 11:38:35', NULL, 1, NULL, 0); -INSERT INTO `menu` VALUES (253, b'0', '浏览记录', 'monitor/log/mlog', 40, 15, 'log', 'viewlog', b'0', b'0', 'Viewlog', '2020-07-31 09:47:11', 'log:list', 1, '2020-07-31 09:49:39', 0); -INSERT INTO `menu` VALUES (256, b'0', '商品收藏', 'shop/collect/index', 40, 16, 'menu', 'productRelation', b'0', b'0', 'ProductRelation', '2020-09-03 14:32:49', 'yxStoreProductRelation:list', 1, '2020-09-03 16:21:08', 0); -INSERT INTO `menu` VALUES (257, b'0', '用户足迹', 'shop/foot/index', 40, 17, 'list', 'footRelation', b'0', b'0', 'FootRelation', '2020-09-03 16:20:21', 'yxStoreProductRelation:list', 1, '2020-09-03 16:21:16', 0); -INSERT INTO `menu` VALUES (258, b'0', '订单详情', 'shop/order/detail', 53, 999, 'sqlMonitor', 'detail/:id', b'0', b'1', 'Detail', '2020-09-10 07:29:34', NULL, 1, '2020-09-10 08:52:09', 0); --- ---------------------------- --- 菜单添加权限 --- ---------------------------- -INSERT INTO `roles_menus` VALUES (237, 1); -INSERT INTO `roles_menus` VALUES (238, 1); -INSERT INTO `roles_menus` VALUES (240, 1); -INSERT INTO `roles_menus` VALUES (241, 1); -INSERT INTO `roles_menus` VALUES (242, 1); -INSERT INTO `roles_menus` VALUES (243, 1); -INSERT INTO `roles_menus` VALUES (244, 1); -INSERT INTO `roles_menus` VALUES (245, 1); -INSERT INTO `roles_menus` VALUES (246, 1); -INSERT INTO `roles_menus` VALUES (247, 1); -INSERT INTO `roles_menus` VALUES (248, 1); -INSERT INTO `roles_menus` VALUES (249, 1); -INSERT INTO `roles_menus` VALUES (250, 1); -INSERT INTO `roles_menus` VALUES (251, 1); -INSERT INTO `roles_menus` VALUES (252, 1); -INSERT INTO `roles_menus` VALUES (253, 1); -INSERT INTO `roles_menus` VALUES (256, 1); -INSERT INTO `roles_menus` VALUES (257, 1); -INSERT INTO `roles_menus` VALUES (258, 1); - - - - -SET NAMES utf8mb4; -SET FOREIGN_KEY_CHECKS = 0; - --- ---------------------------- --- Table structure for yx_wechat_live --- ---------------------------- -DROP TABLE IF EXISTS `yx_wechat_live`; -CREATE TABLE `yx_wechat_live` ( - `room_id` bigint(11) NOT NULL COMMENT '直播间id', - `name` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NOT NULL COMMENT '直播间标题', - `cover_imge` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL COMMENT '背景图', - `share_imge` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL COMMENT '分享图片', - `live_status` int(9) NULL DEFAULT NULL COMMENT '直播间状态', - `start_time` bigint(11) NULL DEFAULT NULL COMMENT '开始时间', - `end_time` bigint(11) NULL DEFAULT NULL COMMENT '预计结束时间', - `anchor_name` varchar(64) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL COMMENT '主播昵称', - `anchor_wechat` varchar(32) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL COMMENT '主播微信号', - `anchor_imge` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL COMMENT '主播头像', - `type` tinyint(1) NULL DEFAULT NULL COMMENT '直播间类型 1:推流 0:手机直播', - `screen_type` tinyint(1) NULL DEFAULT NULL COMMENT '横屏、竖屏 【1:横屏,0:竖屏】', - `close_like` tinyint(1) NULL DEFAULT NULL COMMENT '是否关闭点赞 【0:开启,1:关闭】', - `close_comment` tinyint(1) NULL DEFAULT NULL COMMENT '是否关闭评论 【0:开启,1:关闭】', - `close_goods` tinyint(1) NULL DEFAULT NULL COMMENT '是否关闭货架 【0:开启,1:关闭】', - `product_id` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL COMMENT '商品id 多个,分割', - `close_replay` tinyint(1) NULL DEFAULT NULL COMMENT '是否关闭回放【0:开启,1:关闭】', - `close_share` tinyint(1) NULL DEFAULT NULL COMMENT '是否关闭分享【0:开启,1:关闭】', - `close_kf` tinyint(1) NULL DEFAULT NULL COMMENT '是否关闭客服【0:开启,1:关闭】', - PRIMARY KEY (`room_id`) USING BTREE -) ENGINE = InnoDB CHARACTER SET = utf8mb4 COLLATE = utf8mb4_general_ci COMMENT = '微信直播表' ROW_FORMAT = Dynamic; - - --- ---------------------------- --- Table structure for yx_wechat_live_goods --- ---------------------------- -DROP TABLE IF EXISTS `yx_wechat_live_goods`; -CREATE TABLE `yx_wechat_live_goods` ( - `goods_id` bigint(9) NOT NULL COMMENT '直播商品id', - `product_id` bigint(9) NULL DEFAULT NULL COMMENT '关联商品id', - `cover_imge_url` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NOT NULL COMMENT '商品图片', - `url` varchar(64) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NOT NULL COMMENT '商品小程序路径', - `price_type` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NOT NULL COMMENT '价格类型 1:一口价(只需要传入price,price2不传) 2:价格区间(price字段为左边界,price2字段为右边界,price和price2必传) 3:显示折扣价(price字段为原价,price2字段为现价, price和price2必传)', - `price` varchar(64) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NOT NULL, - `price2` varchar(64) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL, - `name` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NOT NULL COMMENT '商品名称', - `third_party_tag` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL COMMENT '1, 2:表示是为api添加商品,否则是直播控制台添加的商品', - `audit_id` bigint(20) NULL DEFAULT NULL COMMENT '审核单id', - `audit_status` int(1) UNSIGNED ZEROFILL NULL DEFAULT NULL COMMENT '审核状态 0:未审核,1:审核中,2:审核通过,3审核失败', - PRIMARY KEY (`goods_id`) USING BTREE -) ENGINE = InnoDB CHARACTER SET = utf8mb4 COLLATE = utf8mb4_general_ci COMMENT = '微信直播商品表' ROW_FORMAT = Dynamic; - -SET FOREIGN_KEY_CHECKS = 1; - - - - -drop index uid on yx_store_product_relation; diff --git "a/sql/3.1\345\215\207\347\272\2473.2sql.sql" "b/sql/3.1\345\215\207\347\272\2473.2sql.sql" deleted file mode 100644 index cc628646bb835e4d667095aff0640acdb39381d8..0000000000000000000000000000000000000000 --- "a/sql/3.1\345\215\207\347\272\2473.2sql.sql" +++ /dev/null @@ -1,54 +0,0 @@ - - --- ---------------------------- --- 字段修改 --- ---------------------------- -ALTER TABLE yx_store_product ADD COLUMN is_integral tinyint(1) ZEROFILL NULL DEFAULT 0 COMMENT '是开启积分兑换' AFTER is_del; - -ALTER TABLE yx_store_product ADD COLUMN integral int(11) NULL DEFAULT 0 COMMENT '需要多少积分兑换 只在开启积分兑换时生效' AFTER is_integral; - -ALTER TABLE yx_store_product_attr_value ADD COLUMN integral INT(10) DEFAULT 0 COMMENT '需要多少积分兑换' AFTER seckill_price; - -ALTER TABLE yx_store_order ADD COLUMN `pay_integral` decimal(8, 2) UNSIGNED NOT NULL DEFAULT 0.00 COMMENT '实际支付积分'; - -ALTER TABLE yx_user modify column add_ip varchar(100) NULL DEFAULT '' COMMENT '添加ip'; - -ALTER TABLE yx_user modify column last_ip varchar(100) NULL DEFAULT '' COMMENT '最后一次登录ip'; - -ALTER TABLE yx_store_visit modify column id bigint(20) NOT NULL; - -ALTER TABLE yx_store_visit modify column product_id bigint(20) NULL DEFAULT NULL COMMENT '产品ID'; - -ALTER TABLE yx_store_visit modify column uid bigint(20) NULL DEFAULT NULL COMMENT '用户ID'; - -ALTER TABLE yx_store_order_cart_info ADD COLUMN order_id varchar(32) NULL DEFAULT NULL COMMENT '订单号' AFTER oid; - -INSERT INTO `menu` VALUES (264, b'0', '终端装修', NULL, 0, 0, 'theme', 'theme', b'0', b'0', '--', '2021-02-25 19:33:17', '', 1, '2021-02-25 19:33:32', 0); -INSERT INTO `menu` VALUES (265, b'1', '商城装修', NULL, 264, 999, 'theme', 'https://demo2.yixiang.co/container', b'0', b'0', '-', '2021-02-25 19:35:13', NULL, 1, NULL, 0); -INSERT INTO `roles_menus` VALUES (264, 1); -INSERT INTO `roles_menus` VALUES (265, 1); - --- ---------------------------- --- Table structure for yx_store_canvas --- ---------------------------- -DROP TABLE IF EXISTS `yx_store_canvas`; -CREATE TABLE `yx_store_canvas` ( - `canvas_id` bigint(11) NOT NULL AUTO_INCREMENT COMMENT '画布id', - `terminal` tinyint(1) NOT NULL COMMENT '终端 1-小程序 2-H5 3-APP 4-PC', - `json` text CHARACTER SET utf8 COLLATE utf8_general_ci NULL COMMENT '画布json数据', - `type` tinyint(1) NULL DEFAULT 1 COMMENT '类型 1-系统画布 2-自定义页面 3-商家店铺装修', - `name` varchar(255) CHARACTER SET utf8 COLLATE utf8_general_ci NOT NULL DEFAULT '' COMMENT '名称', - `shop_id` bigint(20) NULL DEFAULT 0 COMMENT '店铺id,当type=3的时候,值为具体的店铺id,其它情况为0', - `create_time` timestamp(0) NULL DEFAULT NULL COMMENT '创建时间', - `update_time` timestamp(0) NULL DEFAULT NULL COMMENT '修改时间', - `is_del` tinyint(1) NULL DEFAULT NULL COMMENT '删除标识', - PRIMARY KEY (`canvas_id`) USING BTREE -) ENGINE = InnoDB AUTO_INCREMENT = 12 CHARACTER SET = utf8 COLLATE = utf8_general_ci COMMENT = '画布信息表' ROW_FORMAT = Dynamic; - --- ---------------------------- --- Records of yx_store_canvas --- ---------------------------- -INSERT INTO `yx_store_canvas` VALUES (11, 3, '[{\"title\":\"店铺头部\",\"type\":\"header\",\"componentContent\":{\"title\":\"Yshop\"},\"index\":0},{\"title\":\"搜索商品\",\"type\":\"search\",\"componentContent\":{},\"index\":1},{\"title\":\"轮播图\",\"type\":\"banner\",\"componentContent\":{\"bannerData\":[{\"pic\":\"./static/img/banner.f96c3f5.png\",\"name\":\"0\",\"sort\":0,\"url\":\"/\",\"status\":1}]},\"index\":2},{\"title\":\"滚动新闻\",\"type\":\"noticeBar\",\"componentContent\":{\"roll\":[{\"uniapp_url\":\"/pages/shop/news/NewsList/index\",\"url\":\"/news_list\",\"info\":\"yshop基于springboot2+Mybatisplus商城系统,3.0版本重构了代码,新增了运费模板、sku单独管理、商品券等\",\"wxapp_url\":\"/pages/shop/news/NewsList/main\"}]},\"index\":3},{\"title\":\"菜单\",\"type\":\"menu\",\"componentContent\":{\"menus\":[{\"imageArr\":[\"https://image.dayouqiantu.cn/5e85bfa61251d.png\"],\"uniapp_url\":\"/pages/shop/GoodsList/index\",\"name\":\"全部商品\",\"id\":180,\"pic\":\"https://image.dayouqiantu.cn/all.png\",\"sort\":9,\"url\":\"/goods_list\",\"wxapp_url\":\"/pages/shop/GoodsClass/main\",\"status\":1},{\"imageArr\":[\"https://image.dayouqiantu.cn/news.png\"],\"uniapp_url\":\"/pages/shop/news/NewsList/index\",\"name\":\"图文资讯\",\"id\":196,\"pic\":\"https://image.dayouqiantu.cn/xw.png\",\"sort\":8,\"url\":\"/news_list\",\"wxapp_url\":\"/pages/shop/news/NewsList/main\",\"status\":1},{\"imageArr\":[\"https://image.dayouqiantu.cn/5e4e939507b5e.png\"],\"uniapp_url\":\"/pages/shop/GoodsCollection/index\",\"name\":\"我的收藏\",\"id\":197,\"pic\":\"https://image.dayouqiantu.cn/colle.png\",\"sort\":7,\"url\":\"/collection\",\"wxapp_url\":\"/pages/shop/GoodsCollection/main\",\"status\":1},{\"imageArr\":[\"https://image.dayouqiantu.cn/coupon.png\"],\"uniapp_url\":\"\",\"name\":\"优惠券\",\"id\":199,\"pic\":\"https://image.dayouqiantu.cn/cou.png\",\"sort\":6,\"url\":\"/user/get_coupon\",\"wxapp_url\":\"/pages/user/coupon/GetCoupon/main\",\"status\":1},{\"imageArr\":[\"https://image.dayouqiantu.cn/pink.png\"],\"uniapp_url\":\"/pages/activity/GoodsGroup/index\",\"name\":\"拼团专区\",\"id\":200,\"pic\":\"https://image.dayouqiantu.cn/62ac09d2914d36c65b9b59d2147d809a.png\",\"sort\":5,\"url\":\"/activity/group\",\"wxapp_url\":\"/pages/activity/GoodsGroup/main\",\"status\":1},{\"imageArr\":[\"https://image.dayouqiantu.cn/sign.png\"],\"uniapp_url\":\"/pages/user/signIn/Sign/index\",\"name\":\"积分签到\",\"id\":209,\"pic\":\"https://image.dayouqiantu.cn/29ea4acebbf99e7eaf6f85af2b6d79ae.png\",\"sort\":4,\"url\":\"/user/sign\",\"wxapp_url\":\"/pages/user/signIn/Sign/main\",\"status\":1},{\"imageArr\":[\"https://image.dayouqiantu.cn/sekill.png\"],\"uniapp_url\":\"/pages/activity/GoodsSeckill/index\",\"name\":\"秒杀专区\",\"id\":216,\"pic\":\"https://image.dayouqiantu.cn/b0344c148141b50d68db9722708ea49e.png\",\"sort\":3,\"url\":\"/activity/goods_seckill\",\"wxapp_url\":\"/pages/activity/GoodsSeckill/main\",\"status\":1},{\"imageArr\":[\"https://image.dayouqiantu.cn/bargin.png\"],\"uniapp_url\":\"/pages/activity/GoodsBargain/index\",\"name\":\"砍价专区\",\"id\":217,\"pic\":\"https://image.dayouqiantu.cn/bar.png\",\"sort\":2,\"url\":\"/activity/bargain\",\"wxapp_url\":\"/pages/activity/GoodsBargain/main\",\"status\":1}]},\"index\":4},{\"title\":\"广告\",\"type\":\"adv\",\"componentContent\":{\"detail\":{\"list\":[{\"image\":\"https://wx.yixiang.co/static/images/index001.png\",\"url\":\"\",\"uniapp_url\":\"/pages/user/coupon/GetCoupon/index\",\"wxapp_url\":\"/pages/user/coupon/GetCoupon/index\",\"path_type\":1},{\"image\":\"https://wx.yixiang.co/static/images/index002.png\",\"url\":\"\",\"uniapp_url\":\"/pages/shop/GoodsList/index\",\"wxapp_url\":\"/pages/shop/GoodsList/index\",\"path_type\":1},{\"image\":\"https://wx.yixiang.co/static/images/index003.png\",\"url\":\"\",\"uniapp_url\":\"/pages/shop/GoodsList/index?title=\\\"积分商城\\\"&isIntegral=true\",\"wxapp_url\":\"/pages/shop/GoodsList/index?title=\\\"积分商城\\\"&isIntegral=true\",\"path_type\":1}],\"name\":\"\",\"style\":3}},\"index\":5},{\"title\":\"热门榜单\",\"type\":\"hotCommodity\",\"componentContent\":{},\"index\":6},{\"title\":\"为您推荐\",\"type\":\"promotionGood\",\"componentContent\":{},\"index\":7}]', 1, '1', 0, '2021-02-25 19:36:06', '2021-02-25 22:39:55', 0); - - - diff --git "a/sql/sql\346\211\247\350\241\214\351\241\272\345\272\217\350\257\264\346\230\216.txt" "b/sql/sql\346\211\247\350\241\214\351\241\272\345\272\217\350\257\264\346\230\216.txt" deleted file mode 100644 index f0977c460685e28ef7c209e3b78c1a2bb384f303..0000000000000000000000000000000000000000 --- "a/sql/sql\346\211\247\350\241\214\351\241\272\345\272\217\350\257\264\346\230\216.txt" +++ /dev/null @@ -1,4 +0,0 @@ -1、3.0平滑升级3.2 直接导入3.0升级3.1sql.sql再执行3.1升级3.2sql.sql(特别说明:平滑升级只限于没有改过添加过菜单之类的,如果你已经添加了菜单,请自行解决一下) -2、如果你已经是3.1版本了直接执行3.1升级3.2sql.sql即可 -3、如果是全新下载的直接导入yshop3.2.sql -4、注意:操作数据库属于危险行为,请勿用于生产库,请事先做好备份,再执行sql操作!!! diff --git a/sql/yshop.pdman.json b/sql/yshop.pdman.json deleted file mode 100644 index 783d2b7a665fd9fe40c689537e4b3a4f0443fa8b..0000000000000000000000000000000000000000 --- a/sql/yshop.pdman.json +++ /dev/null @@ -1,12704 +0,0 @@ -{ - "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": "" - } - ] - } - ], - "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": "" - } - ] - } - ], - "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": "" - } - ] - } - ], - "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": "" - } - ] - }, - { - "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": "" - } - ] - } - ], - "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": false, - "autoIncrement": false, - "defaultValue": "" - }, - { - "name": "cost", - "type": "DECIMAL UNSIGNED_8_2", - "chnname": "成本", - "remark": "", - "pk": false, - "notNull": false, - "autoIncrement": false, - "defaultValue": "" - }, - { - "name": "ot_price", - "type": "DECIMAL UNSIGNED_10_2", - "chnname": "原价", - "remark": "", - "pk": false, - "notNull": false, - "autoIncrement": false, - "defaultValue": "" - }, - { - "name": "give_integral", - "type": "DECIMAL UNSIGNED_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": "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": "" - }, - { - "name": "spec_type", - "type": "BIT_1", - "chnname": "规格 0单 1多", - "remark": "", - "pk": false, - "notNull": false, - "autoIncrement": false, - "defaultValue": "" - }, - { - "name": "temp_id", - "type": "INT_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": false, - "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": 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_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": "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": false, - "autoIncrement": false, - "defaultValue": "" - }, - { - "name": "spec_type", - "type": "BIT_1", - "chnname": "规格 0单 1多", - "remark": "", - "pk": false, - "notNull": false, - "autoIncrement": false, - "defaultValue": "" - }, - { - "name": "temp_id", - "type": "INT_10", - "chnname": "运费模板ID", - "remark": "", - "pk": false, - "notNull": false, - "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": "" - } - ], - "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_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_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": "" - }, - { - "name": "pink_price", - "type": "DECIMAL_8_2", - "chnname": "拼团价", - "remark": "", - "pk": false, - "notNull": true, - "autoIncrement": false, - "defaultValue": "" - }, - { - "name": "pink_stock", - "type": "INT_10", - "chnname": "拼团库存", - "remark": "", - "pk": false, - "notNull": true, - "autoIncrement": false, - "defaultValue": "" - }, - { - "name": "seckill_price", - "type": "DECIMAL_10_2", - "chnname": "秒杀价", - "remark": "", - "pk": false, - "notNull": true, - "autoIncrement": false, - "defaultValue": "" - }, - { - "name": "seckill_stock", - "type": "INT_10", - "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": "" - } - ] - }, - { - "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": "" - }, - { - "name": "type", - "type": "VARCHAR_30", - "chnname": "类型:template:模板消息 subscribe:订阅消息", - "remark": "", - "pk": false, - "notNull": false, - "autoIncrement": false, - "defaultValue": "" - } - ] - }, - { - "title": "yx_wechat_live_goods", - "chnname": "微信直播商品表", - "fields": [ - { - "name": "goods_id", - "type": "BIGINT_19", - "chnname": "直播商品id", - "remark": "", - "pk": true, - "notNull": true, - "autoIncrement": false, - "defaultValue": "" - }, - { - "name": "product_id", - "type": "BIGINT_19", - "chnname": "关联商品id", - "remark": "", - "pk": false, - "notNull": false, - "autoIncrement": false, - "defaultValue": "" - }, - { - "name": "cover_imge_url", - "type": "VARCHAR_255", - "chnname": "商品图片", - "remark": "", - "pk": false, - "notNull": true, - "autoIncrement": false, - "defaultValue": "" - }, - { - "name": "url", - "type": "VARCHAR_64", - "chnname": "商品小程序路径", - "remark": "", - "pk": false, - "notNull": true, - "autoIncrement": false, - "defaultValue": "" - }, - { - "name": "price_type", - "type": "VARCHAR_255", - "chnname": "价格类型 1:一口价(只需要传入price,price2不传) 2:价格区间(price字段为左边界,price2字段为右边界,price和price2必传) 3:显示折扣价(price字段为原价,price2字段为现价, price和price2必传)", - "remark": "", - "pk": false, - "notNull": true, - "autoIncrement": false, - "defaultValue": "" - }, - { - "name": "price", - "type": "VARCHAR_64", - "chnname": "", - "remark": "", - "pk": false, - "notNull": true, - "autoIncrement": false, - "defaultValue": "" - }, - { - "name": "price2", - "type": "VARCHAR_64", - "chnname": "", - "remark": "", - "pk": false, - "notNull": false, - "autoIncrement": false, - "defaultValue": "" - }, - { - "name": "name", - "type": "VARCHAR_255", - "chnname": "商品名称", - "remark": "", - "pk": false, - "notNull": true, - "autoIncrement": false, - "defaultValue": "" - }, - { - "name": "third_party_tag", - "type": "VARCHAR_255", - "chnname": "1, 2:表示是为api添加商品,否则是直播控制台添加的商品", - "remark": "", - "pk": false, - "notNull": false, - "autoIncrement": false, - "defaultValue": "" - }, - { - "name": "audit_id", - "type": "BIGINT_19", - "chnname": "审核单id", - "remark": "", - "pk": false, - "notNull": false, - "autoIncrement": false, - "defaultValue": "" - }, - { - "name": "audit_status", - "type": "INT UNSIGNED_10", - "chnname": "审核状态 0:未审核,1:审核中,2:审核通过,3审核失败", - "remark": "", - "pk": false, - "notNull": false, - "autoIncrement": false, - "defaultValue": "" - } - ] - }, - { - "title": "yx_wechat_live", - "chnname": "微信直播表", - "fields": [ - { - "name": "room_id", - "type": "BIGINT_19", - "chnname": "直播间id", - "remark": "", - "pk": true, - "notNull": true, - "autoIncrement": false, - "defaultValue": "" - }, - { - "name": "name", - "type": "VARCHAR_255", - "chnname": "直播间标题", - "remark": "", - "pk": false, - "notNull": true, - "autoIncrement": false, - "defaultValue": "" - }, - { - "name": "cover_imge", - "type": "VARCHAR_255", - "chnname": "背景图", - "remark": "", - "pk": false, - "notNull": false, - "autoIncrement": false, - "defaultValue": "" - }, - { - "name": "share_imge", - "type": "VARCHAR_255", - "chnname": "分享图片", - "remark": "", - "pk": false, - "notNull": false, - "autoIncrement": false, - "defaultValue": "" - }, - { - "name": "live_status", - "type": "INT_10", - "chnname": "直播间状态", - "remark": "", - "pk": false, - "notNull": false, - "autoIncrement": false, - "defaultValue": "" - }, - { - "name": "start_time", - "type": "BIGINT_19", - "chnname": "开始时间", - "remark": "", - "pk": false, - "notNull": false, - "autoIncrement": false, - "defaultValue": "" - }, - { - "name": "end_time", - "type": "BIGINT_19", - "chnname": "预计结束时间", - "remark": "", - "pk": false, - "notNull": false, - "autoIncrement": false, - "defaultValue": "" - }, - { - "name": "anchor_name", - "type": "VARCHAR_64", - "chnname": "主播昵称", - "remark": "", - "pk": false, - "notNull": false, - "autoIncrement": false, - "defaultValue": "" - }, - { - "name": "anchor_wechat", - "type": "VARCHAR_32", - "chnname": "主播微信号", - "remark": "", - "pk": false, - "notNull": false, - "autoIncrement": false, - "defaultValue": "" - }, - { - "name": "anchor_imge", - "type": "VARCHAR_255", - "chnname": "主播头像", - "remark": "", - "pk": false, - "notNull": false, - "autoIncrement": false, - "defaultValue": "" - }, - { - "name": "type", - "type": "BIT_1", - "chnname": "直播间类型 1:推流 0:手机直播", - "remark": "", - "pk": false, - "notNull": false, - "autoIncrement": false, - "defaultValue": "" - }, - { - "name": "screen_type", - "type": "BIT_1", - "chnname": "横屏、竖屏 【1:横屏,0:竖屏】", - "remark": "", - "pk": false, - "notNull": false, - "autoIncrement": false, - "defaultValue": "" - }, - { - "name": "close_like", - "type": "BIT_1", - "chnname": "是否关闭点赞 【0:开启,1:关闭】", - "remark": "", - "pk": false, - "notNull": false, - "autoIncrement": false, - "defaultValue": "" - }, - { - "name": "close_comment", - "type": "BIT_1", - "chnname": "是否关闭评论 【0:开启,1:关闭】", - "remark": "", - "pk": false, - "notNull": false, - "autoIncrement": false, - "defaultValue": "" - }, - { - "name": "close_goods", - "type": "BIT_1", - "chnname": "是否关闭货架 【0:开启,1:关闭】", - "remark": "", - "pk": false, - "notNull": false, - "autoIncrement": false, - "defaultValue": "" - }, - { - "name": "product_id", - "type": "VARCHAR_255", - "chnname": "商品id 多个,分割", - "remark": "", - "pk": false, - "notNull": false, - "autoIncrement": false, - "defaultValue": "" - }, - { - "name": "close_replay", - "type": "BIT_1", - "chnname": "是否关闭回放【0:开启,1:关闭】", - "remark": "", - "pk": false, - "notNull": false, - "autoIncrement": false, - "defaultValue": "" - }, - { - "name": "close_share", - "type": "BIT_1", - "chnname": "是否关闭分享【0:开启,1:关闭】", - "remark": "", - "pk": false, - "notNull": false, - "autoIncrement": false, - "defaultValue": "" - }, - { - "name": "close_kf", - "type": "BIT_1", - "chnname": "是否关闭客服【0:开启,1:关闭】", - "remark": "", - "pk": false, - "notNull": false, - "autoIncrement": false, - "defaultValue": "" - } - ] - } - ], - "graphCanvas": { - "nodes": [], - "edges": [] - }, - "associations": [] - }, - { - "name": "after_sales", - "chnname": "售后", - "entities": [ - { - "title": "yx_store_after_sales", - "fields": [ - { - "name": "id", - "type": "BIGINT UNSIGNED_20", - "remark": "", - "chnname": "", - "pk": true, - "notNull": true, - "autoIncrement": true - }, - { - "name": "order_code", - "type": "BIGINT UNSIGNED_20", - "remark": "", - "chnname": "订单号" - }, - { - "name": "refund_amount", - "type": "Money", - "remark": "", - "chnname": "退款金额" - }, - { - "name": "service_type", - "type": "YesNo", - "remark": "", - "chnname": "服务类型0仅退款1退货退款" - }, - { - "name": "reasons", - "type": "MiddleString", - "remark": "", - "chnname": "申请原因" - }, - { - "name": "explain", - "type": "LongText", - "remark": "", - "chnname": "说明" - }, - { - "name": "explain_img", - "type": "LongText", - "remark": "", - "chnname": "说明图片->多个用逗号分割" - }, - { - "name": "delivery_sn", - "type": "DefaultString", - "remark": "", - "chnname": "物流单号" - }, - { - "name": "delivery_name", - "type": "DefaultString", - "remark": "", - "chnname": "物流名称" - }, - { - "name": "state", - "type": "DefaultString", - "remark": "", - "chnname": "状态" - }, - { - "name": "create_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 - } - ], - "chnname": "售后记录表" - }, - { - "title": "yx_store_after_sales_item", - "fields": [ - { - "name": "id", - "type": "BIGINT UNSIGNED_20", - "remark": "", - "chnname": "主键id", - "pk": true, - "notNull": true, - "autoIncrement": true - }, - { - "name": "store_after_sales_id", - "type": "BIGINT UNSIGNED_20", - "remark": "", - "chnname": "售后id" - }, - { - "name": "product_id", - "type": "BIGINT UNSIGNED_20", - "remark": "", - "chnname": "商品id" - }, - { - "name": "cart_info", - "type": "DefaultString", - "remark": "", - "chnname": "退货东西的详情信息" - }, - { - "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 - } - ], - "chnname": "售后子表" - }, - { - "title": "yx_store_after_sales_status", - "fields": [ - { - "name": "id", - "type": "BIGINT UNSIGNED_20", - "remark": "", - "chnname": "", - "pk": true, - "notNull": true, - "autoIncrement": true - }, - { - "name": "store_after_sales_id", - "type": "BIGINT UNSIGNED_20", - "chnname": "售后id", - "remark": "", - "pk": false, - "notNull": false, - "autoIncrement": false, - "defaultValue": "" - }, - { - "name": "change_type", - "type": "DefaultString", - "chnname": "操作类型", - "remark": "", - "pk": false, - "notNull": false, - "autoIncrement": false, - "defaultValue": "" - }, - { - "name": "change_message", - "type": "ShortString", - "chnname": "操作备注", - "remark": "", - "pk": false, - "notNull": false, - "autoIncrement": false, - "defaultValue": "" - }, - { - "name": "change_time", - "type": "DateTime", - "remark": "", - "chnname": "操作时间" - }, - { - "name": "operator", - "type": "DefaultString", - "remark": "", - "chnname": "操作人" - } - ], - "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 - } - ], - "chnname": "售后订单操作详情表" - } - ], - "graphCanvas": { - "nodes": [], - "edges": [] - }, - "associations": [] - } - ], - "dataTypeDomains": { - "datatype": [ - { - "name": "默认字串", - "code": "DefaultString", - "apply": { - "JAVA": { - "type": "String" - }, - "MYSQL": { - "type": "VARCHAR(32)" - }, - "ORACLE": { - "type": "NVARCHAR2(32)" - }, - "SQLServer": { - "type": "NVARCHAR(32)" - }, - "PostgreSQL": { - "type": "VARCHAR(32)" - } - } - }, - { - "name": "标识号", - "code": "IdOrKey", - "apply": { - "JAVA": { - "type": "String" - }, - "ORACLE": { - "type": "VARCHAR2(32)" - }, - "MYSQL": { - "type": "VARCHAR(32)" - }, - "SQLServer": { - "type": "VARCHAR(32)" - }, - "PostgreSQL": { - "type": "VARCHAR(32)" - } - } - }, - { - "name": "标识号-长", - "code": "LongKey", - "apply": { - "MYSQL": { - "type": "VARCHAR(64)" - }, - "ORACLE": { - "type": "VARCHAR2(64)" - }, - "JAVA": { - "type": "String" - }, - "SQLServer": { - "type": "VARCHAR(64)" - }, - "PostgreSQL": { - "type": "VARCHAR(64)" - } - } - }, - { - "name": "名称", - "code": "Name", - "apply": { - "JAVA": { - "type": "String" - }, - "MYSQL": { - "type": "VARCHAR(128)" - }, - "ORACLE": { - "type": "NVARCHAR2(128)" - }, - "SQLServer": { - "type": "NVARCHAR(128)" - }, - "PostgreSQL": { - "type": "VARCHAR(128)" - } - } - }, - { - "name": "备注说明", - "code": "Intro", - "apply": { - "JAVA": { - "type": "String" - }, - "MYSQL": { - "type": "VARCHAR(512)" - }, - "ORACLE": { - "type": "NVARCHAR2(512)" - }, - "SQLServer": { - "type": "NVARCHAR(512)" - }, - "PostgreSQL": { - "type": "VARCHAR(512)" - } - } - }, - { - "name": "字串-短", - "code": "ShortString", - "apply": { - "JAVA": { - "type": "String" - }, - "MYSQL": { - "type": "VARCHAR(128)" - }, - "ORACLE": { - "type": "NVARCHAR2(128)" - }, - "SQLServer": { - "type": "NVARCHAR(128)" - }, - "PostgreSQL": { - "type": "VARCHAR(128)" - } - } - }, - { - "name": "字串-中", - "code": "MiddleString", - "apply": { - "JAVA": { - "type": "String" - }, - "MYSQL": { - "type": "VARCHAR(1024)" - }, - "ORACLE": { - "type": "NVARCHAR2(1024)" - }, - "SQLServer": { - "type": "NVARCHAR(1024)" - }, - "PostgreSQL": { - "type": "VARCHAR(1024)" - } - } - }, - { - "name": "字串-长", - "code": "LongString", - "apply": { - "JAVA": { - "type": "String" - }, - "ORACLE": { - "type": "NVARCHAR2(3072)" - }, - "MYSQL": { - "type": "VARCHAR(3072)" - }, - "SQLServer": { - "type": "NVARCHAR(3072)" - }, - "PostgreSQL": { - "type": "VARCHAR(3072)" - } - } - }, - { - "name": "大文本", - "code": "LongText", - "apply": { - "JAVA": { - "type": "String" - }, - "MYSQL": { - "type": "TEXT" - }, - "ORACLE": { - "type": "CLOB" - }, - "SQLServer": { - "type": "NTEXT" - }, - "PostgreSQL": { - "type": "TEXT" - } - } - }, - { - "name": "小数", - "code": "Double", - "apply": { - "JAVA": { - "type": "Double" - }, - "MYSQL": { - "type": "DECIMAL(32,10)" - }, - "ORACLE": { - "type": "NUMBER(32,10)" - }, - "SQLServer": { - "type": "DECIMAL(32,10)" - }, - "PostgreSQL": { - "type": "DECIMAL(32,10)" - } - } - }, - { - "name": "比例", - "code": "Ratio", - "apply": { - "MYSQL": { - "type": "DECIMAL(4,2)" - }, - "JAVA": { - "type": "Double" - }, - "ORACLE": { - "type": "NUMBER(4,2)" - }, - "SQLServer": { - "type": "DECIMAL(4,2)" - }, - "PostgreSQL": { - "type": "DECIMAL(4,2)" - } - } - }, - { - "name": "整数", - "code": "Integer", - "apply": { - "JAVA": { - "type": "Integer" - }, - "MYSQL": { - "type": "INT" - }, - "ORACLE": { - "type": "INT" - }, - "SQLServer": { - "type": "INT" - }, - "PostgreSQL": { - "type": "INT" - } - } - }, - { - "name": "大整数", - "code": "BigInt", - "apply": { - "MYSQL": { - "type": "BIGINT" - }, - "JAVA": { - "type": "Long" - }, - "ORACLE": { - "type": "NUMBER" - }, - "SQLServer": { - "type": "BIGINT" - }, - "PostgreSQL": { - "type": "BIGINT" - } - } - }, - { - "name": "金额", - "code": "Money", - "apply": { - "JAVA": { - "type": "Double" - }, - "MYSQL": { - "type": "DECIMAL(32,8)" - }, - "ORACLE": { - "type": "NUMBER(32,8)" - }, - "SQLServer": { - "type": "DECIMAL(32,8)" - }, - "PostgreSQL": { - "type": "DECIMAL(32,8)" - } - } - }, - { - "name": "是否", - "code": "YesNo", - "apply": { - "JAVA": { - "type": "String" - }, - "MYSQL": { - "type": "VARCHAR(1)" - }, - "ORACLE": { - "type": "VARCHAR2(1)" - }, - "SQLServer": { - "type": "VARCHAR(1)" - }, - "PostgreSQL": { - "type": "VARCHAR(1)" - } - } - }, - { - "name": "数据字典", - "code": "Dict", - "apply": { - "JAVA": { - "type": "String" - }, - "MYSQL": { - "type": "VARCHAR(32)" - }, - "ORACLE": { - "type": "VARCHAR2(32)" - }, - "SQLServer": { - "type": "VARCHAR(32)" - }, - "PostgreSQL": { - "type": "VARCHAR(32)" - } - } - }, - { - "name": "日期", - "code": "Date", - "apply": { - "JAVA": { - "type": "Date" - }, - "MYSQL": { - "type": "DATE" - }, - "ORACLE": { - "type": "DATE" - }, - "SQLServer": { - "type": "DATE" - }, - "PostgreSQL": { - "type": "DATE" - } - } - }, - { - "name": "日期时间", - "code": "DateTime", - "apply": { - "JAVA": { - "type": "Date" - }, - "MYSQL": { - "type": "DATETIME" - }, - "ORACLE": { - "type": "DATE" - }, - "SQLServer": { - "type": "DATE" - }, - "PostgreSQL": { - "type": "DATE" - } - } - }, - { - "name": "单字符", - "code": "Char", - "apply": { - "MYSQL": { - "type": "CHAR(1)" - }, - "ORACLE": { - "type": "CHAR(1)" - }, - "JAVA": { - "type": "String" - }, - "SQLServer": { - "type": "CHAR(1)" - }, - "PostgreSQL": { - "type": "CHAR(1)" - } - } - }, - { - "name": "BIGINT UNSIGNED_20", - "code": "BIGINT UNSIGNED_20", - "apply": { - "MYSQL": { - "type": "BIGINT UNSIGNED(20)" - } - } - }, - { - "name": "BIGINT_19", - "code": "BIGINT_19", - "apply": { - "MYSQL": { - "type": "BIGINT(19)" - } - } - }, - { - "name": "BIT_1", - "code": "BIT_1", - "apply": { - "MYSQL": { - "type": "BIT(1)" - } - } - }, - { - "name": "CHAR_100", - "code": "CHAR_100", - "apply": { - "MYSQL": { - "type": "CHAR(100)" - } - } - }, - { - "name": "CHAR_15", - "code": "CHAR_15", - "apply": { - "MYSQL": { - "type": "CHAR(15)" - } - } - }, - { - "name": "CHAR_2", - "code": "CHAR_2", - "apply": { - "MYSQL": { - "type": "CHAR(2)" - } - } - }, - { - "name": "CHAR_25", - "code": "CHAR_25", - "apply": { - "MYSQL": { - "type": "CHAR(25)" - } - } - }, - { - "name": "CHAR_30", - "code": "CHAR_30", - "apply": { - "MYSQL": { - "type": "CHAR(30)" - } - } - }, - { - "name": "CHAR_32", - "code": "CHAR_32", - "apply": { - "MYSQL": { - "type": "CHAR(32)" - } - } - }, - { - "name": "CHAR_50", - "code": "CHAR_50", - "apply": { - "MYSQL": { - "type": "CHAR(50)" - } - } - }, - { - "name": "DATE", - "code": "DATE", - "apply": { - "MYSQL": { - "type": "DATE" - } - } - }, - { - "name": "DATETIME", - "code": "DATETIME", - "apply": { - "MYSQL": { - "type": "DATETIME" - } - } - }, - { - "name": "DECIMAL UNSIGNED_10_2", - "code": "DECIMAL UNSIGNED_10_2", - "apply": { - "MYSQL": { - "type": "DECIMAL UNSIGNED(10,2)" - } - } - }, - { - "name": "DECIMAL UNSIGNED_8_2", - "code": "DECIMAL UNSIGNED_8_2", - "apply": { - "MYSQL": { - "type": "DECIMAL UNSIGNED(8,2)" - } - } - }, - { - "name": "DECIMAL_10_2", - "code": "DECIMAL_10_2", - "apply": { - "MYSQL": { - "type": "DECIMAL(10,2)" - } - } - }, - { - "name": "DECIMAL_8_2", - "code": "DECIMAL_8_2", - "apply": { - "MYSQL": { - "type": "DECIMAL(8,2)" - } - } - }, - { - "name": "DOUBLE_22", - "code": "DOUBLE_22", - "apply": { - "MYSQL": { - "type": "DOUBLE(22)" - } - } - }, - { - "name": "INT UNSIGNED_10", - "code": "INT UNSIGNED_10", - "apply": { - "MYSQL": { - "type": "INT UNSIGNED(10)" - } - } - }, - { - "name": "INT_10", - "code": "INT_10", - "apply": { - "MYSQL": { - "type": "INT(10)" - } - } - }, - { - "name": "JSON", - "code": "JSON", - "apply": { - "MYSQL": { - "type": "JSON" - } - } - }, - { - "name": "MEDIUMINT UNSIGNED_8", - "code": "MEDIUMINT UNSIGNED_8", - "apply": { - "MYSQL": { - "type": "MEDIUMINT UNSIGNED(8)" - } - } - }, - { - "name": "MEDIUMINT_7", - "code": "MEDIUMINT_7", - "apply": { - "MYSQL": { - "type": "MEDIUMINT(7)" - } - } - }, - { - "name": "SMALLINT UNSIGNED_5", - "code": "SMALLINT UNSIGNED_5", - "apply": { - "MYSQL": { - "type": "SMALLINT UNSIGNED(5)" - } - } - }, - { - "name": "SMALLINT_5", - "code": "SMALLINT_5", - "apply": { - "MYSQL": { - "type": "SMALLINT(5)" - } - } - }, - { - "name": "TEXT", - "code": "TEXT", - "apply": { - "MYSQL": { - "type": "TEXT" - } - } - }, - { - "name": "TINYINT UNSIGNED_1", - "code": "TINYINT UNSIGNED_1", - "apply": { - "MYSQL": { - "type": "TINYINT UNSIGNED(1)" - } - } - }, - { - "name": "TINYINT UNSIGNED_3", - "code": "TINYINT UNSIGNED_3", - "apply": { - "MYSQL": { - "type": "TINYINT UNSIGNED(3)" - } - } - }, - { - "name": "TINYINT_3", - "code": "TINYINT_3", - "apply": { - "MYSQL": { - "type": "TINYINT(3)" - } - } - }, - { - "name": "VARCHAR_100", - "code": "VARCHAR_100", - "apply": { - "MYSQL": { - "type": "VARCHAR(100)" - } - } - }, - { - "name": "VARCHAR_1000", - "code": "VARCHAR_1000", - "apply": { - "MYSQL": { - "type": "VARCHAR(1000)" - } - } - }, - { - "name": "VARCHAR_128", - "code": "VARCHAR_128", - "apply": { - "MYSQL": { - "type": "VARCHAR(128)" - } - } - }, - { - "name": "VARCHAR_15", - "code": "VARCHAR_15", - "apply": { - "MYSQL": { - "type": "VARCHAR(15)" - } - } - }, - { - "name": "VARCHAR_150", - "code": "VARCHAR_150", - "apply": { - "MYSQL": { - "type": "VARCHAR(150)" - } - } - }, - { - "name": "VARCHAR_16", - "code": "VARCHAR_16", - "apply": { - "MYSQL": { - "type": "VARCHAR(16)" - } - } - }, - { - "name": "VARCHAR_18", - "code": "VARCHAR_18", - "apply": { - "MYSQL": { - "type": "VARCHAR(18)" - } - } - }, - { - "name": "VARCHAR_20", - "code": "VARCHAR_20", - "apply": { - "MYSQL": { - "type": "VARCHAR(20)" - } - } - }, - { - "name": "VARCHAR_200", - "code": "VARCHAR_200", - "apply": { - "MYSQL": { - "type": "VARCHAR(200)" - } - } - }, - { - "name": "VARCHAR_2000", - "code": "VARCHAR_2000", - "apply": { - "MYSQL": { - "type": "VARCHAR(2000)" - } - } - }, - { - "name": "VARCHAR_25", - "code": "VARCHAR_25", - "apply": { - "MYSQL": { - "type": "VARCHAR(25)" - } - } - }, - { - "name": "VARCHAR_255", - "code": "VARCHAR_255", - "apply": { - "MYSQL": { - "type": "VARCHAR(255)" - } - } - }, - { - "name": "VARCHAR_256", - "code": "VARCHAR_256", - "apply": { - "MYSQL": { - "type": "VARCHAR(256)" - } - } - }, - { - "name": "VARCHAR_30", - "code": "VARCHAR_30", - "apply": { - "MYSQL": { - "type": "VARCHAR(30)" - } - } - }, - { - "name": "VARCHAR_300", - "code": "VARCHAR_300", - "apply": { - "MYSQL": { - "type": "VARCHAR(300)" - } - } - }, - { - "name": "VARCHAR_32", - "code": "VARCHAR_32", - "apply": { - "MYSQL": { - "type": "VARCHAR(32)" - } - } - }, - { - "name": "VARCHAR_36", - "code": "VARCHAR_36", - "apply": { - "MYSQL": { - "type": "VARCHAR(36)" - } - } - }, - { - "name": "VARCHAR_50", - "code": "VARCHAR_50", - "apply": { - "MYSQL": { - "type": "VARCHAR(50)" - } - } - }, - { - "name": "VARCHAR_500", - "code": "VARCHAR_500", - "apply": { - "MYSQL": { - "type": "VARCHAR(500)" - } - } - }, - { - "name": "VARCHAR_5000", - "code": "VARCHAR_5000", - "apply": { - "MYSQL": { - "type": "VARCHAR(5000)" - } - } - }, - { - "name": "VARCHAR_512", - "code": "VARCHAR_512", - "apply": { - "MYSQL": { - "type": "VARCHAR(512)" - } - } - }, - { - "name": "VARCHAR_64", - "code": "VARCHAR_64", - "apply": { - "MYSQL": { - "type": "VARCHAR(64)" - } - } - } - ], - "database": [ - { - "code": "MYSQL", - "template": "DROP TABLE {{=it.entity.title}};\n$blankline\nCREATE TABLE {{=it.entity.title}}(\n{{ pkList = [] ; }}\n{{~it.entity.fields:field:index}}\n {{? field.pk }}{{ pkList.push(field.name) }}{{?}}\n {{=field.name}} {{=field.type}} {{= field.pk ? 'NOT NULL' : '' }} COMMENT '{{=it.func.join(field.chnname,field.remark,';')}}' {{= index < it.entity.fields.length-1 ? ',' : ( pkList.length>0 ? ',' :'' ) }}\n{{~}}\n{{? pkList.length >0 }}\n PRIMARY KEY ({{~pkList:pkName:i}}{{= pkName }}{{= i0 ? ',' :'' ) }}\n{{~}}\n{{? pkList.length >0 }}\n PRIMARY KEY ({{~pkList:pkName:i}}{{= pkName }}{{= i0 ? ',' :'' ) }}\n{{~}}\n{{? pkList.length >0 }}\n PRIMARY KEY ({{~pkList:pkName:i}}{{= pkName }}{{= i0 ? ',' :'' ) }}\n{{~}}\n{{? pkList.length >0 }}\n PRIMARY KEY ({{~pkList:pkName:i}}{{= pkName }}{{= i0 ? ',' :'' ) }}\n{{~}}\n{{? pkList.length >0 }}\n PRIMARY KEY ({{~pkList:pkName:i}}{{= pkName }}{{= i0 ? ',' :'' ) }}\n{{~}}{{? pkList.length >0 }} PRIMARY KEY ({{~pkList:pkName:i}}{{= pkName }}{{= i0 ? ',' :'' ) }}\n{{~}}\n{{? pkList.length >0 }}\n CONSTRAINT PK_{{=it.entity.title}} PRIMARY KEY CLUSTERED ({{~pkList:pkName:i}}{{= pkName }} ASC {{= i0 ? ',' :'' ) }}\n{{~}}\n{{? pkList.length >0 }}\n PRIMARY KEY ({{~pkList:pkName:i}}{{= pkName }}{{= i0 ? ',' :'' ) }}\n{{~}}\n{{? pkList.length >0 }}\n PRIMARY KEY ({{~pkList:pkName:i}}{{= pkName }}{{= i0 ? ',' :'' ) }}\n{{~}}\n{{? pkList.length >0 }}\n PRIMARY KEY ({{~pkList:pkName:i}}{{= pkName }}{{= i多个用逗号分割', - `shipper_code` varchar(255) COLLATE utf8_bin DEFAULT NULL COMMENT '物流公司编码', - `delivery_sn` varchar(32) COLLATE utf8_bin DEFAULT NULL COMMENT '物流单号', - `delivery_name` varchar(32) COLLATE utf8_bin DEFAULT NULL COMMENT '物流名称', - `state` tinyint(1) DEFAULT NULL COMMENT '状态 0已提交等待平台审核 1平台已审核 等待用户发货/退款 2 用户已发货 3退款成功', - `sales_state` tinyint(1) DEFAULT NULL COMMENT '售后状态-0正常1用户取消2商家拒绝', - `create_time` datetime DEFAULT NULL COMMENT '添加时间', - `is_del` tinyint(1) DEFAULT NULL COMMENT '逻辑删除', - `user_id` bigint(20) DEFAULT NULL COMMENT '用户id', - `consignee` varchar(255) COLLATE utf8_bin DEFAULT NULL COMMENT '商家收货人', - `phone_number` varchar(255) COLLATE utf8_bin DEFAULT NULL COMMENT '商家手机号', - `address` varchar(255) COLLATE utf8_bin DEFAULT NULL COMMENT '商家地址', - PRIMARY KEY (`id`) -) ENGINE=InnoDB AUTO_INCREMENT=8 DEFAULT CHARSET=utf8 COLLATE=utf8_bin COMMENT='售后记录表'; - - -ALTER TABLE yx_store_order_cart_info ADD COLUMN is_after_sales tinyint(1) unsigned zerofill DEFAULT '0' COMMENT '是否能售后 0不能1能'; - - -INSERT INTO `menu` VALUES (266, b'0', '售后', 'shop/afterSeals/index', 53, 44, 'order', 'afterSeals', b'0', b'0', 'AfterSeals', '2021-06-30 15:23:38', 'yxStoreAfterSales:list', 1, '2021-06-30 15:33:14', 0); -INSERT INTO `menu` VALUES (267, b'0', '新增', NULL, 266, 999, NULL, NULL, b'0', b'0', '-', '2021-06-30 15:34:17', 'yxStoreAfterSales:add', 2, NULL, 0); -INSERT INTO `menu` VALUES (268, b'0', '修改', NULL, 266, 999, NULL, NULL, b'0', b'0', '-', '2021-06-30 15:34:39', 'yxStoreAfterSales:edit', 2, NULL, 0); -INSERT INTO `menu` VALUES (269, b'0', '删除', NULL, 266, 999, NULL, NULL, b'0', b'0', '-', '2021-06-30 15:34:55', 'yxStoreAfterSales:del', 2, NULL, 0); - -INSERT INTO `roles_menus` VALUES (266, 1); -INSERT INTO `roles_menus` VALUES (267, 1); -INSERT INTO `roles_menus` VALUES (268, 1); -INSERT INTO `roles_menus` VALUES (269, 1);