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

11247 lines
315 KiB

  1. {
  2. "modules": [
  3. {
  4. "name": "DB_REVERSE_MYSQL",
  5. "chnname": "逆向解析_MYSQL",
  6. "entities": [
  7. {
  8. "title": "monitor_server",
  9. "chnname": "服务监控",
  10. "fields": [
  11. {
  12. "name": "id",
  13. "type": "INT_10",
  14. "chnname": "",
  15. "remark": "",
  16. "pk": true,
  17. "notNull": true,
  18. "autoIncrement": true,
  19. "defaultValue": ""
  20. },
  21. {
  22. "name": "cpu_core",
  23. "type": "INT_10",
  24. "chnname": "CPU内核数",
  25. "remark": "",
  26. "pk": false,
  27. "notNull": false,
  28. "autoIncrement": false,
  29. "defaultValue": ""
  30. },
  31. {
  32. "name": "cpu_rate",
  33. "type": "DOUBLE_22",
  34. "chnname": "CPU使用率",
  35. "remark": "",
  36. "pk": false,
  37. "notNull": false,
  38. "autoIncrement": false,
  39. "defaultValue": ""
  40. },
  41. {
  42. "name": "disk_total",
  43. "type": "DOUBLE_22",
  44. "chnname": "磁盘总量",
  45. "remark": "",
  46. "pk": false,
  47. "notNull": false,
  48. "autoIncrement": false,
  49. "defaultValue": ""
  50. },
  51. {
  52. "name": "disk_used",
  53. "type": "DOUBLE_22",
  54. "chnname": "磁盘使用量",
  55. "remark": "",
  56. "pk": false,
  57. "notNull": false,
  58. "autoIncrement": false,
  59. "defaultValue": ""
  60. },
  61. {
  62. "name": "mem_total",
  63. "type": "DOUBLE_22",
  64. "chnname": "内存总数",
  65. "remark": "",
  66. "pk": false,
  67. "notNull": false,
  68. "autoIncrement": false,
  69. "defaultValue": ""
  70. },
  71. {
  72. "name": "mem_used",
  73. "type": "DOUBLE_22",
  74. "chnname": "内存使用量",
  75. "remark": "",
  76. "pk": false,
  77. "notNull": false,
  78. "autoIncrement": false,
  79. "defaultValue": ""
  80. },
  81. {
  82. "name": "name",
  83. "type": "VARCHAR_255",
  84. "chnname": "名称",
  85. "remark": "",
  86. "pk": false,
  87. "notNull": false,
  88. "autoIncrement": false,
  89. "defaultValue": ""
  90. },
  91. {
  92. "name": "port",
  93. "type": "INT_10",
  94. "chnname": "访问端口",
  95. "remark": "",
  96. "pk": false,
  97. "notNull": false,
  98. "autoIncrement": false,
  99. "defaultValue": ""
  100. },
  101. {
  102. "name": "sort",
  103. "type": "INT_10",
  104. "chnname": "排序",
  105. "remark": "",
  106. "pk": false,
  107. "notNull": false,
  108. "autoIncrement": false,
  109. "defaultValue": ""
  110. },
  111. {
  112. "name": "state",
  113. "type": "VARCHAR_255",
  114. "chnname": "状态",
  115. "remark": "",
  116. "pk": false,
  117. "notNull": false,
  118. "autoIncrement": false,
  119. "defaultValue": ""
  120. },
  121. {
  122. "name": "swap_total",
  123. "type": "DOUBLE_22",
  124. "chnname": "交换区总量",
  125. "remark": "",
  126. "pk": false,
  127. "notNull": false,
  128. "autoIncrement": false,
  129. "defaultValue": ""
  130. },
  131. {
  132. "name": "swap_used",
  133. "type": "DOUBLE_22",
  134. "chnname": "交换区使用量",
  135. "remark": "",
  136. "pk": false,
  137. "notNull": false,
  138. "autoIncrement": false,
  139. "defaultValue": ""
  140. },
  141. {
  142. "name": "address",
  143. "type": "VARCHAR_255",
  144. "chnname": "服务地址",
  145. "remark": "",
  146. "pk": false,
  147. "notNull": true,
  148. "autoIncrement": false,
  149. "defaultValue": ""
  150. }
  151. ],
  152. "indexs": [],
  153. "headers": [
  154. {
  155. "fieldName": "chnname",
  156. "relationNoShow": false
  157. },
  158. {
  159. "fieldName": "name",
  160. "relationNoShow": false
  161. },
  162. {
  163. "fieldName": "type",
  164. "relationNoShow": false
  165. },
  166. {
  167. "fieldName": "dataType",
  168. "relationNoShow": true
  169. },
  170. {
  171. "fieldName": "remark",
  172. "relationNoShow": true
  173. },
  174. {
  175. "fieldName": "pk",
  176. "relationNoShow": false
  177. },
  178. {
  179. "fieldName": "notNull",
  180. "relationNoShow": true
  181. },
  182. {
  183. "fieldName": "autoIncrement",
  184. "relationNoShow": true
  185. },
  186. {
  187. "fieldName": "defaultValue",
  188. "relationNoShow": true
  189. },
  190. {
  191. "fieldName": "relationNoShow",
  192. "relationNoShow": true
  193. },
  194. {
  195. "fieldName": "uiHint",
  196. "relationNoShow": true
  197. }
  198. ]
  199. }
  200. ],
  201. "graphCanvas": {
  202. "edges": [],
  203. "nodes": []
  204. },
  205. "associations": []
  206. },
  207. {
  208. "name": "tools",
  209. "chnname": "工具模块",
  210. "entities": [
  211. {
  212. "title": "email_config",
  213. "chnname": "邮箱配置",
  214. "fields": [
  215. {
  216. "name": "id",
  217. "type": "BIGINT_19",
  218. "chnname": "ID",
  219. "remark": "",
  220. "pk": true,
  221. "notNull": true,
  222. "autoIncrement": true,
  223. "defaultValue": ""
  224. },
  225. {
  226. "name": "from_user",
  227. "type": "VARCHAR_255",
  228. "chnname": "收件人",
  229. "remark": "",
  230. "pk": false,
  231. "notNull": false,
  232. "autoIncrement": false,
  233. "defaultValue": ""
  234. },
  235. {
  236. "name": "host",
  237. "type": "VARCHAR_255",
  238. "chnname": "邮件服务器SMTP地址",
  239. "remark": "",
  240. "pk": false,
  241. "notNull": false,
  242. "autoIncrement": false,
  243. "defaultValue": ""
  244. },
  245. {
  246. "name": "pass",
  247. "type": "VARCHAR_255",
  248. "chnname": "密码",
  249. "remark": "",
  250. "pk": false,
  251. "notNull": false,
  252. "autoIncrement": false,
  253. "defaultValue": ""
  254. },
  255. {
  256. "name": "port",
  257. "type": "VARCHAR_255",
  258. "chnname": "端口",
  259. "remark": "",
  260. "pk": false,
  261. "notNull": false,
  262. "autoIncrement": false,
  263. "defaultValue": ""
  264. },
  265. {
  266. "name": "user",
  267. "type": "VARCHAR_255",
  268. "chnname": "发件者用户名",
  269. "remark": "",
  270. "pk": false,
  271. "notNull": false,
  272. "autoIncrement": false,
  273. "defaultValue": ""
  274. }
  275. ]
  276. },
  277. {
  278. "title": "local_storage",
  279. "chnname": "本地存储",
  280. "fields": [
  281. {
  282. "name": "id",
  283. "type": "BIGINT_19",
  284. "chnname": "",
  285. "remark": "",
  286. "pk": true,
  287. "notNull": true,
  288. "autoIncrement": true,
  289. "defaultValue": ""
  290. },
  291. {
  292. "name": "real_name",
  293. "type": "VARCHAR_255",
  294. "chnname": "文件真实的名称",
  295. "remark": "",
  296. "pk": false,
  297. "notNull": false,
  298. "autoIncrement": false,
  299. "defaultValue": ""
  300. },
  301. {
  302. "name": "name",
  303. "type": "VARCHAR_255",
  304. "chnname": "文件名",
  305. "remark": "",
  306. "pk": false,
  307. "notNull": false,
  308. "autoIncrement": false,
  309. "defaultValue": ""
  310. },
  311. {
  312. "name": "suffix",
  313. "type": "VARCHAR_255",
  314. "chnname": "后缀",
  315. "remark": "",
  316. "pk": false,
  317. "notNull": false,
  318. "autoIncrement": false,
  319. "defaultValue": ""
  320. },
  321. {
  322. "name": "path",
  323. "type": "VARCHAR_255",
  324. "chnname": "路径",
  325. "remark": "",
  326. "pk": false,
  327. "notNull": false,
  328. "autoIncrement": false,
  329. "defaultValue": ""
  330. },
  331. {
  332. "name": "type",
  333. "type": "VARCHAR_255",
  334. "chnname": "类型",
  335. "remark": "",
  336. "pk": false,
  337. "notNull": false,
  338. "autoIncrement": false,
  339. "defaultValue": ""
  340. },
  341. {
  342. "name": "size",
  343. "type": "VARCHAR_100",
  344. "chnname": "大小",
  345. "remark": "",
  346. "pk": false,
  347. "notNull": false,
  348. "autoIncrement": false,
  349. "defaultValue": ""
  350. },
  351. {
  352. "name": "operate",
  353. "type": "VARCHAR_255",
  354. "chnname": "操作人",
  355. "remark": "",
  356. "pk": false,
  357. "notNull": false,
  358. "autoIncrement": false,
  359. "defaultValue": ""
  360. },
  361. {
  362. "name": "create_time",
  363. "type": "DATETIME",
  364. "chnname": "创建日期",
  365. "remark": "",
  366. "pk": false,
  367. "notNull": false,
  368. "autoIncrement": false,
  369. "defaultValue": ""
  370. }
  371. ]
  372. },
  373. {
  374. "title": "picture",
  375. "chnname": "Sm.Ms图床",
  376. "fields": [
  377. {
  378. "name": "id",
  379. "type": "BIGINT_19",
  380. "chnname": "ID",
  381. "remark": "",
  382. "pk": true,
  383. "notNull": true,
  384. "autoIncrement": true,
  385. "defaultValue": ""
  386. },
  387. {
  388. "name": "create_time",
  389. "type": "DATETIME",
  390. "chnname": "上传日期",
  391. "remark": "",
  392. "pk": false,
  393. "notNull": false,
  394. "autoIncrement": false,
  395. "defaultValue": ""
  396. },
  397. {
  398. "name": "delete_url",
  399. "type": "VARCHAR_255",
  400. "chnname": "删除的URL",
  401. "remark": "",
  402. "pk": false,
  403. "notNull": false,
  404. "autoIncrement": false,
  405. "defaultValue": ""
  406. },
  407. {
  408. "name": "filename",
  409. "type": "VARCHAR_255",
  410. "chnname": "图片名称",
  411. "remark": "",
  412. "pk": false,
  413. "notNull": false,
  414. "autoIncrement": false,
  415. "defaultValue": ""
  416. },
  417. {
  418. "name": "height",
  419. "type": "VARCHAR_255",
  420. "chnname": "图片高度",
  421. "remark": "",
  422. "pk": false,
  423. "notNull": false,
  424. "autoIncrement": false,
  425. "defaultValue": ""
  426. },
  427. {
  428. "name": "size",
  429. "type": "VARCHAR_255",
  430. "chnname": "图片大小",
  431. "remark": "",
  432. "pk": false,
  433. "notNull": false,
  434. "autoIncrement": false,
  435. "defaultValue": ""
  436. },
  437. {
  438. "name": "url",
  439. "type": "VARCHAR_255",
  440. "chnname": "图片地址",
  441. "remark": "",
  442. "pk": false,
  443. "notNull": false,
  444. "autoIncrement": false,
  445. "defaultValue": ""
  446. },
  447. {
  448. "name": "username",
  449. "type": "VARCHAR_255",
  450. "chnname": "用户名称",
  451. "remark": "",
  452. "pk": false,
  453. "notNull": false,
  454. "autoIncrement": false,
  455. "defaultValue": ""
  456. },
  457. {
  458. "name": "width",
  459. "type": "VARCHAR_255",
  460. "chnname": "图片宽度",
  461. "remark": "",
  462. "pk": false,
  463. "notNull": false,
  464. "autoIncrement": false,
  465. "defaultValue": ""
  466. },
  467. {
  468. "name": "md5code",
  469. "type": "VARCHAR_255",
  470. "chnname": "文件的MD5值",
  471. "remark": "",
  472. "pk": false,
  473. "notNull": false,
  474. "autoIncrement": false,
  475. "defaultValue": ""
  476. }
  477. ]
  478. },
  479. {
  480. "title": "qiniu_config",
  481. "chnname": "七牛云配置",
  482. "fields": [
  483. {
  484. "name": "id",
  485. "type": "BIGINT_19",
  486. "chnname": "ID",
  487. "remark": "",
  488. "pk": true,
  489. "notNull": true,
  490. "autoIncrement": true,
  491. "defaultValue": ""
  492. },
  493. {
  494. "name": "access_key",
  495. "type": "TEXT",
  496. "chnname": "accessKey",
  497. "remark": "",
  498. "pk": false,
  499. "notNull": false,
  500. "autoIncrement": false,
  501. "defaultValue": ""
  502. },
  503. {
  504. "name": "bucket",
  505. "type": "VARCHAR_255",
  506. "chnname": "Bucket 识别符",
  507. "remark": "",
  508. "pk": false,
  509. "notNull": false,
  510. "autoIncrement": false,
  511. "defaultValue": ""
  512. },
  513. {
  514. "name": "host",
  515. "type": "VARCHAR_255",
  516. "chnname": "外链域名",
  517. "remark": "",
  518. "pk": false,
  519. "notNull": true,
  520. "autoIncrement": false,
  521. "defaultValue": ""
  522. },
  523. {
  524. "name": "secret_key",
  525. "type": "TEXT",
  526. "chnname": "secretKey",
  527. "remark": "",
  528. "pk": false,
  529. "notNull": false,
  530. "autoIncrement": false,
  531. "defaultValue": ""
  532. },
  533. {
  534. "name": "type",
  535. "type": "VARCHAR_255",
  536. "chnname": "空间类型",
  537. "remark": "",
  538. "pk": false,
  539. "notNull": false,
  540. "autoIncrement": false,
  541. "defaultValue": ""
  542. },
  543. {
  544. "name": "zone",
  545. "type": "VARCHAR_255",
  546. "chnname": "机房",
  547. "remark": "",
  548. "pk": false,
  549. "notNull": false,
  550. "autoIncrement": false,
  551. "defaultValue": ""
  552. }
  553. ]
  554. },
  555. {
  556. "title": "qiniu_content",
  557. "chnname": "七牛云文件存储",
  558. "fields": [
  559. {
  560. "name": "id",
  561. "type": "BIGINT_19",
  562. "chnname": "ID",
  563. "remark": "",
  564. "pk": true,
  565. "notNull": true,
  566. "autoIncrement": true,
  567. "defaultValue": ""
  568. },
  569. {
  570. "name": "bucket",
  571. "type": "VARCHAR_255",
  572. "chnname": "Bucket 识别符",
  573. "remark": "",
  574. "pk": false,
  575. "notNull": false,
  576. "autoIncrement": false,
  577. "defaultValue": ""
  578. },
  579. {
  580. "name": "name",
  581. "type": "VARCHAR_255",
  582. "chnname": "文件名称",
  583. "remark": "",
  584. "pk": false,
  585. "notNull": false,
  586. "autoIncrement": false,
  587. "defaultValue": ""
  588. },
  589. {
  590. "name": "size",
  591. "type": "VARCHAR_255",
  592. "chnname": "文件大小",
  593. "remark": "",
  594. "pk": false,
  595. "notNull": false,
  596. "autoIncrement": false,
  597. "defaultValue": ""
  598. },
  599. {
  600. "name": "type",
  601. "type": "VARCHAR_255",
  602. "chnname": "文件类型:私有或公开",
  603. "remark": "",
  604. "pk": false,
  605. "notNull": false,
  606. "autoIncrement": false,
  607. "defaultValue": ""
  608. },
  609. {
  610. "name": "update_time",
  611. "type": "DATETIME",
  612. "chnname": "上传或同步的时间",
  613. "remark": "",
  614. "pk": false,
  615. "notNull": false,
  616. "autoIncrement": false,
  617. "defaultValue": ""
  618. },
  619. {
  620. "name": "url",
  621. "type": "VARCHAR_255",
  622. "chnname": "文件url",
  623. "remark": "",
  624. "pk": false,
  625. "notNull": false,
  626. "autoIncrement": false,
  627. "defaultValue": ""
  628. },
  629. {
  630. "name": "suffix",
  631. "type": "VARCHAR_255",
  632. "chnname": "",
  633. "remark": "",
  634. "pk": false,
  635. "notNull": false,
  636. "autoIncrement": false,
  637. "defaultValue": ""
  638. }
  639. ]
  640. },
  641. {
  642. "title": "verification_code",
  643. "chnname": "验证码",
  644. "fields": [
  645. {
  646. "name": "id",
  647. "type": "BIGINT_19",
  648. "chnname": "ID",
  649. "remark": "",
  650. "pk": true,
  651. "notNull": true,
  652. "autoIncrement": true,
  653. "defaultValue": ""
  654. },
  655. {
  656. "name": "code",
  657. "type": "VARCHAR_255",
  658. "chnname": "验证码",
  659. "remark": "",
  660. "pk": false,
  661. "notNull": false,
  662. "autoIncrement": false,
  663. "defaultValue": ""
  664. },
  665. {
  666. "name": "create_time",
  667. "type": "DATETIME",
  668. "chnname": "创建日期",
  669. "remark": "",
  670. "pk": false,
  671. "notNull": false,
  672. "autoIncrement": false,
  673. "defaultValue": ""
  674. },
  675. {
  676. "name": "status",
  677. "type": "BIT_1",
  678. "chnname": "状态:1有效、0过期",
  679. "remark": "",
  680. "pk": false,
  681. "notNull": false,
  682. "autoIncrement": false,
  683. "defaultValue": ""
  684. },
  685. {
  686. "name": "type",
  687. "type": "VARCHAR_255",
  688. "chnname": "验证码类型:email或者短信",
  689. "remark": "",
  690. "pk": false,
  691. "notNull": false,
  692. "autoIncrement": false,
  693. "defaultValue": ""
  694. },
  695. {
  696. "name": "value",
  697. "type": "VARCHAR_255",
  698. "chnname": "接收邮箱或者手机号码",
  699. "remark": "",
  700. "pk": false,
  701. "notNull": false,
  702. "autoIncrement": false,
  703. "defaultValue": ""
  704. },
  705. {
  706. "name": "scenes",
  707. "type": "VARCHAR_255",
  708. "chnname": "业务名称:如重置邮箱、重置密码等",
  709. "remark": "",
  710. "pk": false,
  711. "notNull": false,
  712. "autoIncrement": false,
  713. "defaultValue": ""
  714. }
  715. ]
  716. },
  717. {
  718. "title": "alipay_config",
  719. "chnname": "支付宝配置类",
  720. "fields": [
  721. {
  722. "name": "id",
  723. "type": "BIGINT_19",
  724. "chnname": "主键",
  725. "remark": "",
  726. "pk": true,
  727. "notNull": true,
  728. "autoIncrement": true,
  729. "defaultValue": ""
  730. },
  731. {
  732. "name": "app_id",
  733. "type": "VARCHAR_255",
  734. "chnname": "应用ID",
  735. "remark": "",
  736. "pk": false,
  737. "notNull": false,
  738. "autoIncrement": false,
  739. "defaultValue": ""
  740. },
  741. {
  742. "name": "charset",
  743. "type": "VARCHAR_255",
  744. "chnname": "编码",
  745. "remark": "",
  746. "pk": false,
  747. "notNull": false,
  748. "autoIncrement": false,
  749. "defaultValue": ""
  750. },
  751. {
  752. "name": "format",
  753. "type": "VARCHAR_255",
  754. "chnname": "类型 固定格式json",
  755. "remark": "",
  756. "pk": false,
  757. "notNull": false,
  758. "autoIncrement": false,
  759. "defaultValue": ""
  760. },
  761. {
  762. "name": "gateway_url",
  763. "type": "VARCHAR_255",
  764. "chnname": "网关地址",
  765. "remark": "",
  766. "pk": false,
  767. "notNull": false,
  768. "autoIncrement": false,
  769. "defaultValue": ""
  770. },
  771. {
  772. "name": "notify_url",
  773. "type": "VARCHAR_255",
  774. "chnname": "异步回调",
  775. "remark": "",
  776. "pk": false,
  777. "notNull": false,
  778. "autoIncrement": false,
  779. "defaultValue": ""
  780. },
  781. {
  782. "name": "private_key",
  783. "type": "TEXT",
  784. "chnname": "私钥",
  785. "remark": "",
  786. "pk": false,
  787. "notNull": false,
  788. "autoIncrement": false,
  789. "defaultValue": ""
  790. },
  791. {
  792. "name": "public_key",
  793. "type": "TEXT",
  794. "chnname": "公钥",
  795. "remark": "",
  796. "pk": false,
  797. "notNull": false,
  798. "autoIncrement": false,
  799. "defaultValue": ""
  800. },
  801. {
  802. "name": "return_url",
  803. "type": "VARCHAR_255",
  804. "chnname": "回调地址",
  805. "remark": "",
  806. "pk": false,
  807. "notNull": false,
  808. "autoIncrement": false,
  809. "defaultValue": ""
  810. },
  811. {
  812. "name": "sign_type",
  813. "type": "VARCHAR_255",
  814. "chnname": "签名方式",
  815. "remark": "",
  816. "pk": false,
  817. "notNull": false,
  818. "autoIncrement": false,
  819. "defaultValue": ""
  820. },
  821. {
  822. "name": "sys_service_provider_id",
  823. "type": "VARCHAR_255",
  824. "chnname": "商户号",
  825. "remark": "",
  826. "pk": false,
  827. "notNull": false,
  828. "autoIncrement": false,
  829. "defaultValue": ""
  830. }
  831. ]
  832. }
  833. ],
  834. "graphCanvas": {
  835. "nodes": [],
  836. "edges": []
  837. }
  838. },
  839. {
  840. "name": "logging",
  841. "chnname": "日志",
  842. "entities": [
  843. {
  844. "title": "log",
  845. "chnname": "系统日志",
  846. "fields": [
  847. {
  848. "name": "id",
  849. "type": "BIGINT_19",
  850. "chnname": "",
  851. "remark": "",
  852. "pk": true,
  853. "notNull": true,
  854. "autoIncrement": true,
  855. "defaultValue": ""
  856. },
  857. {
  858. "name": "create_time",
  859. "type": "DATETIME",
  860. "chnname": "",
  861. "remark": "",
  862. "pk": false,
  863. "notNull": false,
  864. "autoIncrement": false,
  865. "defaultValue": ""
  866. },
  867. {
  868. "name": "description",
  869. "type": "VARCHAR_255",
  870. "chnname": "",
  871. "remark": "",
  872. "pk": false,
  873. "notNull": false,
  874. "autoIncrement": false,
  875. "defaultValue": ""
  876. },
  877. {
  878. "name": "exception_detail",
  879. "type": "TEXT",
  880. "chnname": "",
  881. "remark": "",
  882. "pk": false,
  883. "notNull": false,
  884. "autoIncrement": false,
  885. "defaultValue": ""
  886. },
  887. {
  888. "name": "log_type",
  889. "type": "VARCHAR_255",
  890. "chnname": "",
  891. "remark": "",
  892. "pk": false,
  893. "notNull": false,
  894. "autoIncrement": false,
  895. "defaultValue": ""
  896. },
  897. {
  898. "name": "method",
  899. "type": "VARCHAR_255",
  900. "chnname": "",
  901. "remark": "",
  902. "pk": false,
  903. "notNull": false,
  904. "autoIncrement": false,
  905. "defaultValue": ""
  906. },
  907. {
  908. "name": "params",
  909. "type": "TEXT",
  910. "chnname": "",
  911. "remark": "",
  912. "pk": false,
  913. "notNull": false,
  914. "autoIncrement": false,
  915. "defaultValue": ""
  916. },
  917. {
  918. "name": "request_ip",
  919. "type": "VARCHAR_255",
  920. "chnname": "",
  921. "remark": "",
  922. "pk": false,
  923. "notNull": false,
  924. "autoIncrement": false,
  925. "defaultValue": ""
  926. },
  927. {
  928. "name": "time",
  929. "type": "BIGINT_19",
  930. "chnname": "",
  931. "remark": "",
  932. "pk": false,
  933. "notNull": false,
  934. "autoIncrement": false,
  935. "defaultValue": ""
  936. },
  937. {
  938. "name": "username",
  939. "type": "VARCHAR_255",
  940. "chnname": "",
  941. "remark": "",
  942. "pk": false,
  943. "notNull": false,
  944. "autoIncrement": false,
  945. "defaultValue": ""
  946. },
  947. {
  948. "name": "address",
  949. "type": "VARCHAR_255",
  950. "chnname": "",
  951. "remark": "",
  952. "pk": false,
  953. "notNull": false,
  954. "autoIncrement": false,
  955. "defaultValue": ""
  956. },
  957. {
  958. "name": "browser",
  959. "type": "VARCHAR_255",
  960. "chnname": "",
  961. "remark": "",
  962. "pk": false,
  963. "notNull": false,
  964. "autoIncrement": false,
  965. "defaultValue": ""
  966. },
  967. {
  968. "name": "type",
  969. "type": "INT_10",
  970. "chnname": "",
  971. "remark": "",
  972. "pk": false,
  973. "notNull": false,
  974. "autoIncrement": false,
  975. "defaultValue": ""
  976. },
  977. {
  978. "name": "uid",
  979. "type": "BIGINT_19",
  980. "chnname": "",
  981. "remark": "",
  982. "pk": false,
  983. "notNull": false,
  984. "autoIncrement": false,
  985. "defaultValue": ""
  986. },
  987. {
  988. "name": "update_time",
  989. "type": "DATETIME",
  990. "chnname": "",
  991. "remark": "",
  992. "pk": false,
  993. "notNull": false,
  994. "autoIncrement": false,
  995. "defaultValue": ""
  996. },
  997. {
  998. "name": "is_del",
  999. "type": "BIT_1",
  1000. "chnname": "",
  1001. "remark": "",
  1002. "pk": false,
  1003. "notNull": false,
  1004. "autoIncrement": false,
  1005. "defaultValue": ""
  1006. }
  1007. ],
  1008. "indexs": [],
  1009. "headers": [
  1010. {
  1011. "fieldName": "chnname",
  1012. "relationNoShow": false
  1013. },
  1014. {
  1015. "fieldName": "name",
  1016. "relationNoShow": false
  1017. },
  1018. {
  1019. "fieldName": "type",
  1020. "relationNoShow": false
  1021. },
  1022. {
  1023. "fieldName": "dataType",
  1024. "relationNoShow": true
  1025. },
  1026. {
  1027. "fieldName": "remark",
  1028. "relationNoShow": true
  1029. },
  1030. {
  1031. "fieldName": "pk",
  1032. "relationNoShow": false
  1033. },
  1034. {
  1035. "fieldName": "notNull",
  1036. "relationNoShow": true
  1037. },
  1038. {
  1039. "fieldName": "autoIncrement",
  1040. "relationNoShow": true
  1041. },
  1042. {
  1043. "fieldName": "defaultValue",
  1044. "relationNoShow": true
  1045. },
  1046. {
  1047. "fieldName": "relationNoShow",
  1048. "relationNoShow": true
  1049. },
  1050. {
  1051. "fieldName": "uiHint",
  1052. "relationNoShow": true
  1053. }
  1054. ]
  1055. }
  1056. ],
  1057. "graphCanvas": {
  1058. "nodes": [],
  1059. "edges": []
  1060. },
  1061. "associations": []
  1062. },
  1063. {
  1064. "name": "gen",
  1065. "chnname": "代码生成",
  1066. "entities": [
  1067. {
  1068. "title": "gen_test",
  1069. "chnname": "代码生成测试",
  1070. "fields": [
  1071. {
  1072. "name": "id",
  1073. "type": "INT_10",
  1074. "chnname": "",
  1075. "remark": "",
  1076. "pk": true,
  1077. "notNull": true,
  1078. "autoIncrement": true,
  1079. "defaultValue": ""
  1080. },
  1081. {
  1082. "name": "name",
  1083. "type": "VARCHAR_255",
  1084. "chnname": "",
  1085. "remark": "",
  1086. "pk": false,
  1087. "notNull": false,
  1088. "autoIncrement": false,
  1089. "defaultValue": ""
  1090. },
  1091. {
  1092. "name": "sex",
  1093. "type": "INT_10",
  1094. "chnname": "性别",
  1095. "remark": "",
  1096. "pk": false,
  1097. "notNull": false,
  1098. "autoIncrement": false,
  1099. "defaultValue": ""
  1100. },
  1101. {
  1102. "name": "create_time",
  1103. "type": "DATETIME",
  1104. "chnname": "",
  1105. "remark": "",
  1106. "pk": false,
  1107. "notNull": false,
  1108. "autoIncrement": false,
  1109. "defaultValue": ""
  1110. }
  1111. ]
  1112. },
  1113. {
  1114. "title": "column_config",
  1115. "chnname": "代码生成字段信息存储",
  1116. "fields": [
  1117. {
  1118. "name": "id",
  1119. "type": "BIGINT_19",
  1120. "chnname": "",
  1121. "remark": "",
  1122. "pk": true,
  1123. "notNull": true,
  1124. "autoIncrement": true,
  1125. "defaultValue": ""
  1126. },
  1127. {
  1128. "name": "table_name",
  1129. "type": "VARCHAR_255",
  1130. "chnname": "",
  1131. "remark": "",
  1132. "pk": false,
  1133. "notNull": false,
  1134. "autoIncrement": false,
  1135. "defaultValue": ""
  1136. },
  1137. {
  1138. "name": "column_name",
  1139. "type": "VARCHAR_255",
  1140. "chnname": "",
  1141. "remark": "",
  1142. "pk": false,
  1143. "notNull": false,
  1144. "autoIncrement": false,
  1145. "defaultValue": ""
  1146. },
  1147. {
  1148. "name": "column_type",
  1149. "type": "VARCHAR_255",
  1150. "chnname": "",
  1151. "remark": "",
  1152. "pk": false,
  1153. "notNull": false,
  1154. "autoIncrement": false,
  1155. "defaultValue": ""
  1156. },
  1157. {
  1158. "name": "dict_name",
  1159. "type": "VARCHAR_255",
  1160. "chnname": "",
  1161. "remark": "",
  1162. "pk": false,
  1163. "notNull": false,
  1164. "autoIncrement": false,
  1165. "defaultValue": ""
  1166. },
  1167. {
  1168. "name": "extra",
  1169. "type": "VARCHAR_255",
  1170. "chnname": "",
  1171. "remark": "",
  1172. "pk": false,
  1173. "notNull": false,
  1174. "autoIncrement": false,
  1175. "defaultValue": ""
  1176. },
  1177. {
  1178. "name": "form_show",
  1179. "type": "BIT_1",
  1180. "chnname": "",
  1181. "remark": "",
  1182. "pk": false,
  1183. "notNull": false,
  1184. "autoIncrement": false,
  1185. "defaultValue": ""
  1186. },
  1187. {
  1188. "name": "form_type",
  1189. "type": "VARCHAR_255",
  1190. "chnname": "",
  1191. "remark": "",
  1192. "pk": false,
  1193. "notNull": false,
  1194. "autoIncrement": false,
  1195. "defaultValue": ""
  1196. },
  1197. {
  1198. "name": "key_type",
  1199. "type": "VARCHAR_255",
  1200. "chnname": "",
  1201. "remark": "",
  1202. "pk": false,
  1203. "notNull": false,
  1204. "autoIncrement": false,
  1205. "defaultValue": ""
  1206. },
  1207. {
  1208. "name": "list_show",
  1209. "type": "BIT_1",
  1210. "chnname": "",
  1211. "remark": "",
  1212. "pk": false,
  1213. "notNull": false,
  1214. "autoIncrement": false,
  1215. "defaultValue": ""
  1216. },
  1217. {
  1218. "name": "not_null",
  1219. "type": "BIT_1",
  1220. "chnname": "",
  1221. "remark": "",
  1222. "pk": false,
  1223. "notNull": false,
  1224. "autoIncrement": false,
  1225. "defaultValue": ""
  1226. },
  1227. {
  1228. "name": "query_type",
  1229. "type": "VARCHAR_255",
  1230. "chnname": "",
  1231. "remark": "",
  1232. "pk": false,
  1233. "notNull": false,
  1234. "autoIncrement": false,
  1235. "defaultValue": ""
  1236. },
  1237. {
  1238. "name": "remark",
  1239. "type": "VARCHAR_255",
  1240. "chnname": "",
  1241. "remark": "",
  1242. "pk": false,
  1243. "notNull": false,
  1244. "autoIncrement": false,
  1245. "defaultValue": ""
  1246. },
  1247. {
  1248. "name": "date_annotation",
  1249. "type": "VARCHAR_255",
  1250. "chnname": "",
  1251. "remark": "",
  1252. "pk": false,
  1253. "notNull": false,
  1254. "autoIncrement": false,
  1255. "defaultValue": ""
  1256. }
  1257. ]
  1258. },
  1259. {
  1260. "title": "gen_config",
  1261. "chnname": "代码生成器配置",
  1262. "fields": [
  1263. {
  1264. "name": "id",
  1265. "type": "BIGINT_19",
  1266. "chnname": "ID",
  1267. "remark": "",
  1268. "pk": true,
  1269. "notNull": true,
  1270. "autoIncrement": true,
  1271. "defaultValue": ""
  1272. },
  1273. {
  1274. "name": "table_name",
  1275. "type": "VARCHAR_255",
  1276. "chnname": "表名",
  1277. "remark": "",
  1278. "pk": false,
  1279. "notNull": false,
  1280. "autoIncrement": false,
  1281. "defaultValue": ""
  1282. },
  1283. {
  1284. "name": "author",
  1285. "type": "VARCHAR_255",
  1286. "chnname": "作者",
  1287. "remark": "",
  1288. "pk": false,
  1289. "notNull": false,
  1290. "autoIncrement": false,
  1291. "defaultValue": ""
  1292. },
  1293. {
  1294. "name": "cover",
  1295. "type": "BIT_1",
  1296. "chnname": "是否覆盖",
  1297. "remark": "",
  1298. "pk": false,
  1299. "notNull": false,
  1300. "autoIncrement": false,
  1301. "defaultValue": ""
  1302. },
  1303. {
  1304. "name": "module_name",
  1305. "type": "VARCHAR_255",
  1306. "chnname": "模块名称",
  1307. "remark": "",
  1308. "pk": false,
  1309. "notNull": false,
  1310. "autoIncrement": false,
  1311. "defaultValue": ""
  1312. },
  1313. {
  1314. "name": "pack",
  1315. "type": "VARCHAR_255",
  1316. "chnname": "至于哪个包下",
  1317. "remark": "",
  1318. "pk": false,
  1319. "notNull": false,
  1320. "autoIncrement": false,
  1321. "defaultValue": ""
  1322. },
  1323. {
  1324. "name": "path",
  1325. "type": "VARCHAR_255",
  1326. "chnname": "前端代码生成的路径",
  1327. "remark": "",
  1328. "pk": false,
  1329. "notNull": false,
  1330. "autoIncrement": false,
  1331. "defaultValue": ""
  1332. },
  1333. {
  1334. "name": "api_path",
  1335. "type": "VARCHAR_255",
  1336. "chnname": "前端Api文件路径",
  1337. "remark": "",
  1338. "pk": false,
  1339. "notNull": false,
  1340. "autoIncrement": false,
  1341. "defaultValue": ""
  1342. },
  1343. {
  1344. "name": "prefix",
  1345. "type": "VARCHAR_255",
  1346. "chnname": "表前缀",
  1347. "remark": "",
  1348. "pk": false,
  1349. "notNull": false,
  1350. "autoIncrement": false,
  1351. "defaultValue": ""
  1352. },
  1353. {
  1354. "name": "api_alias",
  1355. "type": "VARCHAR_255",
  1356. "chnname": "接口名称",
  1357. "remark": "",
  1358. "pk": false,
  1359. "notNull": false,
  1360. "autoIncrement": false,
  1361. "defaultValue": ""
  1362. }
  1363. ]
  1364. }
  1365. ],
  1366. "graphCanvas": {
  1367. "nodes": [
  1368. {
  1369. "shape": "table",
  1370. "title": "column_config",
  1371. "moduleName": false,
  1372. "x": 288.359375,
  1373. "y": 279,
  1374. "id": "09a1ceae"
  1375. },
  1376. {
  1377. "shape": "table",
  1378. "title": "gen_config",
  1379. "moduleName": false,
  1380. "x": 760,
  1381. "y": 200,
  1382. "id": "2e380491"
  1383. }
  1384. ],
  1385. "edges": []
  1386. },
  1387. "associations": []
  1388. },
  1389. {
  1390. "name": "monitor",
  1391. "chnname": "",
  1392. "entities": [
  1393. {
  1394. "title": "visits",
  1395. "chnname": "访客记录",
  1396. "fields": [
  1397. {
  1398. "name": "id",
  1399. "type": "BIGINT_19",
  1400. "chnname": "",
  1401. "remark": "",
  1402. "pk": true,
  1403. "notNull": true,
  1404. "autoIncrement": true,
  1405. "defaultValue": ""
  1406. },
  1407. {
  1408. "name": "create_time",
  1409. "type": "DATETIME",
  1410. "chnname": "",
  1411. "remark": "",
  1412. "pk": false,
  1413. "notNull": false,
  1414. "autoIncrement": false,
  1415. "defaultValue": ""
  1416. },
  1417. {
  1418. "name": "date",
  1419. "type": "VARCHAR_255",
  1420. "chnname": "",
  1421. "remark": "",
  1422. "pk": false,
  1423. "notNull": false,
  1424. "autoIncrement": false,
  1425. "defaultValue": ""
  1426. },
  1427. {
  1428. "name": "ip_counts",
  1429. "type": "BIGINT_19",
  1430. "chnname": "",
  1431. "remark": "",
  1432. "pk": false,
  1433. "notNull": false,
  1434. "autoIncrement": false,
  1435. "defaultValue": ""
  1436. },
  1437. {
  1438. "name": "pv_counts",
  1439. "type": "BIGINT_19",
  1440. "chnname": "",
  1441. "remark": "",
  1442. "pk": false,
  1443. "notNull": false,
  1444. "autoIncrement": false,
  1445. "defaultValue": ""
  1446. },
  1447. {
  1448. "name": "week_day",
  1449. "type": "VARCHAR_255",
  1450. "chnname": "",
  1451. "remark": "",
  1452. "pk": false,
  1453. "notNull": false,
  1454. "autoIncrement": false,
  1455. "defaultValue": ""
  1456. }
  1457. ],
  1458. "indexs": [],
  1459. "headers": [
  1460. {
  1461. "fieldName": "chnname",
  1462. "relationNoShow": false
  1463. },
  1464. {
  1465. "fieldName": "name",
  1466. "relationNoShow": false
  1467. },
  1468. {
  1469. "fieldName": "type",
  1470. "relationNoShow": false
  1471. },
  1472. {
  1473. "fieldName": "dataType",
  1474. "relationNoShow": true
  1475. },
  1476. {
  1477. "fieldName": "remark",
  1478. "relationNoShow": true
  1479. },
  1480. {
  1481. "fieldName": "pk",
  1482. "relationNoShow": false
  1483. },
  1484. {
  1485. "fieldName": "notNull",
  1486. "relationNoShow": true
  1487. },
  1488. {
  1489. "fieldName": "autoIncrement",
  1490. "relationNoShow": true
  1491. },
  1492. {
  1493. "fieldName": "defaultValue",
  1494. "relationNoShow": true
  1495. },
  1496. {
  1497. "fieldName": "relationNoShow",
  1498. "relationNoShow": true
  1499. },
  1500. {
  1501. "fieldName": "uiHint",
  1502. "relationNoShow": true
  1503. }
  1504. ]
  1505. }
  1506. ],
  1507. "graphCanvas": {
  1508. "nodes": [],
  1509. "edges": []
  1510. },
  1511. "associations": []
  1512. },
  1513. {
  1514. "name": "quartz",
  1515. "chnname": "定时任务",
  1516. "entities": [
  1517. {
  1518. "title": "quartz_job",
  1519. "chnname": "定时任务",
  1520. "fields": [
  1521. {
  1522. "name": "id",
  1523. "type": "BIGINT_19",
  1524. "chnname": "ID",
  1525. "remark": "",
  1526. "pk": true,
  1527. "notNull": true,
  1528. "autoIncrement": true,
  1529. "defaultValue": ""
  1530. },
  1531. {
  1532. "name": "bean_name",
  1533. "type": "VARCHAR_255",
  1534. "chnname": "Spring Bean名称",
  1535. "remark": "",
  1536. "pk": false,
  1537. "notNull": false,
  1538. "autoIncrement": false,
  1539. "defaultValue": ""
  1540. },
  1541. {
  1542. "name": "cron_expression",
  1543. "type": "VARCHAR_255",
  1544. "chnname": "cron 表达式",
  1545. "remark": "",
  1546. "pk": false,
  1547. "notNull": false,
  1548. "autoIncrement": false,
  1549. "defaultValue": ""
  1550. },
  1551. {
  1552. "name": "is_pause",
  1553. "type": "BIT_1",
  1554. "chnname": "状态:1暂停、0启用",
  1555. "remark": "",
  1556. "pk": false,
  1557. "notNull": false,
  1558. "autoIncrement": false,
  1559. "defaultValue": ""
  1560. },
  1561. {
  1562. "name": "job_name",
  1563. "type": "VARCHAR_255",
  1564. "chnname": "任务名称",
  1565. "remark": "",
  1566. "pk": false,
  1567. "notNull": false,
  1568. "autoIncrement": false,
  1569. "defaultValue": ""
  1570. },
  1571. {
  1572. "name": "method_name",
  1573. "type": "VARCHAR_255",
  1574. "chnname": "方法名称",
  1575. "remark": "",
  1576. "pk": false,
  1577. "notNull": false,
  1578. "autoIncrement": false,
  1579. "defaultValue": ""
  1580. },
  1581. {
  1582. "name": "params",
  1583. "type": "VARCHAR_255",
  1584. "chnname": "参数",
  1585. "remark": "",
  1586. "pk": false,
  1587. "notNull": false,
  1588. "autoIncrement": false,
  1589. "defaultValue": ""
  1590. },
  1591. {
  1592. "name": "remark",
  1593. "type": "VARCHAR_255",
  1594. "chnname": "备注",
  1595. "remark": "",
  1596. "pk": false,
  1597. "notNull": false,
  1598. "autoIncrement": false,
  1599. "defaultValue": ""
  1600. },
  1601. {
  1602. "name": "create_time",
  1603. "type": "DATETIME",
  1604. "chnname": "创建日期",
  1605. "remark": "",
  1606. "pk": false,
  1607. "notNull": false,
  1608. "autoIncrement": false,
  1609. "defaultValue": ""
  1610. },
  1611. {
  1612. "name": "update_time",
  1613. "type": "DATETIME",
  1614. "chnname": "",
  1615. "remark": "",
  1616. "pk": false,
  1617. "notNull": false,
  1618. "autoIncrement": false,
  1619. "defaultValue": ""
  1620. },
  1621. {
  1622. "name": "is_del",
  1623. "type": "BIT_1",
  1624. "chnname": "",
  1625. "remark": "",
  1626. "pk": false,
  1627. "notNull": false,
  1628. "autoIncrement": false,
  1629. "defaultValue": ""
  1630. }
  1631. ],
  1632. "indexs": [],
  1633. "headers": [
  1634. {
  1635. "fieldName": "chnname",
  1636. "relationNoShow": false
  1637. },
  1638. {
  1639. "fieldName": "name",
  1640. "relationNoShow": false
  1641. },
  1642. {
  1643. "fieldName": "type",
  1644. "relationNoShow": false
  1645. },
  1646. {
  1647. "fieldName": "dataType",
  1648. "relationNoShow": true
  1649. },
  1650. {
  1651. "fieldName": "remark",
  1652. "relationNoShow": true
  1653. },
  1654. {
  1655. "fieldName": "pk",
  1656. "relationNoShow": false
  1657. },
  1658. {
  1659. "fieldName": "notNull",
  1660. "relationNoShow": true
  1661. },
  1662. {
  1663. "fieldName": "autoIncrement",
  1664. "relationNoShow": true
  1665. },
  1666. {
  1667. "fieldName": "defaultValue",
  1668. "relationNoShow": true
  1669. },
  1670. {
  1671. "fieldName": "relationNoShow",
  1672. "relationNoShow": true
  1673. },
  1674. {
  1675. "fieldName": "uiHint",
  1676. "relationNoShow": true
  1677. }
  1678. ]
  1679. },
  1680. {
  1681. "title": "quartz_log",
  1682. "chnname": "定时任务日志",
  1683. "fields": [
  1684. {
  1685. "name": "id",
  1686. "type": "BIGINT_19",
  1687. "chnname": "",
  1688. "remark": "",
  1689. "pk": true,
  1690. "notNull": true,
  1691. "autoIncrement": true,
  1692. "defaultValue": ""
  1693. },
  1694. {
  1695. "name": "baen_name",
  1696. "type": "VARCHAR_255",
  1697. "chnname": "",
  1698. "remark": "",
  1699. "pk": false,
  1700. "notNull": false,
  1701. "autoIncrement": false,
  1702. "defaultValue": ""
  1703. },
  1704. {
  1705. "name": "create_time",
  1706. "type": "DATETIME",
  1707. "chnname": "",
  1708. "remark": "",
  1709. "pk": false,
  1710. "notNull": false,
  1711. "autoIncrement": false,
  1712. "defaultValue": ""
  1713. },
  1714. {
  1715. "name": "cron_expression",
  1716. "type": "VARCHAR_255",
  1717. "chnname": "",
  1718. "remark": "",
  1719. "pk": false,
  1720. "notNull": false,
  1721. "autoIncrement": false,
  1722. "defaultValue": ""
  1723. },
  1724. {
  1725. "name": "exception_detail",
  1726. "type": "TEXT",
  1727. "chnname": "",
  1728. "remark": "",
  1729. "pk": false,
  1730. "notNull": false,
  1731. "autoIncrement": false,
  1732. "defaultValue": ""
  1733. },
  1734. {
  1735. "name": "is_success",
  1736. "type": "BIT_1",
  1737. "chnname": "",
  1738. "remark": "",
  1739. "pk": false,
  1740. "notNull": false,
  1741. "autoIncrement": false,
  1742. "defaultValue": ""
  1743. },
  1744. {
  1745. "name": "job_name",
  1746. "type": "VARCHAR_255",
  1747. "chnname": "",
  1748. "remark": "",
  1749. "pk": false,
  1750. "notNull": false,
  1751. "autoIncrement": false,
  1752. "defaultValue": ""
  1753. },
  1754. {
  1755. "name": "method_name",
  1756. "type": "VARCHAR_255",
  1757. "chnname": "",
  1758. "remark": "",
  1759. "pk": false,
  1760. "notNull": false,
  1761. "autoIncrement": false,
  1762. "defaultValue": ""
  1763. },
  1764. {
  1765. "name": "params",
  1766. "type": "VARCHAR_255",
  1767. "chnname": "",
  1768. "remark": "",
  1769. "pk": false,
  1770. "notNull": false,
  1771. "autoIncrement": false,
  1772. "defaultValue": ""
  1773. },
  1774. {
  1775. "name": "time",
  1776. "type": "BIGINT_19",
  1777. "chnname": "",
  1778. "remark": "",
  1779. "pk": false,
  1780. "notNull": false,
  1781. "autoIncrement": false,
  1782. "defaultValue": ""
  1783. },
  1784. {
  1785. "name": "update_time",
  1786. "type": "DATETIME",
  1787. "chnname": "",
  1788. "remark": "",
  1789. "pk": false,
  1790. "notNull": false,
  1791. "autoIncrement": false,
  1792. "defaultValue": ""
  1793. },
  1794. {
  1795. "name": "is_del",
  1796. "type": "BIT_1",
  1797. "chnname": "",
  1798. "remark": "",
  1799. "pk": false,
  1800. "notNull": false,
  1801. "autoIncrement": false,
  1802. "defaultValue": ""
  1803. }
  1804. ],
  1805. "indexs": [],
  1806. "headers": [
  1807. {
  1808. "fieldName": "chnname",
  1809. "relationNoShow": false
  1810. },
  1811. {
  1812. "fieldName": "name",
  1813. "relationNoShow": false
  1814. },
  1815. {
  1816. "fieldName": "type",
  1817. "relationNoShow": false
  1818. },
  1819. {
  1820. "fieldName": "dataType",
  1821. "relationNoShow": true
  1822. },
  1823. {
  1824. "fieldName": "remark",
  1825. "relationNoShow": true
  1826. },
  1827. {
  1828. "fieldName": "pk",
  1829. "relationNoShow": false
  1830. },
  1831. {
  1832. "fieldName": "notNull",
  1833. "relationNoShow": true
  1834. },
  1835. {
  1836. "fieldName": "autoIncrement",
  1837. "relationNoShow": true
  1838. },
  1839. {
  1840. "fieldName": "defaultValue",
  1841. "relationNoShow": true
  1842. },
  1843. {
  1844. "fieldName": "relationNoShow",
  1845. "relationNoShow": true
  1846. },
  1847. {
  1848. "fieldName": "uiHint",
  1849. "relationNoShow": true
  1850. }
  1851. ]
  1852. }
  1853. ],
  1854. "graphCanvas": {
  1855. "nodes": [
  1856. {
  1857. "shape": "table",
  1858. "title": "quartz_job",
  1859. "moduleName": false,
  1860. "x": 422.359375,
  1861. "y": 367,
  1862. "id": "4b2bda89"
  1863. },
  1864. {
  1865. "shape": "table",
  1866. "title": "quartz_log",
  1867. "moduleName": false,
  1868. "x": 890,
  1869. "y": 340,
  1870. "id": "b47ba8e0"
  1871. }
  1872. ],
  1873. "edges": [
  1874. {
  1875. "shape": "erdRelation",
  1876. "relation": "0,n:1",
  1877. "source": "b47ba8e0",
  1878. "target": "4b2bda89",
  1879. "id": "01afd2ee",
  1880. "controlPoints": [
  1881. {
  1882. "x": 759.2236328125,
  1883. "y": 356.3101851851852
  1884. },
  1885. {
  1886. "x": 608.0595703125,
  1887. "y": 354.9063636363636
  1888. }
  1889. ],
  1890. "sourceAnchor": 12,
  1891. "targetAnchor": 9
  1892. }
  1893. ]
  1894. },
  1895. "associations": [
  1896. {
  1897. "relation": "0,n:1",
  1898. "from": {
  1899. "entity": "quartz_log",
  1900. "field": "job_name"
  1901. },
  1902. "to": {
  1903. "entity": "quartz_job",
  1904. "field": "job_name"
  1905. }
  1906. }
  1907. ]
  1908. },
  1909. {
  1910. "name": "system",
  1911. "chnname": "系统模块",
  1912. "entities": [
  1913. {
  1914. "title": "users_roles",
  1915. "chnname": "用户角色关联",
  1916. "fields": [
  1917. {
  1918. "name": "user_id",
  1919. "type": "BIGINT_19",
  1920. "chnname": "用户ID",
  1921. "remark": "",
  1922. "pk": true,
  1923. "notNull": true,
  1924. "autoIncrement": false,
  1925. "defaultValue": ""
  1926. },
  1927. {
  1928. "name": "role_id",
  1929. "type": "BIGINT_19",
  1930. "chnname": "角色ID",
  1931. "remark": "",
  1932. "pk": true,
  1933. "notNull": true,
  1934. "autoIncrement": false,
  1935. "defaultValue": ""
  1936. }
  1937. ]
  1938. },
  1939. {
  1940. "title": "roles_menus",
  1941. "chnname": "角色菜单关联",
  1942. "fields": [
  1943. {
  1944. "name": "menu_id",
  1945. "type": "BIGINT_19",
  1946. "chnname": "菜单ID",
  1947. "remark": "",
  1948. "pk": true,
  1949. "notNull": true,
  1950. "autoIncrement": false,
  1951. "defaultValue": ""
  1952. },
  1953. {
  1954. "name": "role_id",
  1955. "type": "BIGINT_19",
  1956. "chnname": "角色ID",
  1957. "remark": "",
  1958. "pk": true,
  1959. "notNull": true,
  1960. "autoIncrement": false,
  1961. "defaultValue": ""
  1962. }
  1963. ]
  1964. },
  1965. {
  1966. "title": "roles_depts",
  1967. "chnname": "角色部门关联",
  1968. "fields": [
  1969. {
  1970. "name": "role_id",
  1971. "type": "BIGINT_19",
  1972. "chnname": "",
  1973. "remark": "",
  1974. "pk": true,
  1975. "notNull": true,
  1976. "autoIncrement": false,
  1977. "defaultValue": ""
  1978. },
  1979. {
  1980. "name": "dept_id",
  1981. "type": "BIGINT_19",
  1982. "chnname": "",
  1983. "remark": "",
  1984. "pk": true,
  1985. "notNull": true,
  1986. "autoIncrement": false,
  1987. "defaultValue": ""
  1988. }
  1989. ]
  1990. },
  1991. {
  1992. "title": "user_avatar",
  1993. "chnname": "系统用户头像",
  1994. "fields": [
  1995. {
  1996. "name": "id",
  1997. "type": "BIGINT_19",
  1998. "chnname": "",
  1999. "remark": "",
  2000. "pk": true,
  2001. "notNull": true,
  2002. "autoIncrement": true,
  2003. "defaultValue": ""
  2004. },
  2005. {
  2006. "name": "real_name",
  2007. "type": "VARCHAR_255",
  2008. "chnname": "真实文件名",
  2009. "remark": "",
  2010. "pk": false,
  2011. "notNull": false,
  2012. "autoIncrement": false,
  2013. "defaultValue": ""
  2014. },
  2015. {
  2016. "name": "path",
  2017. "type": "VARCHAR_255",
  2018. "chnname": "路径",
  2019. "remark": "",
  2020. "pk": false,
  2021. "notNull": false,
  2022. "autoIncrement": false,
  2023. "defaultValue": ""
  2024. },
  2025. {
  2026. "name": "size",
  2027. "type": "VARCHAR_255",
  2028. "chnname": "大小",
  2029. "remark": "",
  2030. "pk": false,
  2031. "notNull": false,
  2032. "autoIncrement": false,
  2033. "defaultValue": ""
  2034. },
  2035. {
  2036. "name": "create_time",
  2037. "type": "DATETIME",
  2038. "chnname": "创建时间",
  2039. "remark": "",
  2040. "pk": false,
  2041. "notNull": false,
  2042. "autoIncrement": false,
  2043. "defaultValue": ""
  2044. }
  2045. ]
  2046. },
  2047. {
  2048. "title": "role",
  2049. "chnname": "角色表",
  2050. "fields": [
  2051. {
  2052. "name": "id",
  2053. "type": "BIGINT_19",
  2054. "chnname": "ID",
  2055. "remark": "",
  2056. "pk": true,
  2057. "notNull": true,
  2058. "autoIncrement": true,
  2059. "defaultValue": ""
  2060. },
  2061. {
  2062. "name": "name",
  2063. "type": "VARCHAR_255",
  2064. "chnname": "名称",
  2065. "remark": "",
  2066. "pk": false,
  2067. "notNull": true,
  2068. "autoIncrement": false,
  2069. "defaultValue": ""
  2070. },
  2071. {
  2072. "name": "remark",
  2073. "type": "VARCHAR_255",
  2074. "chnname": "备注",
  2075. "remark": "",
  2076. "pk": false,
  2077. "notNull": false,
  2078. "autoIncrement": false,
  2079. "defaultValue": ""
  2080. },
  2081. {
  2082. "name": "data_scope",
  2083. "type": "VARCHAR_255",
  2084. "chnname": "数据权限",
  2085. "remark": "",
  2086. "pk": false,
  2087. "notNull": false,
  2088. "autoIncrement": false,
  2089. "defaultValue": ""
  2090. },
  2091. {
  2092. "name": "level",
  2093. "type": "INT_10",
  2094. "chnname": "角色级别",
  2095. "remark": "",
  2096. "pk": false,
  2097. "notNull": false,
  2098. "autoIncrement": false,
  2099. "defaultValue": ""
  2100. },
  2101. {
  2102. "name": "create_time",
  2103. "type": "DATETIME",
  2104. "chnname": "创建日期",
  2105. "remark": "",
  2106. "pk": false,
  2107. "notNull": false,
  2108. "autoIncrement": false,
  2109. "defaultValue": ""
  2110. },
  2111. {
  2112. "name": "permission",
  2113. "type": "VARCHAR_255",
  2114. "chnname": "功能权限",
  2115. "remark": "",
  2116. "pk": false,
  2117. "notNull": false,
  2118. "autoIncrement": false,
  2119. "defaultValue": ""
  2120. },
  2121. {
  2122. "name": "update_time",
  2123. "type": "DATETIME",
  2124. "chnname": "",
  2125. "remark": "",
  2126. "pk": false,
  2127. "notNull": false,
  2128. "autoIncrement": false,
  2129. "defaultValue": ""
  2130. },
  2131. {
  2132. "name": "is_del",
  2133. "type": "BIT_1",
  2134. "chnname": "",
  2135. "remark": "",
  2136. "pk": false,
  2137. "notNull": false,
  2138. "autoIncrement": false,
  2139. "defaultValue": ""
  2140. }
  2141. ]
  2142. },
  2143. {
  2144. "title": "dict",
  2145. "chnname": "数据字典",
  2146. "fields": [
  2147. {
  2148. "name": "id",
  2149. "type": "BIGINT_19",
  2150. "chnname": "",
  2151. "remark": "",
  2152. "pk": true,
  2153. "notNull": true,
  2154. "autoIncrement": true,
  2155. "defaultValue": ""
  2156. },
  2157. {
  2158. "name": "name",
  2159. "type": "VARCHAR_255",
  2160. "chnname": "字典名称",
  2161. "remark": "",
  2162. "pk": false,
  2163. "notNull": true,
  2164. "autoIncrement": false,
  2165. "defaultValue": ""
  2166. },
  2167. {
  2168. "name": "remark",
  2169. "type": "VARCHAR_255",
  2170. "chnname": "描述",
  2171. "remark": "",
  2172. "pk": false,
  2173. "notNull": false,
  2174. "autoIncrement": false,
  2175. "defaultValue": ""
  2176. },
  2177. {
  2178. "name": "create_time",
  2179. "type": "DATETIME",
  2180. "chnname": "创建日期",
  2181. "remark": "",
  2182. "pk": false,
  2183. "notNull": false,
  2184. "autoIncrement": false,
  2185. "defaultValue": ""
  2186. },
  2187. {
  2188. "name": "update_time",
  2189. "type": "DATETIME",
  2190. "chnname": "",
  2191. "remark": "",
  2192. "pk": false,
  2193. "notNull": false,
  2194. "autoIncrement": false,
  2195. "defaultValue": ""
  2196. },
  2197. {
  2198. "name": "is_del",
  2199. "type": "BIT_1",
  2200. "chnname": "",
  2201. "remark": "",
  2202. "pk": false,
  2203. "notNull": false,
  2204. "autoIncrement": false,
  2205. "defaultValue": ""
  2206. }
  2207. ]
  2208. },
  2209. {
  2210. "title": "dict_detail",
  2211. "chnname": "数据字典详情",
  2212. "fields": [
  2213. {
  2214. "name": "id",
  2215. "type": "BIGINT_19",
  2216. "chnname": "",
  2217. "remark": "",
  2218. "pk": true,
  2219. "notNull": true,
  2220. "autoIncrement": true,
  2221. "defaultValue": ""
  2222. },
  2223. {
  2224. "name": "label",
  2225. "type": "VARCHAR_255",
  2226. "chnname": "字典标签",
  2227. "remark": "",
  2228. "pk": false,
  2229. "notNull": true,
  2230. "autoIncrement": false,
  2231. "defaultValue": ""
  2232. },
  2233. {
  2234. "name": "value",
  2235. "type": "VARCHAR_255",
  2236. "chnname": "字典值",
  2237. "remark": "",
  2238. "pk": false,
  2239. "notNull": true,
  2240. "autoIncrement": false,
  2241. "defaultValue": ""
  2242. },
  2243. {
  2244. "name": "sort",
  2245. "type": "VARCHAR_255",
  2246. "chnname": "排序",
  2247. "remark": "",
  2248. "pk": false,
  2249. "notNull": false,
  2250. "autoIncrement": false,
  2251. "defaultValue": ""
  2252. },
  2253. {
  2254. "name": "dict_id",
  2255. "type": "BIGINT_19",
  2256. "chnname": "字典id",
  2257. "remark": "",
  2258. "pk": false,
  2259. "notNull": false,
  2260. "autoIncrement": false,
  2261. "defaultValue": ""
  2262. },
  2263. {
  2264. "name": "create_time",
  2265. "type": "DATETIME",
  2266. "chnname": "创建日期",
  2267. "remark": "",
  2268. "pk": false,
  2269. "notNull": false,
  2270. "autoIncrement": false,
  2271. "defaultValue": ""
  2272. },
  2273. {
  2274. "name": "update_time",
  2275. "type": "DATETIME",
  2276. "chnname": "",
  2277. "remark": "",
  2278. "pk": false,
  2279. "notNull": false,
  2280. "autoIncrement": false,
  2281. "defaultValue": ""
  2282. },
  2283. {
  2284. "name": "is_del",
  2285. "type": "BIT_1",
  2286. "chnname": "",
  2287. "remark": "",
  2288. "pk": false,
  2289. "notNull": false,
  2290. "autoIncrement": false,
  2291. "defaultValue": ""
  2292. }
  2293. ]
  2294. },
  2295. {
  2296. "title": "dept",
  2297. "chnname": "部门",
  2298. "fields": [
  2299. {
  2300. "name": "id",
  2301. "type": "BIGINT_19",
  2302. "chnname": "ID",
  2303. "remark": "",
  2304. "pk": true,
  2305. "notNull": true,
  2306. "autoIncrement": true,
  2307. "defaultValue": ""
  2308. },
  2309. {
  2310. "name": "name",
  2311. "type": "VARCHAR_255",
  2312. "chnname": "名称",
  2313. "remark": "",
  2314. "pk": false,
  2315. "notNull": true,
  2316. "autoIncrement": false,
  2317. "defaultValue": ""
  2318. },
  2319. {
  2320. "name": "pid",
  2321. "type": "BIGINT_19",
  2322. "chnname": "上级部门",
  2323. "remark": "",
  2324. "pk": false,
  2325. "notNull": true,
  2326. "autoIncrement": false,
  2327. "defaultValue": ""
  2328. },
  2329. {
  2330. "name": "enabled",
  2331. "type": "BIT_1",
  2332. "chnname": "状态",
  2333. "remark": "",
  2334. "pk": false,
  2335. "notNull": true,
  2336. "autoIncrement": false,
  2337. "defaultValue": ""
  2338. },
  2339. {
  2340. "name": "create_time",
  2341. "type": "DATETIME",
  2342. "chnname": "创建日期",
  2343. "remark": "",
  2344. "pk": false,
  2345. "notNull": false,
  2346. "autoIncrement": false,
  2347. "defaultValue": ""
  2348. },
  2349. {
  2350. "name": "update_time",
  2351. "type": "DATETIME",
  2352. "chnname": "",
  2353. "remark": "",
  2354. "pk": false,
  2355. "notNull": false,
  2356. "autoIncrement": false,
  2357. "defaultValue": ""
  2358. },
  2359. {
  2360. "name": "is_del",
  2361. "type": "BIT_1",
  2362. "chnname": "",
  2363. "remark": "",
  2364. "pk": false,
  2365. "notNull": false,
  2366. "autoIncrement": false,
  2367. "defaultValue": ""
  2368. }
  2369. ]
  2370. },
  2371. {
  2372. "title": "menu",
  2373. "chnname": "",
  2374. "fields": [
  2375. {
  2376. "name": "id",
  2377. "type": "BIGINT_19",
  2378. "chnname": "ID",
  2379. "remark": "",
  2380. "pk": true,
  2381. "notNull": true,
  2382. "autoIncrement": true,
  2383. "defaultValue": ""
  2384. },
  2385. {
  2386. "name": "i_frame",
  2387. "type": "BIT_1",
  2388. "chnname": "是否外链",
  2389. "remark": "",
  2390. "pk": false,
  2391. "notNull": false,
  2392. "autoIncrement": false,
  2393. "defaultValue": ""
  2394. },
  2395. {
  2396. "name": "name",
  2397. "type": "VARCHAR_255",
  2398. "chnname": "菜单名称",
  2399. "remark": "",
  2400. "pk": false,
  2401. "notNull": false,
  2402. "autoIncrement": false,
  2403. "defaultValue": ""
  2404. },
  2405. {
  2406. "name": "component",
  2407. "type": "VARCHAR_255",
  2408. "chnname": "组件",
  2409. "remark": "",
  2410. "pk": false,
  2411. "notNull": false,
  2412. "autoIncrement": false,
  2413. "defaultValue": ""
  2414. },
  2415. {
  2416. "name": "pid",
  2417. "type": "BIGINT_19",
  2418. "chnname": "上级菜单ID",
  2419. "remark": "",
  2420. "pk": false,
  2421. "notNull": true,
  2422. "autoIncrement": false,
  2423. "defaultValue": ""
  2424. },
  2425. {
  2426. "name": "sort",
  2427. "type": "BIGINT_19",
  2428. "chnname": "排序",
  2429. "remark": "",
  2430. "pk": false,
  2431. "notNull": true,
  2432. "autoIncrement": false,
  2433. "defaultValue": ""
  2434. },
  2435. {
  2436. "name": "icon",
  2437. "type": "VARCHAR_255",
  2438. "chnname": "图标",
  2439. "remark": "",
  2440. "pk": false,
  2441. "notNull": false,
  2442. "autoIncrement": false,
  2443. "defaultValue": ""
  2444. },
  2445. {
  2446. "name": "path",
  2447. "type": "VARCHAR_255",
  2448. "chnname": "链接地址",
  2449. "remark": "",
  2450. "pk": false,
  2451. "notNull": false,
  2452. "autoIncrement": false,
  2453. "defaultValue": ""
  2454. },
  2455. {
  2456. "name": "cache",
  2457. "type": "BIT_1",
  2458. "chnname": "缓存",
  2459. "remark": "",
  2460. "pk": false,
  2461. "notNull": false,
  2462. "autoIncrement": false,
  2463. "defaultValue": ""
  2464. },
  2465. {
  2466. "name": "hidden",
  2467. "type": "BIT_1",
  2468. "chnname": "是否隐藏",
  2469. "remark": "",
  2470. "pk": false,
  2471. "notNull": false,
  2472. "autoIncrement": false,
  2473. "defaultValue": ""
  2474. },
  2475. {
  2476. "name": "component_name",
  2477. "type": "VARCHAR_20",
  2478. "chnname": "组件名称",
  2479. "remark": "",
  2480. "pk": false,
  2481. "notNull": false,
  2482. "autoIncrement": false,
  2483. "defaultValue": ""
  2484. },
  2485. {
  2486. "name": "create_time",
  2487. "type": "DATETIME",
  2488. "chnname": "创建日期",
  2489. "remark": "",
  2490. "pk": false,
  2491. "notNull": false,
  2492. "autoIncrement": false,
  2493. "defaultValue": ""
  2494. },
  2495. {
  2496. "name": "permission",
  2497. "type": "VARCHAR_255",
  2498. "chnname": "权限",
  2499. "remark": "",
  2500. "pk": false,
  2501. "notNull": false,
  2502. "autoIncrement": false,
  2503. "defaultValue": ""
  2504. },
  2505. {
  2506. "name": "type",
  2507. "type": "INT_10",
  2508. "chnname": "类型",
  2509. "remark": "",
  2510. "pk": false,
  2511. "notNull": false,
  2512. "autoIncrement": false,
  2513. "defaultValue": ""
  2514. },
  2515. {
  2516. "name": "update_time",
  2517. "type": "DATETIME",
  2518. "chnname": "",
  2519. "remark": "",
  2520. "pk": false,
  2521. "notNull": false,
  2522. "autoIncrement": false,
  2523. "defaultValue": ""
  2524. },
  2525. {
  2526. "name": "is_del",
  2527. "type": "BIT_1",
  2528. "chnname": "",
  2529. "remark": "",
  2530. "pk": false,
  2531. "notNull": false,
  2532. "autoIncrement": false,
  2533. "defaultValue": ""
  2534. }
  2535. ]
  2536. },
  2537. {
  2538. "title": "job",
  2539. "chnname": "岗位",
  2540. "fields": [
  2541. {
  2542. "name": "id",
  2543. "type": "BIGINT_19",
  2544. "chnname": "ID",
  2545. "remark": "",
  2546. "pk": true,
  2547. "notNull": true,
  2548. "autoIncrement": true,
  2549. "defaultValue": ""
  2550. },
  2551. {
  2552. "name": "name",
  2553. "type": "VARCHAR_255",
  2554. "chnname": "岗位名称",
  2555. "remark": "",
  2556. "pk": false,
  2557. "notNull": true,
  2558. "autoIncrement": false,
  2559. "defaultValue": ""
  2560. },
  2561. {
  2562. "name": "enabled",
  2563. "type": "BIT_1",
  2564. "chnname": "岗位状态",
  2565. "remark": "",
  2566. "pk": false,
  2567. "notNull": true,
  2568. "autoIncrement": false,
  2569. "defaultValue": ""
  2570. },
  2571. {
  2572. "name": "sort",
  2573. "type": "BIGINT_19",
  2574. "chnname": "岗位排序",
  2575. "remark": "",
  2576. "pk": false,
  2577. "notNull": true,
  2578. "autoIncrement": false,
  2579. "defaultValue": ""
  2580. },
  2581. {
  2582. "name": "dept_id",
  2583. "type": "BIGINT_19",
  2584. "chnname": "部门ID",
  2585. "remark": "",
  2586. "pk": false,
  2587. "notNull": false,
  2588. "autoIncrement": false,
  2589. "defaultValue": ""
  2590. },
  2591. {
  2592. "name": "create_time",
  2593. "type": "DATETIME",
  2594. "chnname": "创建日期",
  2595. "remark": "",
  2596. "pk": false,
  2597. "notNull": false,
  2598. "autoIncrement": false,
  2599. "defaultValue": ""
  2600. },
  2601. {
  2602. "name": "update_time",
  2603. "type": "DATETIME",
  2604. "chnname": "",
  2605. "remark": "",
  2606. "pk": false,
  2607. "notNull": false,
  2608. "autoIncrement": false,
  2609. "defaultValue": ""
  2610. },
  2611. {
  2612. "name": "is_del",
  2613. "type": "BIT_1",
  2614. "chnname": "",
  2615. "remark": "",
  2616. "pk": false,
  2617. "notNull": false,
  2618. "autoIncrement": false,
  2619. "defaultValue": ""
  2620. }
  2621. ]
  2622. },
  2623. {
  2624. "title": "user",
  2625. "chnname": "系统用户",
  2626. "fields": [
  2627. {
  2628. "name": "id",
  2629. "type": "BIGINT_19",
  2630. "chnname": "ID",
  2631. "remark": "",
  2632. "pk": true,
  2633. "notNull": true,
  2634. "autoIncrement": true,
  2635. "defaultValue": ""
  2636. },
  2637. {
  2638. "name": "avatar_id",
  2639. "type": "BIGINT_19",
  2640. "chnname": "头像",
  2641. "remark": "",
  2642. "pk": false,
  2643. "notNull": false,
  2644. "autoIncrement": false,
  2645. "defaultValue": ""
  2646. },
  2647. {
  2648. "name": "email",
  2649. "type": "VARCHAR_255",
  2650. "chnname": "邮箱",
  2651. "remark": "",
  2652. "pk": false,
  2653. "notNull": false,
  2654. "autoIncrement": false,
  2655. "defaultValue": ""
  2656. },
  2657. {
  2658. "name": "enabled",
  2659. "type": "BIGINT_19",
  2660. "chnname": "状态:1启用、0禁用",
  2661. "remark": "",
  2662. "pk": false,
  2663. "notNull": false,
  2664. "autoIncrement": false,
  2665. "defaultValue": ""
  2666. },
  2667. {
  2668. "name": "password",
  2669. "type": "VARCHAR_255",
  2670. "chnname": "密码",
  2671. "remark": "",
  2672. "pk": false,
  2673. "notNull": false,
  2674. "autoIncrement": false,
  2675. "defaultValue": ""
  2676. },
  2677. {
  2678. "name": "username",
  2679. "type": "VARCHAR_255",
  2680. "chnname": "用户名",
  2681. "remark": "",
  2682. "pk": false,
  2683. "notNull": false,
  2684. "autoIncrement": false,
  2685. "defaultValue": ""
  2686. },
  2687. {
  2688. "name": "dept_id",
  2689. "type": "BIGINT_19",
  2690. "chnname": "部门名称",
  2691. "remark": "",
  2692. "pk": false,
  2693. "notNull": false,
  2694. "autoIncrement": false,
  2695. "defaultValue": ""
  2696. },
  2697. {
  2698. "name": "phone",
  2699. "type": "VARCHAR_255",
  2700. "chnname": "手机号码",
  2701. "remark": "",
  2702. "pk": false,
  2703. "notNull": false,
  2704. "autoIncrement": false,
  2705. "defaultValue": ""
  2706. },
  2707. {
  2708. "name": "job_id",
  2709. "type": "BIGINT_19",
  2710. "chnname": "岗位名称",
  2711. "remark": "",
  2712. "pk": false,
  2713. "notNull": false,
  2714. "autoIncrement": false,
  2715. "defaultValue": ""
  2716. },
  2717. {
  2718. "name": "create_time",
  2719. "type": "DATETIME",
  2720. "chnname": "创建日期",
  2721. "remark": "",
  2722. "pk": false,
  2723. "notNull": false,
  2724. "autoIncrement": false,
  2725. "defaultValue": ""
  2726. },
  2727. {
  2728. "name": "last_password_reset_time",
  2729. "type": "DATETIME",
  2730. "chnname": "最后修改密码的日期",
  2731. "remark": "",
  2732. "pk": false,
  2733. "notNull": false,
  2734. "autoIncrement": false,
  2735. "defaultValue": ""
  2736. },
  2737. {
  2738. "name": "nick_name",
  2739. "type": "VARCHAR_255",
  2740. "chnname": "",
  2741. "remark": "",
  2742. "pk": false,
  2743. "notNull": false,
  2744. "autoIncrement": false,
  2745. "defaultValue": ""
  2746. },
  2747. {
  2748. "name": "sex",
  2749. "type": "VARCHAR_255",
  2750. "chnname": "",
  2751. "remark": "",
  2752. "pk": false,
  2753. "notNull": false,
  2754. "autoIncrement": false,
  2755. "defaultValue": ""
  2756. },
  2757. {
  2758. "name": "update_time",
  2759. "type": "DATETIME",
  2760. "chnname": "",
  2761. "remark": "",
  2762. "pk": false,
  2763. "notNull": false,
  2764. "autoIncrement": false,
  2765. "defaultValue": ""
  2766. },
  2767. {
  2768. "name": "is_del",
  2769. "type": "BIT_1",
  2770. "chnname": "",
  2771. "remark": "",
  2772. "pk": false,
  2773. "notNull": false,
  2774. "autoIncrement": false,
  2775. "defaultValue": ""
  2776. }
  2777. ]
  2778. }
  2779. ],
  2780. "graphCanvas": {
  2781. "nodes": [
  2782. {
  2783. "shape": "table",
  2784. "title": "user",
  2785. "moduleName": false,
  2786. "x": 730,
  2787. "y": 200,
  2788. "id": "42584636"
  2789. },
  2790. {
  2791. "shape": "table",
  2792. "title": "menu",
  2793. "moduleName": false,
  2794. "x": 230,
  2795. "y": 580,
  2796. "id": "faa9e561"
  2797. },
  2798. {
  2799. "shape": "table",
  2800. "title": "dict_detail",
  2801. "moduleName": false,
  2802. "x": 1440,
  2803. "y": 720,
  2804. "id": "de6d0d5f"
  2805. },
  2806. {
  2807. "shape": "table",
  2808. "title": "dict",
  2809. "moduleName": false,
  2810. "x": 1080,
  2811. "y": 770,
  2812. "id": "2e3e2ccb"
  2813. },
  2814. {
  2815. "shape": "table",
  2816. "title": "user_avatar",
  2817. "moduleName": false,
  2818. "x": 220,
  2819. "y": 100,
  2820. "id": "794cd430"
  2821. },
  2822. {
  2823. "shape": "table",
  2824. "title": "job",
  2825. "moduleName": false,
  2826. "x": 240,
  2827. "y": 290,
  2828. "id": "fe1aecfe"
  2829. },
  2830. {
  2831. "shape": "table",
  2832. "title": "roles_menus",
  2833. "moduleName": false,
  2834. "x": 550,
  2835. "y": 490,
  2836. "id": "0ba651c7"
  2837. },
  2838. {
  2839. "shape": "table",
  2840. "title": "role",
  2841. "moduleName": false,
  2842. "x": 850,
  2843. "y": 570,
  2844. "id": "2dd8b462"
  2845. },
  2846. {
  2847. "shape": "table",
  2848. "title": "roles_depts",
  2849. "moduleName": false,
  2850. "x": 1140,
  2851. "y": 490,
  2852. "id": "759d8dd0"
  2853. },
  2854. {
  2855. "shape": "table",
  2856. "title": "users_roles",
  2857. "moduleName": false,
  2858. "x": 1210,
  2859. "y": 50,
  2860. "id": "e76717e1"
  2861. },
  2862. {
  2863. "shape": "table",
  2864. "title": "dept",
  2865. "moduleName": false,
  2866. "x": 1200,
  2867. "y": 240,
  2868. "id": "2ecdc324"
  2869. }
  2870. ],
  2871. "edges": [
  2872. {
  2873. "shape": "erdRelation",
  2874. "relation": "0,n:1",
  2875. "source": "42584636",
  2876. "target": "fe1aecfe",
  2877. "id": "a7e02413",
  2878. "controlPoints": [
  2879. {
  2880. "x": 518.6240234375,
  2881. "y": 225.91161616161617
  2882. },
  2883. {
  2884. "x": 384.025390625,
  2885. "y": 232.19736842105263
  2886. }
  2887. ],
  2888. "sourceAnchor": 16,
  2889. "targetAnchor": 1
  2890. },
  2891. {
  2892. "shape": "erdRelation",
  2893. "relation": "0,n:1",
  2894. "source": "42584636",
  2895. "target": "2ecdc324",
  2896. "id": "99cdad68",
  2897. "controlPoints": [
  2898. {
  2899. "x": 941.3759765625,
  2900. "y": 187.46212121212122
  2901. },
  2902. {
  2903. "x": 1055.974609375,
  2904. "y": 192.22058823529412
  2905. }
  2906. ],
  2907. "sourceAnchor": 13,
  2908. "targetAnchor": 0
  2909. },
  2910. {
  2911. "shape": "erdRelation",
  2912. "relation": "0,n:1",
  2913. "source": "de6d0d5f",
  2914. "target": "2e3e2ccb",
  2915. "id": "0f30581b",
  2916. "controlPoints": [
  2917. {
  2918. "x": 1296.224609375,
  2919. "y": 736.3355263157895
  2920. },
  2921. {
  2922. "x": 1223.775390625,
  2923. "y": 732.25
  2924. }
  2925. ],
  2926. "sourceAnchor": 8,
  2927. "targetAnchor": 1
  2928. },
  2929. {
  2930. "shape": "erdRelation",
  2931. "relation": "0,n:1",
  2932. "source": "42584636",
  2933. "target": "794cd430",
  2934. "id": "618c6bc6",
  2935. "controlPoints": [
  2936. {
  2937. "x": 518.6240234375,
  2938. "y": 91.33838383838385
  2939. },
  2940. {
  2941. "x": 368.099609375,
  2942. "y": 72.28846153846153
  2943. }
  2944. ],
  2945. "sourceAnchor": 2,
  2946. "targetAnchor": 1
  2947. },
  2948. {
  2949. "shape": "erdRelation",
  2950. "relation": "0,n:1",
  2951. "source": "0ba651c7",
  2952. "target": "faa9e561",
  2953. "id": "fdb423ea",
  2954. "controlPoints": [
  2955. {
  2956. "x": 422.126953125,
  2957. "y": 492.281914893617
  2958. },
  2959. {
  2960. "x": 395.0341796875,
  2961. "y": 442.10714285714283
  2962. }
  2963. ],
  2964. "sourceAnchor": 0,
  2965. "targetAnchor": 1
  2966. },
  2967. {
  2968. "shape": "erdRelation",
  2969. "relation": "0,n:1",
  2970. "source": "0ba651c7",
  2971. "target": "2dd8b462",
  2972. "id": "882b95a1",
  2973. "controlPoints": [
  2974. {
  2975. "x": 677.873046875,
  2976. "y": 512.8191489361702
  2977. },
  2978. {
  2979. "x": 705.974609375,
  2980. "y": 502.17857142857144
  2981. }
  2982. ],
  2983. "sourceAnchor": 3,
  2984. "targetAnchor": 0
  2985. },
  2986. {
  2987. "shape": "erdRelation",
  2988. "relation": "0,n:1",
  2989. "source": "759d8dd0",
  2990. "target": "2dd8b462",
  2991. "id": "7a7a3350",
  2992. "controlPoints": [
  2993. {
  2994. "x": 1034.2080078125,
  2995. "y": 492.281914893617
  2996. },
  2997. {
  2998. "x": 994.025390625,
  2999. "y": 502.17857142857144
  3000. }
  3001. ],
  3002. "sourceAnchor": 0,
  3003. "targetAnchor": 1
  3004. },
  3005. {
  3006. "shape": "erdRelation",
  3007. "relation": "0,n:1",
  3008. "source": "759d8dd0",
  3009. "target": "2ecdc324",
  3010. "id": "a9e0dc69",
  3011. "controlPoints": [
  3012. {
  3013. "x": 1245.7919921875,
  3014. "y": 506.48049645390074
  3015. },
  3016. {
  3017. "x": 1440,
  3018. "y": 500
  3019. },
  3020. {
  3021. "x": 1440,
  3022. "y": 190
  3023. },
  3024. {
  3025. "x": 1344.025390625,
  3026. "y": 192.22058823529412
  3027. }
  3028. ],
  3029. "sourceAnchor": 3,
  3030. "targetAnchor": 1
  3031. },
  3032. {
  3033. "shape": "erdRelation",
  3034. "relation": "0,n:1",
  3035. "source": "e76717e1",
  3036. "target": "42584636",
  3037. "id": "6179129e",
  3038. "controlPoints": [
  3039. {
  3040. "x": 1085.4638671875,
  3041. "y": 52.28191489361702
  3042. },
  3043. {
  3044. "x": 941.3759765625,
  3045. "y": 72.11363636363636
  3046. }
  3047. ],
  3048. "sourceAnchor": 0,
  3049. "targetAnchor": 1
  3050. },
  3051. {
  3052. "shape": "erdRelation",
  3053. "relation": "0,n:1",
  3054. "source": "e76717e1",
  3055. "target": "2dd8b462",
  3056. "id": "c796f9c9",
  3057. "controlPoints": [
  3058. {
  3059. "x": 1334.5361328125,
  3060. "y": 72.81914893617022
  3061. },
  3062. {
  3063. "x": 1480,
  3064. "y": 70
  3065. },
  3066. {
  3067. "x": 1490,
  3068. "y": 580
  3069. },
  3070. {
  3071. "x": 1030,
  3072. "y": 590
  3073. },
  3074. {
  3075. "x": 994.025390625,
  3076. "y": 502.17857142857144
  3077. }
  3078. ],
  3079. "sourceAnchor": 3,
  3080. "targetAnchor": 1
  3081. }
  3082. ]
  3083. },
  3084. "associations": [
  3085. {
  3086. "relation": "0,n:1",
  3087. "from": {
  3088. "entity": "user",
  3089. "field": "job_id"
  3090. },
  3091. "to": {
  3092. "entity": "job",
  3093. "field": "id"
  3094. }
  3095. },
  3096. {
  3097. "relation": "0,n:1",
  3098. "from": {
  3099. "entity": "user",
  3100. "field": "dept_id"
  3101. },
  3102. "to": {
  3103. "entity": "dept",
  3104. "field": "id"
  3105. }
  3106. },
  3107. {
  3108. "relation": "0,n:1",
  3109. "from": {
  3110. "entity": "dict_detail",
  3111. "field": "dict_id"
  3112. },
  3113. "to": {
  3114. "entity": "dict",
  3115. "field": "id"
  3116. }
  3117. },
  3118. {
  3119. "relation": "0,n:1",
  3120. "from": {
  3121. "entity": "user",
  3122. "field": "avatar_id"
  3123. },
  3124. "to": {
  3125. "entity": "user_avatar",
  3126. "field": "id"
  3127. }
  3128. },
  3129. {
  3130. "relation": "0,n:1",
  3131. "from": {
  3132. "entity": "roles_menus",
  3133. "field": "menu_id"
  3134. },
  3135. "to": {
  3136. "entity": "menu",
  3137. "field": "id"
  3138. }
  3139. },
  3140. {
  3141. "relation": "0,n:1",
  3142. "from": {
  3143. "entity": "roles_menus",
  3144. "field": "role_id"
  3145. },
  3146. "to": {
  3147. "entity": "role",
  3148. "field": "id"
  3149. }
  3150. },
  3151. {
  3152. "relation": "0,n:1",
  3153. "from": {
  3154. "entity": "roles_depts",
  3155. "field": "role_id"
  3156. },
  3157. "to": {
  3158. "entity": "role",
  3159. "field": "id"
  3160. }
  3161. },
  3162. {
  3163. "relation": "0,n:1",
  3164. "from": {
  3165. "entity": "roles_depts",
  3166. "field": "dept_id"
  3167. },
  3168. "to": {
  3169. "entity": "dept",
  3170. "field": "id"
  3171. }
  3172. },
  3173. {
  3174. "relation": "0,n:1",
  3175. "from": {
  3176. "entity": "users_roles",
  3177. "field": "user_id"
  3178. },
  3179. "to": {
  3180. "entity": "user",
  3181. "field": "id"
  3182. }
  3183. },
  3184. {
  3185. "relation": "0,n:1",
  3186. "from": {
  3187. "entity": "users_roles",
  3188. "field": "role_id"
  3189. },
  3190. "to": {
  3191. "entity": "role",
  3192. "field": "id"
  3193. }
  3194. }
  3195. ]
  3196. },
  3197. {
  3198. "name": "activity",
  3199. "chnname": "活动",
  3200. "entities": [
  3201. {
  3202. "title": "yx_store_seckill",
  3203. "chnname": "商品秒杀产品表",
  3204. "fields": [
  3205. {
  3206. "name": "id",
  3207. "type": "BIGINT UNSIGNED_20",
  3208. "chnname": "商品秒杀产品表id",
  3209. "remark": "",
  3210. "pk": true,
  3211. "notNull": true,
  3212. "autoIncrement": true,
  3213. "defaultValue": ""
  3214. },
  3215. {
  3216. "name": "product_id",
  3217. "type": "BIGINT UNSIGNED_20",
  3218. "chnname": "商品id",
  3219. "remark": "",
  3220. "pk": false,
  3221. "notNull": true,
  3222. "autoIncrement": false,
  3223. "defaultValue": ""
  3224. },
  3225. {
  3226. "name": "image",
  3227. "type": "VARCHAR_255",
  3228. "chnname": "推荐图",
  3229. "remark": "",
  3230. "pk": false,
  3231. "notNull": true,
  3232. "autoIncrement": false,
  3233. "defaultValue": ""
  3234. },
  3235. {
  3236. "name": "images",
  3237. "type": "VARCHAR_2000",
  3238. "chnname": "轮播图",
  3239. "remark": "",
  3240. "pk": false,
  3241. "notNull": true,
  3242. "autoIncrement": false,
  3243. "defaultValue": ""
  3244. },
  3245. {
  3246. "name": "title",
  3247. "type": "VARCHAR_255",
  3248. "chnname": "活动标题",
  3249. "remark": "",
  3250. "pk": false,
  3251. "notNull": true,
  3252. "autoIncrement": false,
  3253. "defaultValue": ""
  3254. },
  3255. {
  3256. "name": "info",
  3257. "type": "VARCHAR_255",
  3258. "chnname": "简介",
  3259. "remark": "",
  3260. "pk": false,
  3261. "notNull": true,
  3262. "autoIncrement": false,
  3263. "defaultValue": ""
  3264. },
  3265. {
  3266. "name": "price",
  3267. "type": "DECIMAL UNSIGNED_10_2",
  3268. "chnname": "价格",
  3269. "remark": "",
  3270. "pk": false,
  3271. "notNull": true,
  3272. "autoIncrement": false,
  3273. "defaultValue": ""
  3274. },
  3275. {
  3276. "name": "cost",
  3277. "type": "DECIMAL UNSIGNED_8_2",
  3278. "chnname": "成本",
  3279. "remark": "",
  3280. "pk": false,
  3281. "notNull": true,
  3282. "autoIncrement": false,
  3283. "defaultValue": ""
  3284. },
  3285. {
  3286. "name": "ot_price",
  3287. "type": "DECIMAL UNSIGNED_10_2",
  3288. "chnname": "原价",
  3289. "remark": "",
  3290. "pk": false,
  3291. "notNull": true,
  3292. "autoIncrement": false,
  3293. "defaultValue": ""
  3294. },
  3295. {
  3296. "name": "give_integral",
  3297. "type": "DECIMAL UNSIGNED_10_2",
  3298. "chnname": "返多少积分",
  3299. "remark": "",
  3300. "pk": false,
  3301. "notNull": true,
  3302. "autoIncrement": false,
  3303. "defaultValue": ""
  3304. },
  3305. {
  3306. "name": "sort",
  3307. "type": "INT UNSIGNED_10",
  3308. "chnname": "排序",
  3309. "remark": "",
  3310. "pk": false,
  3311. "notNull": true,
  3312. "autoIncrement": false,
  3313. "defaultValue": ""
  3314. },
  3315. {
  3316. "name": "stock",
  3317. "type": "INT UNSIGNED_10",
  3318. "chnname": "库存",
  3319. "remark": "",
  3320. "pk": false,
  3321. "notNull": true,
  3322. "autoIncrement": false,
  3323. "defaultValue": ""
  3324. },
  3325. {
  3326. "name": "sales",
  3327. "type": "INT UNSIGNED_10",
  3328. "chnname": "销量",
  3329. "remark": "",
  3330. "pk": false,
  3331. "notNull": true,
  3332. "autoIncrement": false,
  3333. "defaultValue": ""
  3334. },
  3335. {
  3336. "name": "unit_name",
  3337. "type": "VARCHAR_16",
  3338. "chnname": "单位名",
  3339. "remark": "",
  3340. "pk": false,
  3341. "notNull": true,
  3342. "autoIncrement": false,
  3343. "defaultValue": ""
  3344. },
  3345. {
  3346. "name": "postage",
  3347. "type": "DECIMAL UNSIGNED_8_2",
  3348. "chnname": "邮费",
  3349. "remark": "",
  3350. "pk": false,
  3351. "notNull": true,
  3352. "autoIncrement": false,
  3353. "defaultValue": ""
  3354. },
  3355. {
  3356. "name": "description",
  3357. "type": "TEXT",
  3358. "chnname": "内容",
  3359. "remark": "",
  3360. "pk": false,
  3361. "notNull": false,
  3362. "autoIncrement": false,
  3363. "defaultValue": ""
  3364. },
  3365. {
  3366. "name": "start_time",
  3367. "type": "DATE",
  3368. "chnname": "开始时间",
  3369. "remark": "",
  3370. "pk": false,
  3371. "notNull": true,
  3372. "autoIncrement": false,
  3373. "defaultValue": ""
  3374. },
  3375. {
  3376. "name": "stop_time",
  3377. "type": "DATE",
  3378. "chnname": "结束时间",
  3379. "remark": "",
  3380. "pk": false,
  3381. "notNull": true,
  3382. "autoIncrement": false,
  3383. "defaultValue": ""
  3384. },
  3385. {
  3386. "name": "create_time",
  3387. "type": "DATETIME",
  3388. "chnname": "添加时间",
  3389. "remark": "",
  3390. "pk": false,
  3391. "notNull": true,
  3392. "autoIncrement": false,
  3393. "defaultValue": ""
  3394. },
  3395. {
  3396. "name": "update_time",
  3397. "type": "DATETIME",
  3398. "chnname": "",
  3399. "remark": "",
  3400. "pk": false,
  3401. "notNull": false,
  3402. "autoIncrement": false,
  3403. "defaultValue": ""
  3404. },
  3405. {
  3406. "name": "status",
  3407. "type": "TINYINT UNSIGNED_1",
  3408. "chnname": "产品状态",
  3409. "remark": "",
  3410. "pk": false,
  3411. "notNull": true,
  3412. "autoIncrement": false,
  3413. "defaultValue": ""
  3414. },
  3415. {
  3416. "name": "is_postage",
  3417. "type": "TINYINT UNSIGNED_1",
  3418. "chnname": "是否包邮",
  3419. "remark": "",
  3420. "pk": false,
  3421. "notNull": true,
  3422. "autoIncrement": false,
  3423. "defaultValue": ""
  3424. },
  3425. {
  3426. "name": "is_hot",
  3427. "type": "TINYINT UNSIGNED_1",
  3428. "chnname": "热门推荐",
  3429. "remark": "",
  3430. "pk": false,
  3431. "notNull": true,
  3432. "autoIncrement": false,
  3433. "defaultValue": ""
  3434. },
  3435. {
  3436. "name": "is_del",
  3437. "type": "TINYINT UNSIGNED_1",
  3438. "chnname": "删除 0未删除1已删除",
  3439. "remark": "",
  3440. "pk": false,
  3441. "notNull": true,
  3442. "autoIncrement": false,
  3443. "defaultValue": ""
  3444. },
  3445. {
  3446. "name": "num",
  3447. "type": "INT UNSIGNED_10",
  3448. "chnname": "最多秒杀几个",
  3449. "remark": "",
  3450. "pk": false,
  3451. "notNull": true,
  3452. "autoIncrement": false,
  3453. "defaultValue": ""
  3454. },
  3455. {
  3456. "name": "is_show",
  3457. "type": "TINYINT UNSIGNED_1",
  3458. "chnname": "显示",
  3459. "remark": "",
  3460. "pk": false,
  3461. "notNull": true,
  3462. "autoIncrement": false,
  3463. "defaultValue": ""
  3464. },
  3465. {
  3466. "name": "time_id",
  3467. "type": "INT UNSIGNED_10",
  3468. "chnname": "时间段id",
  3469. "remark": "",
  3470. "pk": false,
  3471. "notNull": false,
  3472. "autoIncrement": false,
  3473. "defaultValue": ""
  3474. }
  3475. ]
  3476. },
  3477. {
  3478. "title": "yx_store_pink",
  3479. "chnname": "拼团表",
  3480. "fields": [
  3481. {
  3482. "name": "id",
  3483. "type": "BIGINT UNSIGNED_20",
  3484. "chnname": "",
  3485. "remark": "",
  3486. "pk": true,
  3487. "notNull": true,
  3488. "autoIncrement": true,
  3489. "defaultValue": ""
  3490. },
  3491. {
  3492. "name": "uid",
  3493. "type": "BIGINT UNSIGNED_20",
  3494. "chnname": "用户id",
  3495. "remark": "",
  3496. "pk": false,
  3497. "notNull": true,
  3498. "autoIncrement": false,
  3499. "defaultValue": ""
  3500. },
  3501. {
  3502. "name": "order_id",
  3503. "type": "VARCHAR_32",
  3504. "chnname": "订单id 生成",
  3505. "remark": "",
  3506. "pk": false,
  3507. "notNull": true,
  3508. "autoIncrement": false,
  3509. "defaultValue": ""
  3510. },
  3511. {
  3512. "name": "order_id_key",
  3513. "type": "INT UNSIGNED_10",
  3514. "chnname": "订单id 数据库",
  3515. "remark": "",
  3516. "pk": false,
  3517. "notNull": true,
  3518. "autoIncrement": false,
  3519. "defaultValue": ""
  3520. },
  3521. {
  3522. "name": "total_num",
  3523. "type": "INT UNSIGNED_10",
  3524. "chnname": "购买商品个数",
  3525. "remark": "",
  3526. "pk": false,
  3527. "notNull": true,
  3528. "autoIncrement": false,
  3529. "defaultValue": ""
  3530. },
  3531. {
  3532. "name": "total_price",
  3533. "type": "DECIMAL UNSIGNED_10_2",
  3534. "chnname": "购买总金额",
  3535. "remark": "",
  3536. "pk": false,
  3537. "notNull": true,
  3538. "autoIncrement": false,
  3539. "defaultValue": ""
  3540. },
  3541. {
  3542. "name": "cid",
  3543. "type": "BIGINT UNSIGNED_20",
  3544. "chnname": "拼团产品id",
  3545. "remark": "",
  3546. "pk": false,
  3547. "notNull": true,
  3548. "autoIncrement": false,
  3549. "defaultValue": ""
  3550. },
  3551. {
  3552. "name": "pid",
  3553. "type": "BIGINT UNSIGNED_20",
  3554. "chnname": "产品id",
  3555. "remark": "",
  3556. "pk": false,
  3557. "notNull": true,
  3558. "autoIncrement": false,
  3559. "defaultValue": ""
  3560. },
  3561. {
  3562. "name": "people",
  3563. "type": "INT UNSIGNED_10",
  3564. "chnname": "拼团总人数",
  3565. "remark": "",
  3566. "pk": false,
  3567. "notNull": true,
  3568. "autoIncrement": false,
  3569. "defaultValue": ""
  3570. },
  3571. {
  3572. "name": "price",
  3573. "type": "DECIMAL UNSIGNED_10_2",
  3574. "chnname": "拼团产品单价",
  3575. "remark": "",
  3576. "pk": false,
  3577. "notNull": true,
  3578. "autoIncrement": false,
  3579. "defaultValue": ""
  3580. },
  3581. {
  3582. "name": "create_time",
  3583. "type": "DATETIME",
  3584. "chnname": "开始时间",
  3585. "remark": "",
  3586. "pk": false,
  3587. "notNull": true,
  3588. "autoIncrement": false,
  3589. "defaultValue": ""
  3590. },
  3591. {
  3592. "name": "update_time",
  3593. "type": "DATETIME",
  3594. "chnname": "",
  3595. "remark": "",
  3596. "pk": false,
  3597. "notNull": false,
  3598. "autoIncrement": false,
  3599. "defaultValue": ""
  3600. },
  3601. {
  3602. "name": "stop_time",
  3603. "type": "DATETIME",
  3604. "chnname": "",
  3605. "remark": "",
  3606. "pk": false,
  3607. "notNull": false,
  3608. "autoIncrement": false,
  3609. "defaultValue": ""
  3610. },
  3611. {
  3612. "name": "k_id",
  3613. "type": "BIGINT UNSIGNED_20",
  3614. "chnname": "团长id 0为团长",
  3615. "remark": "",
  3616. "pk": false,
  3617. "notNull": true,
  3618. "autoIncrement": false,
  3619. "defaultValue": ""
  3620. },
  3621. {
  3622. "name": "is_tpl",
  3623. "type": "TINYINT UNSIGNED_1",
  3624. "chnname": "是否发送模板消息0未发送1已发送",
  3625. "remark": "",
  3626. "pk": false,
  3627. "notNull": true,
  3628. "autoIncrement": false,
  3629. "defaultValue": ""
  3630. },
  3631. {
  3632. "name": "is_refund",
  3633. "type": "TINYINT UNSIGNED_1",
  3634. "chnname": "是否退款 0未退款 1已退款",
  3635. "remark": "",
  3636. "pk": false,
  3637. "notNull": true,
  3638. "autoIncrement": false,
  3639. "defaultValue": ""
  3640. },
  3641. {
  3642. "name": "status",
  3643. "type": "TINYINT UNSIGNED_1",
  3644. "chnname": "状态1进行中2已完成3未完成",
  3645. "remark": "",
  3646. "pk": false,
  3647. "notNull": true,
  3648. "autoIncrement": false,
  3649. "defaultValue": ""
  3650. },
  3651. {
  3652. "name": "is_del",
  3653. "type": "BIT_1",
  3654. "chnname": "",
  3655. "remark": "",
  3656. "pk": false,
  3657. "notNull": false,
  3658. "autoIncrement": false,
  3659. "defaultValue": ""
  3660. }
  3661. ]
  3662. },
  3663. {
  3664. "title": "yx_store_coupon_user",
  3665. "chnname": "优惠券发放记录表",
  3666. "fields": [
  3667. {
  3668. "name": "id",
  3669. "type": "BIGINT_19",
  3670. "chnname": "优惠券发放记录id",
  3671. "remark": "",
  3672. "pk": true,
  3673. "notNull": true,
  3674. "autoIncrement": true,
  3675. "defaultValue": ""
  3676. },
  3677. {
  3678. "name": "cid",
  3679. "type": "INT UNSIGNED_10",
  3680. "chnname": "兑换的项目id",
  3681. "remark": "",
  3682. "pk": false,
  3683. "notNull": true,
  3684. "autoIncrement": false,
  3685. "defaultValue": ""
  3686. },
  3687. {
  3688. "name": "uid",
  3689. "type": "BIGINT UNSIGNED_20",
  3690. "chnname": "优惠券所属用户",
  3691. "remark": "",
  3692. "pk": false,
  3693. "notNull": true,
  3694. "autoIncrement": false,
  3695. "defaultValue": ""
  3696. },
  3697. {
  3698. "name": "coupon_title",
  3699. "type": "VARCHAR_32",
  3700. "chnname": "优惠券名称",
  3701. "remark": "",
  3702. "pk": false,
  3703. "notNull": true,
  3704. "autoIncrement": false,
  3705. "defaultValue": ""
  3706. },
  3707. {
  3708. "name": "coupon_price",
  3709. "type": "DECIMAL UNSIGNED_8_2",
  3710. "chnname": "优惠券的面值",
  3711. "remark": "",
  3712. "pk": false,
  3713. "notNull": true,
  3714. "autoIncrement": false,
  3715. "defaultValue": ""
  3716. },
  3717. {
  3718. "name": "use_min_price",
  3719. "type": "DECIMAL UNSIGNED_8_2",
  3720. "chnname": "最低消费多少金额可用优惠券",
  3721. "remark": "",
  3722. "pk": false,
  3723. "notNull": true,
  3724. "autoIncrement": false,
  3725. "defaultValue": ""
  3726. },
  3727. {
  3728. "name": "create_time",
  3729. "type": "DATETIME",
  3730. "chnname": "优惠券创建时间",
  3731. "remark": "",
  3732. "pk": false,
  3733. "notNull": true,
  3734. "autoIncrement": false,
  3735. "defaultValue": ""
  3736. },
  3737. {
  3738. "name": "update_time",
  3739. "type": "DATETIME",
  3740. "chnname": "",
  3741. "remark": "",
  3742. "pk": false,
  3743. "notNull": false,
  3744. "autoIncrement": false,
  3745. "defaultValue": ""
  3746. },
  3747. {
  3748. "name": "end_time",
  3749. "type": "DATETIME",
  3750. "chnname": "优惠券结束时间",
  3751. "remark": "",
  3752. "pk": false,
  3753. "notNull": true,
  3754. "autoIncrement": false,
  3755. "defaultValue": ""
  3756. },
  3757. {
  3758. "name": "use_time",
  3759. "type": "DATETIME",
  3760. "chnname": "使用时间",
  3761. "remark": "",
  3762. "pk": false,
  3763. "notNull": false,
  3764. "autoIncrement": false,
  3765. "defaultValue": ""
  3766. },
  3767. {
  3768. "name": "type",
  3769. "type": "VARCHAR_32",
  3770. "chnname": "获取方式",
  3771. "remark": "",
  3772. "pk": false,
  3773. "notNull": true,
  3774. "autoIncrement": false,
  3775. "defaultValue": ""
  3776. },
  3777. {
  3778. "name": "status",
  3779. "type": "BIT_1",
  3780. "chnname": "状态(0:未使用,1:已使用, 2:已过期)",
  3781. "remark": "",
  3782. "pk": false,
  3783. "notNull": true,
  3784. "autoIncrement": false,
  3785. "defaultValue": ""
  3786. },
  3787. {
  3788. "name": "is_fail",
  3789. "type": "TINYINT UNSIGNED_1",
  3790. "chnname": "是否有效",
  3791. "remark": "",
  3792. "pk": false,
  3793. "notNull": true,
  3794. "autoIncrement": false,
  3795. "defaultValue": ""
  3796. },
  3797. {
  3798. "name": "is_del",
  3799. "type": "BIT_1",
  3800. "chnname": "",
  3801. "remark": "",
  3802. "pk": false,
  3803. "notNull": false,
  3804. "autoIncrement": false,
  3805. "defaultValue": ""
  3806. }
  3807. ]
  3808. },
  3809. {
  3810. "title": "yx_store_coupon_issue_user",
  3811. "chnname": "优惠券前台用户领取记录表",
  3812. "fields": [
  3813. {
  3814. "name": "id",
  3815. "type": "BIGINT UNSIGNED_20",
  3816. "chnname": "",
  3817. "remark": "",
  3818. "pk": true,
  3819. "notNull": true,
  3820. "autoIncrement": true,
  3821. "defaultValue": ""
  3822. },
  3823. {
  3824. "name": "uid",
  3825. "type": "BIGINT_19",
  3826. "chnname": "领取优惠券用户ID",
  3827. "remark": "",
  3828. "pk": false,
  3829. "notNull": false,
  3830. "autoIncrement": false,
  3831. "defaultValue": ""
  3832. },
  3833. {
  3834. "name": "issue_coupon_id",
  3835. "type": "INT_10",
  3836. "chnname": "优惠券前台领取ID",
  3837. "remark": "",
  3838. "pk": false,
  3839. "notNull": false,
  3840. "autoIncrement": false,
  3841. "defaultValue": ""
  3842. },
  3843. {
  3844. "name": "create_time",
  3845. "type": "DATETIME",
  3846. "chnname": "领取时间",
  3847. "remark": "",
  3848. "pk": false,
  3849. "notNull": false,
  3850. "autoIncrement": false,
  3851. "defaultValue": ""
  3852. },
  3853. {
  3854. "name": "update_time",
  3855. "type": "DATETIME",
  3856. "chnname": "",
  3857. "remark": "",
  3858. "pk": false,
  3859. "notNull": false,
  3860. "autoIncrement": false,
  3861. "defaultValue": ""
  3862. },
  3863. {
  3864. "name": "is_del",
  3865. "type": "BIT_1",
  3866. "chnname": "",
  3867. "remark": "",
  3868. "pk": false,
  3869. "notNull": false,
  3870. "autoIncrement": false,
  3871. "defaultValue": ""
  3872. }
  3873. ]
  3874. },
  3875. {
  3876. "title": "yx_store_coupon_issue",
  3877. "chnname": "优惠券前台领取表",
  3878. "fields": [
  3879. {
  3880. "name": "id",
  3881. "type": "INT UNSIGNED_10",
  3882. "chnname": "",
  3883. "remark": "",
  3884. "pk": true,
  3885. "notNull": true,
  3886. "autoIncrement": true,
  3887. "defaultValue": ""
  3888. },
  3889. {
  3890. "name": "cname",
  3891. "type": "VARCHAR_50",
  3892. "chnname": "",
  3893. "remark": "",
  3894. "pk": false,
  3895. "notNull": false,
  3896. "autoIncrement": false,
  3897. "defaultValue": ""
  3898. },
  3899. {
  3900. "name": "cid",
  3901. "type": "INT_10",
  3902. "chnname": "优惠券ID",
  3903. "remark": "",
  3904. "pk": false,
  3905. "notNull": false,
  3906. "autoIncrement": false,
  3907. "defaultValue": ""
  3908. },
  3909. {
  3910. "name": "ctype",
  3911. "type": "BIT_1",
  3912. "chnname": "优惠券类型 0-通用 1-商品券",
  3913. "remark": "",
  3914. "pk": false,
  3915. "notNull": false,
  3916. "autoIncrement": false,
  3917. "defaultValue": ""
  3918. },
  3919. {
  3920. "name": "start_time",
  3921. "type": "DATETIME",
  3922. "chnname": "优惠券领取开启时间",
  3923. "remark": "",
  3924. "pk": false,
  3925. "notNull": false,
  3926. "autoIncrement": false,
  3927. "defaultValue": ""
  3928. },
  3929. {
  3930. "name": "end_time",
  3931. "type": "DATETIME",
  3932. "chnname": "优惠券领取结束时间",
  3933. "remark": "",
  3934. "pk": false,
  3935. "notNull": false,
  3936. "autoIncrement": false,
  3937. "defaultValue": ""
  3938. },
  3939. {
  3940. "name": "total_count",
  3941. "type": "INT_10",
  3942. "chnname": "优惠券领取数量",
  3943. "remark": "",
  3944. "pk": false,
  3945. "notNull": false,
  3946. "autoIncrement": false,
  3947. "defaultValue": ""
  3948. },
  3949. {
  3950. "name": "remain_count",
  3951. "type": "INT_10",
  3952. "chnname": "优惠券剩余领取数量",
  3953. "remark": "",
  3954. "pk": false,
  3955. "notNull": false,
  3956. "autoIncrement": false,
  3957. "defaultValue": ""
  3958. },
  3959. {
  3960. "name": "is_permanent",
  3961. "type": "BIT_1",
  3962. "chnname": "是否无限张数",
  3963. "remark": "",
  3964. "pk": false,
  3965. "notNull": true,
  3966. "autoIncrement": false,
  3967. "defaultValue": ""
  3968. },
  3969. {
  3970. "name": "status",
  3971. "type": "BIT_1",
  3972. "chnname": "1 正常 0 未开启 -1 已无效",
  3973. "remark": "",
  3974. "pk": false,
  3975. "notNull": true,
  3976. "autoIncrement": false,
  3977. "defaultValue": ""
  3978. },
  3979. {
  3980. "name": "is_del",
  3981. "type": "TINYINT UNSIGNED_1",
  3982. "chnname": "",
  3983. "remark": "",
  3984. "pk": false,
  3985. "notNull": true,
  3986. "autoIncrement": false,
  3987. "defaultValue": ""
  3988. },
  3989. {
  3990. "name": "create_time",
  3991. "type": "DATETIME",
  3992. "chnname": "优惠券添加时间",
  3993. "remark": "",
  3994. "pk": false,
  3995. "notNull": false,
  3996. "autoIncrement": false,
  3997. "defaultValue": ""
  3998. },
  3999. {
  4000. "name": "update_time",
  4001. "type": "DATETIME",
  4002. "chnname": "",
  4003. "remark": "",
  4004. "pk": false,
  4005. "notNull": false,
  4006. "autoIncrement": false,
  4007. "defaultValue": ""
  4008. }
  4009. ]
  4010. },
  4011. {
  4012. "title": "yx_store_coupon",
  4013. "chnname": "优惠券表",
  4014. "fields": [
  4015. {
  4016. "name": "id",
  4017. "type": "INT UNSIGNED_10",
  4018. "chnname": "优惠券表ID",
  4019. "remark": "",
  4020. "pk": true,
  4021. "notNull": true,
  4022. "autoIncrement": true,
  4023. "defaultValue": ""
  4024. },
  4025. {
  4026. "name": "title",
  4027. "type": "VARCHAR_64",
  4028. "chnname": "优惠券名称",
  4029. "remark": "",
  4030. "pk": false,
  4031. "notNull": true,
  4032. "autoIncrement": false,
  4033. "defaultValue": ""
  4034. },
  4035. {
  4036. "name": "integral",
  4037. "type": "INT UNSIGNED_10",
  4038. "chnname": "兑换消耗积分值",
  4039. "remark": "",
  4040. "pk": false,
  4041. "notNull": true,
  4042. "autoIncrement": false,
  4043. "defaultValue": ""
  4044. },
  4045. {
  4046. "name": "coupon_price",
  4047. "type": "DECIMAL UNSIGNED_8_2",
  4048. "chnname": "兑换的优惠券面值",
  4049. "remark": "",
  4050. "pk": false,
  4051. "notNull": true,
  4052. "autoIncrement": false,
  4053. "defaultValue": ""
  4054. },
  4055. {
  4056. "name": "use_min_price",
  4057. "type": "DECIMAL UNSIGNED_8_2",
  4058. "chnname": "最低消费多少金额可用优惠券",
  4059. "remark": "",
  4060. "pk": false,
  4061. "notNull": true,
  4062. "autoIncrement": false,
  4063. "defaultValue": ""
  4064. },
  4065. {
  4066. "name": "coupon_time",
  4067. "type": "INT UNSIGNED_10",
  4068. "chnname": "优惠券有效期限(单位:天)",
  4069. "remark": "",
  4070. "pk": false,
  4071. "notNull": true,
  4072. "autoIncrement": false,
  4073. "defaultValue": ""
  4074. },
  4075. {
  4076. "name": "sort",
  4077. "type": "INT UNSIGNED_10",
  4078. "chnname": "排序",
  4079. "remark": "",
  4080. "pk": false,
  4081. "notNull": true,
  4082. "autoIncrement": false,
  4083. "defaultValue": ""
  4084. },
  4085. {
  4086. "name": "status",
  4087. "type": "TINYINT UNSIGNED_1",
  4088. "chnname": "状态(0:关闭,1:开启)",
  4089. "remark": "",
  4090. "pk": false,
  4091. "notNull": true,
  4092. "autoIncrement": false,
  4093. "defaultValue": ""
  4094. },
  4095. {
  4096. "name": "product_id",
  4097. "type": "VARCHAR_200",
  4098. "chnname": "商品ids",
  4099. "remark": "",
  4100. "pk": false,
  4101. "notNull": false,
  4102. "autoIncrement": false,
  4103. "defaultValue": ""
  4104. },
  4105. {
  4106. "name": "type",
  4107. "type": "TINYINT_3",
  4108. "chnname": "优惠券类型 0-通用 1-商品券",
  4109. "remark": "",
  4110. "pk": false,
  4111. "notNull": false,
  4112. "autoIncrement": false,
  4113. "defaultValue": ""
  4114. },
  4115. {
  4116. "name": "create_time",
  4117. "type": "DATETIME",
  4118. "chnname": "兑换项目添加时间",
  4119. "remark": "",
  4120. "pk": false,
  4121. "notNull": true,
  4122. "autoIncrement": false,
  4123. "defaultValue": ""
  4124. },
  4125. {
  4126. "name": "update_time",
  4127. "type": "DATETIME",
  4128. "chnname": "",
  4129. "remark": "",
  4130. "pk": false,
  4131. "notNull": false,
  4132. "autoIncrement": false,
  4133. "defaultValue": ""
  4134. },
  4135. {
  4136. "name": "is_del",
  4137. "type": "TINYINT UNSIGNED_1",
  4138. "chnname": "是否删除",
  4139. "remark": "",
  4140. "pk": false,
  4141. "notNull": true,
  4142. "autoIncrement": false,
  4143. "defaultValue": ""
  4144. }
  4145. ]
  4146. },
  4147. {
  4148. "title": "yx_store_combination",
  4149. "chnname": "拼团产品表",
  4150. "fields": [
  4151. {
  4152. "name": "id",
  4153. "type": "BIGINT UNSIGNED_20",
  4154. "chnname": "",
  4155. "remark": "",
  4156. "pk": true,
  4157. "notNull": true,
  4158. "autoIncrement": true,
  4159. "defaultValue": ""
  4160. },
  4161. {
  4162. "name": "product_id",
  4163. "type": "BIGINT UNSIGNED_20",
  4164. "chnname": "商品id",
  4165. "remark": "",
  4166. "pk": false,
  4167. "notNull": true,
  4168. "autoIncrement": false,
  4169. "defaultValue": ""
  4170. },
  4171. {
  4172. "name": "mer_id",
  4173. "type": "INT UNSIGNED_10",
  4174. "chnname": "商户id",
  4175. "remark": "",
  4176. "pk": false,
  4177. "notNull": false,
  4178. "autoIncrement": false,
  4179. "defaultValue": ""
  4180. },
  4181. {
  4182. "name": "image",
  4183. "type": "VARCHAR_255",
  4184. "chnname": "推荐图",
  4185. "remark": "",
  4186. "pk": false,
  4187. "notNull": true,
  4188. "autoIncrement": false,
  4189. "defaultValue": ""
  4190. },
  4191. {
  4192. "name": "images",
  4193. "type": "VARCHAR_2000",
  4194. "chnname": "轮播图",
  4195. "remark": "",
  4196. "pk": false,
  4197. "notNull": true,
  4198. "autoIncrement": false,
  4199. "defaultValue": ""
  4200. },
  4201. {
  4202. "name": "title",
  4203. "type": "VARCHAR_255",
  4204. "chnname": "活动标题",
  4205. "remark": "",
  4206. "pk": false,
  4207. "notNull": true,
  4208. "autoIncrement": false,
  4209. "defaultValue": ""
  4210. },
  4211. {
  4212. "name": "attr",
  4213. "type": "VARCHAR_255",
  4214. "chnname": "活动属性",
  4215. "remark": "",
  4216. "pk": false,
  4217. "notNull": false,
  4218. "autoIncrement": false,
  4219. "defaultValue": ""
  4220. },
  4221. {
  4222. "name": "people",
  4223. "type": "INT UNSIGNED_10",
  4224. "chnname": "参团人数",
  4225. "remark": "",
  4226. "pk": false,
  4227. "notNull": true,
  4228. "autoIncrement": false,
  4229. "defaultValue": ""
  4230. },
  4231. {
  4232. "name": "info",
  4233. "type": "VARCHAR_255",
  4234. "chnname": "简介",
  4235. "remark": "",
  4236. "pk": false,
  4237. "notNull": true,
  4238. "autoIncrement": false,
  4239. "defaultValue": ""
  4240. },
  4241. {
  4242. "name": "price",
  4243. "type": "DECIMAL UNSIGNED_10_2",
  4244. "chnname": "价格",
  4245. "remark": "",
  4246. "pk": false,
  4247. "notNull": true,
  4248. "autoIncrement": false,
  4249. "defaultValue": ""
  4250. },
  4251. {
  4252. "name": "product_price",
  4253. "type": "DECIMAL_10_2",
  4254. "chnname": "商品原价",
  4255. "remark": "",
  4256. "pk": false,
  4257. "notNull": false,
  4258. "autoIncrement": false,
  4259. "defaultValue": ""
  4260. },
  4261. {
  4262. "name": "sort",
  4263. "type": "INT UNSIGNED_10",
  4264. "chnname": "排序",
  4265. "remark": "",
  4266. "pk": false,
  4267. "notNull": true,
  4268. "autoIncrement": false,
  4269. "defaultValue": ""
  4270. },
  4271. {
  4272. "name": "sales",
  4273. "type": "INT UNSIGNED_10",
  4274. "chnname": "销量",
  4275. "remark": "",
  4276. "pk": false,
  4277. "notNull": true,
  4278. "autoIncrement": false,
  4279. "defaultValue": ""
  4280. },
  4281. {
  4282. "name": "stock",
  4283. "type": "INT UNSIGNED_10",
  4284. "chnname": "库存",
  4285. "remark": "",
  4286. "pk": false,
  4287. "notNull": true,
  4288. "autoIncrement": false,
  4289. "defaultValue": ""
  4290. },
  4291. {
  4292. "name": "create_time",
  4293. "type": "DATETIME",
  4294. "chnname": "添加时间",
  4295. "remark": "",
  4296. "pk": false,
  4297. "notNull": true,
  4298. "autoIncrement": false,
  4299. "defaultValue": ""
  4300. },
  4301. {
  4302. "name": "update_time",
  4303. "type": "DATETIME",
  4304. "chnname": "",
  4305. "remark": "",
  4306. "pk": false,
  4307. "notNull": false,
  4308. "autoIncrement": false,
  4309. "defaultValue": ""
  4310. },
  4311. {
  4312. "name": "is_host",
  4313. "type": "TINYINT UNSIGNED_1",
  4314. "chnname": "推荐",
  4315. "remark": "",
  4316. "pk": false,
  4317. "notNull": true,
  4318. "autoIncrement": false,
  4319. "defaultValue": ""
  4320. },
  4321. {
  4322. "name": "is_show",
  4323. "type": "TINYINT UNSIGNED_1",
  4324. "chnname": "产品状态",
  4325. "remark": "",
  4326. "pk": false,
  4327. "notNull": true,
  4328. "autoIncrement": false,
  4329. "defaultValue": ""
  4330. },
  4331. {
  4332. "name": "is_del",
  4333. "type": "TINYINT UNSIGNED_1",
  4334. "chnname": "",
  4335. "remark": "",
  4336. "pk": false,
  4337. "notNull": true,
  4338. "autoIncrement": false,
  4339. "defaultValue": ""
  4340. },
  4341. {
  4342. "name": "combination",
  4343. "type": "TINYINT UNSIGNED_1",
  4344. "chnname": "",
  4345. "remark": "",
  4346. "pk": false,
  4347. "notNull": true,
  4348. "autoIncrement": false,
  4349. "defaultValue": ""
  4350. },
  4351. {
  4352. "name": "mer_use",
  4353. "type": "TINYINT UNSIGNED_1",
  4354. "chnname": "商户是否可用1可用0不可用",
  4355. "remark": "",
  4356. "pk": false,
  4357. "notNull": false,
  4358. "autoIncrement": false,
  4359. "defaultValue": ""
  4360. },
  4361. {
  4362. "name": "is_postage",
  4363. "type": "TINYINT UNSIGNED_1",
  4364. "chnname": "是否包邮1是0否",
  4365. "remark": "",
  4366. "pk": false,
  4367. "notNull": true,
  4368. "autoIncrement": false,
  4369. "defaultValue": ""
  4370. },
  4371. {
  4372. "name": "postage",
  4373. "type": "DECIMAL UNSIGNED_10_2",
  4374. "chnname": "邮费",
  4375. "remark": "",
  4376. "pk": false,
  4377. "notNull": true,
  4378. "autoIncrement": false,
  4379. "defaultValue": ""
  4380. },
  4381. {
  4382. "name": "description",
  4383. "type": "TEXT",
  4384. "chnname": "拼团内容",
  4385. "remark": "",
  4386. "pk": false,
  4387. "notNull": true,
  4388. "autoIncrement": false,
  4389. "defaultValue": ""
  4390. },
  4391. {
  4392. "name": "start_time",
  4393. "type": "DATETIME",
  4394. "chnname": "拼团开始时间",
  4395. "remark": "",
  4396. "pk": false,
  4397. "notNull": true,
  4398. "autoIncrement": false,
  4399. "defaultValue": ""
  4400. },
  4401. {
  4402. "name": "stop_time",
  4403. "type": "DATETIME",
  4404. "chnname": "拼团结束时间",
  4405. "remark": "",
  4406. "pk": false,
  4407. "notNull": true,
  4408. "autoIncrement": false,
  4409. "defaultValue": ""
  4410. },
  4411. {
  4412. "name": "effective_time",
  4413. "type": "INT_10",
  4414. "chnname": "拼团订单有效时间",
  4415. "remark": "",
  4416. "pk": false,
  4417. "notNull": true,
  4418. "autoIncrement": false,
  4419. "defaultValue": ""
  4420. },
  4421. {
  4422. "name": "cost",
  4423. "type": "INT UNSIGNED_10",
  4424. "chnname": "拼团产品成本",
  4425. "remark": "",
  4426. "pk": false,
  4427. "notNull": true,
  4428. "autoIncrement": false,
  4429. "defaultValue": ""
  4430. },
  4431. {
  4432. "name": "browse",
  4433. "type": "INT_10",
  4434. "chnname": "浏览量",
  4435. "remark": "",
  4436. "pk": false,
  4437. "notNull": false,
  4438. "autoIncrement": false,
  4439. "defaultValue": ""
  4440. },
  4441. {
  4442. "name": "unit_name",
  4443. "type": "VARCHAR_32",
  4444. "chnname": "单位名",
  4445. "remark": "",
  4446. "pk": false,
  4447. "notNull": true,
  4448. "autoIncrement": false,
  4449. "defaultValue": ""
  4450. }
  4451. ]
  4452. },
  4453. {
  4454. "title": "yx_store_bargain_user_help",
  4455. "chnname": "砍价用户帮助表",
  4456. "fields": [
  4457. {
  4458. "name": "id",
  4459. "type": "BIGINT UNSIGNED_20",
  4460. "chnname": "砍价用户帮助表ID",
  4461. "remark": "",
  4462. "pk": true,
  4463. "notNull": true,
  4464. "autoIncrement": true,
  4465. "defaultValue": ""
  4466. },
  4467. {
  4468. "name": "uid",
  4469. "type": "BIGINT UNSIGNED_20",
  4470. "chnname": "帮助的用户id",
  4471. "remark": "",
  4472. "pk": false,
  4473. "notNull": false,
  4474. "autoIncrement": false,
  4475. "defaultValue": ""
  4476. },
  4477. {
  4478. "name": "bargain_id",
  4479. "type": "BIGINT UNSIGNED_20",
  4480. "chnname": "砍价产品ID",
  4481. "remark": "",
  4482. "pk": false,
  4483. "notNull": false,
  4484. "autoIncrement": false,
  4485. "defaultValue": ""
  4486. },
  4487. {
  4488. "name": "bargain_user_id",
  4489. "type": "BIGINT UNSIGNED_20",
  4490. "chnname": "用户参与砍价表id",
  4491. "remark": "",
  4492. "pk": false,
  4493. "notNull": false,
  4494. "autoIncrement": false,
  4495. "defaultValue": ""
  4496. },
  4497. {
  4498. "name": "price",
  4499. "type": "DECIMAL UNSIGNED_8_2",
  4500. "chnname": "帮助砍价多少金额",
  4501. "remark": "",
  4502. "pk": false,
  4503. "notNull": false,
  4504. "autoIncrement": false,
  4505. "defaultValue": ""
  4506. },
  4507. {
  4508. "name": "create_time",
  4509. "type": "DATETIME",
  4510. "chnname": "添加时间",
  4511. "remark": "",
  4512. "pk": false,
  4513. "notNull": false,
  4514. "autoIncrement": false,
  4515. "defaultValue": ""
  4516. },
  4517. {
  4518. "name": "update_time",
  4519. "type": "DATETIME",
  4520. "chnname": "",
  4521. "remark": "",
  4522. "pk": false,
  4523. "notNull": false,
  4524. "autoIncrement": false,
  4525. "defaultValue": ""
  4526. },
  4527. {
  4528. "name": "is_del",
  4529. "type": "BIT_1",
  4530. "chnname": "",
  4531. "remark": "",
  4532. "pk": false,
  4533. "notNull": false,
  4534. "autoIncrement": false,
  4535. "defaultValue": ""
  4536. }
  4537. ]
  4538. },
  4539. {
  4540. "title": "yx_store_bargain_user",
  4541. "chnname": "用户参与砍价表",
  4542. "fields": [
  4543. {
  4544. "name": "id",
  4545. "type": "BIGINT UNSIGNED_20",
  4546. "chnname": "用户参与砍价表ID",
  4547. "remark": "",
  4548. "pk": true,
  4549. "notNull": true,
  4550. "autoIncrement": true,
  4551. "defaultValue": ""
  4552. },
  4553. {
  4554. "name": "uid",
  4555. "type": "BIGINT UNSIGNED_20",
  4556. "chnname": "用户ID",
  4557. "remark": "",
  4558. "pk": false,
  4559. "notNull": false,
  4560. "autoIncrement": false,
  4561. "defaultValue": ""
  4562. },
  4563. {
  4564. "name": "bargain_id",
  4565. "type": "BIGINT UNSIGNED_20",
  4566. "chnname": "砍价产品id",
  4567. "remark": "",
  4568. "pk": false,
  4569. "notNull": false,
  4570. "autoIncrement": false,
  4571. "defaultValue": ""
  4572. },
  4573. {
  4574. "name": "bargain_price_min",
  4575. "type": "DECIMAL UNSIGNED_8_2",
  4576. "chnname": "砍价的最低价",
  4577. "remark": "",
  4578. "pk": false,
  4579. "notNull": false,
  4580. "autoIncrement": false,
  4581. "defaultValue": ""
  4582. },
  4583. {
  4584. "name": "bargain_price",
  4585. "type": "DECIMAL_8_2",
  4586. "chnname": "砍价金额",
  4587. "remark": "",
  4588. "pk": false,
  4589. "notNull": false,
  4590. "autoIncrement": false,
  4591. "defaultValue": ""
  4592. },
  4593. {
  4594. "name": "price",
  4595. "type": "DECIMAL UNSIGNED_8_2",
  4596. "chnname": "砍掉的价格",
  4597. "remark": "",
  4598. "pk": false,
  4599. "notNull": false,
  4600. "autoIncrement": false,
  4601. "defaultValue": ""
  4602. },
  4603. {
  4604. "name": "status",
  4605. "type": "TINYINT UNSIGNED_1",
  4606. "chnname": "状态 1参与中 2 活动结束参与失败 3活动结束参与成功",
  4607. "remark": "",
  4608. "pk": false,
  4609. "notNull": true,
  4610. "autoIncrement": false,
  4611. "defaultValue": ""
  4612. },
  4613. {
  4614. "name": "create_time",
  4615. "type": "DATETIME",
  4616. "chnname": "参与时间",
  4617. "remark": "",
  4618. "pk": false,
  4619. "notNull": false,
  4620. "autoIncrement": false,
  4621. "defaultValue": ""
  4622. },
  4623. {
  4624. "name": "update_time",
  4625. "type": "DATETIME",
  4626. "chnname": "",
  4627. "remark": "",
  4628. "pk": false,
  4629. "notNull": false,
  4630. "autoIncrement": false,
  4631. "defaultValue": ""
  4632. },
  4633. {
  4634. "name": "is_del",
  4635. "type": "BIT_1",
  4636. "chnname": "是否取消",
  4637. "remark": "",
  4638. "pk": false,
  4639. "notNull": true,
  4640. "autoIncrement": false,
  4641. "defaultValue": ""
  4642. }
  4643. ]
  4644. },
  4645. {
  4646. "title": "yx_store_bargain",
  4647. "chnname": "砍价表",
  4648. "fields": [
  4649. {
  4650. "name": "id",
  4651. "type": "BIGINT UNSIGNED_20",
  4652. "chnname": "砍价产品ID",
  4653. "remark": "",
  4654. "pk": true,
  4655. "notNull": true,
  4656. "autoIncrement": true,
  4657. "defaultValue": ""
  4658. },
  4659. {
  4660. "name": "product_id",
  4661. "type": "BIGINT UNSIGNED_20",
  4662. "chnname": "关联产品ID",
  4663. "remark": "",
  4664. "pk": false,
  4665. "notNull": true,
  4666. "autoIncrement": false,
  4667. "defaultValue": ""
  4668. },
  4669. {
  4670. "name": "title",
  4671. "type": "VARCHAR_255",
  4672. "chnname": "砍价活动名称",
  4673. "remark": "",
  4674. "pk": false,
  4675. "notNull": true,
  4676. "autoIncrement": false,
  4677. "defaultValue": ""
  4678. },
  4679. {
  4680. "name": "image",
  4681. "type": "VARCHAR_150",
  4682. "chnname": "砍价活动图片",
  4683. "remark": "",
  4684. "pk": false,
  4685. "notNull": true,
  4686. "autoIncrement": false,
  4687. "defaultValue": ""
  4688. },
  4689. {
  4690. "name": "unit_name",
  4691. "type": "VARCHAR_16",
  4692. "chnname": "单位名称",
  4693. "remark": "",
  4694. "pk": false,
  4695. "notNull": false,
  4696. "autoIncrement": false,
  4697. "defaultValue": ""
  4698. },
  4699. {
  4700. "name": "stock",
  4701. "type": "INT UNSIGNED_10",
  4702. "chnname": "库存",
  4703. "remark": "",
  4704. "pk": false,
  4705. "notNull": false,
  4706. "autoIncrement": false,
  4707. "defaultValue": ""
  4708. },
  4709. {
  4710. "name": "sales",
  4711. "type": "INT UNSIGNED_10",
  4712. "chnname": "销量",
  4713. "remark": "",
  4714. "pk": false,
  4715. "notNull": false,
  4716. "autoIncrement": false,
  4717. "defaultValue": ""
  4718. },
  4719. {
  4720. "name": "images",
  4721. "type": "VARCHAR_2000",
  4722. "chnname": "砍价产品轮播图",
  4723. "remark": "",
  4724. "pk": false,
  4725. "notNull": true,
  4726. "autoIncrement": false,
  4727. "defaultValue": ""
  4728. },
  4729. {
  4730. "name": "start_time",
  4731. "type": "DATETIME",
  4732. "chnname": "砍价开启时间",
  4733. "remark": "",
  4734. "pk": false,
  4735. "notNull": true,
  4736. "autoIncrement": false,
  4737. "defaultValue": ""
  4738. },
  4739. {
  4740. "name": "stop_time",
  4741. "type": "DATETIME",
  4742. "chnname": "砍价结束时间",
  4743. "remark": "",
  4744. "pk": false,
  4745. "notNull": true,
  4746. "autoIncrement": false,
  4747. "defaultValue": ""
  4748. },
  4749. {
  4750. "name": "store_name",
  4751. "type": "VARCHAR_255",
  4752. "chnname": "砍价产品名称",
  4753. "remark": "",
  4754. "pk": false,
  4755. "notNull": false,
  4756. "autoIncrement": false,
  4757. "defaultValue": ""
  4758. },
  4759. {
  4760. "name": "price",
  4761. "type": "DECIMAL UNSIGNED_8_2",
  4762. "chnname": "砍价金额",
  4763. "remark": "",
  4764. "pk": false,
  4765. "notNull": false,
  4766. "autoIncrement": false,
  4767. "defaultValue": ""
  4768. },
  4769. {
  4770. "name": "min_price",
  4771. "type": "DECIMAL UNSIGNED_8_2",
  4772. "chnname": "砍价商品最低价",
  4773. "remark": "",
  4774. "pk": false,
  4775. "notNull": false,
  4776. "autoIncrement": false,
  4777. "defaultValue": ""
  4778. },
  4779. {
  4780. "name": "num",
  4781. "type": "INT UNSIGNED_10",
  4782. "chnname": "每次购买的砍价产品数量",
  4783. "remark": "",
  4784. "pk": false,
  4785. "notNull": false,
  4786. "autoIncrement": false,
  4787. "defaultValue": ""
  4788. },
  4789. {
  4790. "name": "bargain_max_price",
  4791. "type": "DECIMAL UNSIGNED_8_2",
  4792. "chnname": "用户每次砍价的最大金额",
  4793. "remark": "",
  4794. "pk": false,
  4795. "notNull": false,
  4796. "autoIncrement": false,
  4797. "defaultValue": ""
  4798. },
  4799. {
  4800. "name": "bargain_min_price",
  4801. "type": "DECIMAL UNSIGNED_8_2",
  4802. "chnname": "用户每次砍价的最小金额",
  4803. "remark": "",
  4804. "pk": false,
  4805. "notNull": false,
  4806. "autoIncrement": false,
  4807. "defaultValue": ""
  4808. },
  4809. {
  4810. "name": "bargain_num",
  4811. "type": "INT UNSIGNED_10",
  4812. "chnname": "用户每次砍价的次数",
  4813. "remark": "",
  4814. "pk": false,
  4815. "notNull": true,
  4816. "autoIncrement": false,
  4817. "defaultValue": ""
  4818. },
  4819. {
  4820. "name": "status",
  4821. "type": "TINYINT UNSIGNED_1",
  4822. "chnname": "砍价状态 0(到砍价时间不自动开启) 1(到砍价时间自动开启时间)",
  4823. "remark": "",
  4824. "pk": false,
  4825. "notNull": true,
  4826. "autoIncrement": false,
  4827. "defaultValue": ""
  4828. },
  4829. {
  4830. "name": "description",
  4831. "type": "TEXT",
  4832. "chnname": "砍价详情",
  4833. "remark": "",
  4834. "pk": false,
  4835. "notNull": false,
  4836. "autoIncrement": false,
  4837. "defaultValue": ""
  4838. },
  4839. {
  4840. "name": "give_integral",
  4841. "type": "DECIMAL UNSIGNED_10_2",
  4842. "chnname": "反多少积分",
  4843. "remark": "",
  4844. "pk": false,
  4845. "notNull": true,
  4846. "autoIncrement": false,
  4847. "defaultValue": ""
  4848. },
  4849. {
  4850. "name": "info",
  4851. "type": "VARCHAR_255",
  4852. "chnname": "砍价活动简介",
  4853. "remark": "",
  4854. "pk": false,
  4855. "notNull": false,
  4856. "autoIncrement": false,
  4857. "defaultValue": ""
  4858. },
  4859. {
  4860. "name": "cost",
  4861. "type": "DECIMAL UNSIGNED_8_2",
  4862. "chnname": "成本价",
  4863. "remark": "",
  4864. "pk": false,
  4865. "notNull": false,
  4866. "autoIncrement": false,
  4867. "defaultValue": ""
  4868. },
  4869. {
  4870. "name": "sort",
  4871. "type": "INT UNSIGNED_10",
  4872. "chnname": "排序",
  4873. "remark": "",
  4874. "pk": false,
  4875. "notNull": true,
  4876. "autoIncrement": false,
  4877. "defaultValue": ""
  4878. },
  4879. {
  4880. "name": "is_hot",
  4881. "type": "TINYINT UNSIGNED_1",
  4882. "chnname": "是否推荐0不推荐1推荐",
  4883. "remark": "",
  4884. "pk": false,
  4885. "notNull": true,
  4886. "autoIncrement": false,
  4887. "defaultValue": ""
  4888. },
  4889. {
  4890. "name": "is_del",
  4891. "type": "TINYINT UNSIGNED_1",
  4892. "chnname": "是否删除 0未删除 1删除",
  4893. "remark": "",
  4894. "pk": false,
  4895. "notNull": true,
  4896. "autoIncrement": false,
  4897. "defaultValue": ""
  4898. },
  4899. {
  4900. "name": "create_time",
  4901. "type": "DATETIME",
  4902. "chnname": "添加时间",
  4903. "remark": "",
  4904. "pk": false,
  4905. "notNull": false,
  4906. "autoIncrement": false,
  4907. "defaultValue": ""
  4908. },
  4909. {
  4910. "name": "update_time",
  4911. "type": "DATETIME",
  4912. "chnname": "",
  4913. "remark": "",
  4914. "pk": false,
  4915. "notNull": false,
  4916. "autoIncrement": false,
  4917. "defaultValue": ""
  4918. },
  4919. {
  4920. "name": "is_postage",
  4921. "type": "TINYINT UNSIGNED_1",
  4922. "chnname": "是否包邮 0不包邮 1包邮",
  4923. "remark": "",
  4924. "pk": false,
  4925. "notNull": true,
  4926. "autoIncrement": false,
  4927. "defaultValue": ""
  4928. },
  4929. {
  4930. "name": "postage",
  4931. "type": "DECIMAL UNSIGNED_10_2",
  4932. "chnname": "邮费",
  4933. "remark": "",
  4934. "pk": false,
  4935. "notNull": false,
  4936. "autoIncrement": false,
  4937. "defaultValue": ""
  4938. },
  4939. {
  4940. "name": "rule",
  4941. "type": "TEXT",
  4942. "chnname": "砍价规则",
  4943. "remark": "",
  4944. "pk": false,
  4945. "notNull": false,
  4946. "autoIncrement": false,
  4947. "defaultValue": ""
  4948. },
  4949. {
  4950. "name": "look",
  4951. "type": "INT UNSIGNED_10",
  4952. "chnname": "砍价产品浏览量",
  4953. "remark": "",
  4954. "pk": false,
  4955. "notNull": false,
  4956. "autoIncrement": false,
  4957. "defaultValue": ""
  4958. },
  4959. {
  4960. "name": "share",
  4961. "type": "INT UNSIGNED_10",
  4962. "chnname": "砍价产品分享量",
  4963. "remark": "",
  4964. "pk": false,
  4965. "notNull": false,
  4966. "autoIncrement": false,
  4967. "defaultValue": ""
  4968. }
  4969. ]
  4970. },
  4971. {
  4972. "title": "yx_store_visit",
  4973. "chnname": "产品浏览分析表",
  4974. "fields": [
  4975. {
  4976. "name": "id",
  4977. "type": "INT_10",
  4978. "chnname": "",
  4979. "remark": "",
  4980. "pk": true,
  4981. "notNull": true,
  4982. "autoIncrement": true,
  4983. "defaultValue": ""
  4984. },
  4985. {
  4986. "name": "product_id",
  4987. "type": "INT_10",
  4988. "chnname": "产品ID",
  4989. "remark": "",
  4990. "pk": false,
  4991. "notNull": false,
  4992. "autoIncrement": false,
  4993. "defaultValue": ""
  4994. },
  4995. {
  4996. "name": "product_type",
  4997. "type": "VARCHAR_32",
  4998. "chnname": "产品类型",
  4999. "remark": "",
  5000. "pk": false,
  5001. "notNull": false,
  5002. "autoIncrement": false,
  5003. "defaultValue": ""
  5004. },
  5005. {
  5006. "name": "cate_id",
  5007. "type": "INT_10",
  5008. "chnname": "产品分类ID",
  5009. "remark": "",
  5010. "pk": false,
  5011. "notNull": false,
  5012. "autoIncrement": false,
  5013. "defaultValue": ""
  5014. },
  5015. {
  5016. "name": "type",
  5017. "type": "CHAR_50",
  5018. "chnname": "产品类型",
  5019. "remark": "",
  5020. "pk": false,
  5021. "notNull": false,
  5022. "autoIncrement": false,
  5023. "defaultValue": ""
  5024. },
  5025. {
  5026. "name": "uid",
  5027. "type": "INT_10",
  5028. "chnname": "用户ID",
  5029. "remark": "",
  5030. "pk": false,
  5031. "notNull": false,
  5032. "autoIncrement": false,
  5033. "defaultValue": ""
  5034. },
  5035. {
  5036. "name": "count",
  5037. "type": "INT_10",
  5038. "chnname": "访问次数",
  5039. "remark": "",
  5040. "pk": false,
  5041. "notNull": false,
  5042. "autoIncrement": false,
  5043. "defaultValue": ""
  5044. },
  5045. {
  5046. "name": "content",
  5047. "type": "VARCHAR_255",
  5048. "chnname": "备注描述",
  5049. "remark": "",
  5050. "pk": false,
  5051. "notNull": false,
  5052. "autoIncrement": false,
  5053. "defaultValue": ""
  5054. },
  5055. {
  5056. "name": "add_time",
  5057. "type": "INT_10",
  5058. "chnname": "添加时间",
  5059. "remark": "",
  5060. "pk": false,
  5061. "notNull": false,
  5062. "autoIncrement": false,
  5063. "defaultValue": ""
  5064. }
  5065. ]
  5066. }
  5067. ],
  5068. "graphCanvas": {
  5069. "nodes": [
  5070. {
  5071. "shape": "table",
  5072. "title": "yx_store_pink",
  5073. "moduleName": false,
  5074. "x": 310,
  5075. "y": 580,
  5076. "id": "13513a4e"
  5077. },
  5078. {
  5079. "shape": "table",
  5080. "title": "yx_store_coupon",
  5081. "moduleName": false,
  5082. "x": 600,
  5083. "y": 180,
  5084. "id": "2b6bf508"
  5085. },
  5086. {
  5087. "shape": "table",
  5088. "title": "yx_store_coupon_user",
  5089. "moduleName": false,
  5090. "x": 1310,
  5091. "y": 190,
  5092. "id": "aa29268e"
  5093. },
  5094. {
  5095. "shape": "table",
  5096. "title": "yx_store_coupon_issue",
  5097. "moduleName": false,
  5098. "x": 1270,
  5099. "y": 580,
  5100. "id": "74e5a8f0"
  5101. },
  5102. {
  5103. "shape": "table",
  5104. "title": "yx_store_coupon_issue_user",
  5105. "moduleName": false,
  5106. "x": 790,
  5107. "y": 610,
  5108. "id": "dfd12dd0"
  5109. },
  5110. {
  5111. "shape": "table",
  5112. "title": "yx_store_bargain",
  5113. "moduleName": false,
  5114. "x": -160,
  5115. "y": -50,
  5116. "id": "1de36ee3"
  5117. },
  5118. {
  5119. "shape": "table",
  5120. "title": "yx_store_bargain_user",
  5121. "moduleName": false,
  5122. "x": 590,
  5123. "y": -340,
  5124. "id": "14a47167"
  5125. },
  5126. {
  5127. "shape": "table",
  5128. "title": "yx_store_bargain_user_help",
  5129. "moduleName": false,
  5130. "x": 490,
  5131. "y": -100,
  5132. "id": "e979c0f8"
  5133. }
  5134. ],
  5135. "edges": [
  5136. {
  5137. "shape": "erdRelation",
  5138. "relation": "0,n:1",
  5139. "source": "aa29268e",
  5140. "target": "2b6bf508",
  5141. "id": "a8da6c7b",
  5142. "controlPoints": [
  5143. {
  5144. "x": 1041.849609375,
  5145. "y": 91.2897465437788
  5146. },
  5147. {
  5148. "x": 835.138671875,
  5149. "y": 72.12931034482759
  5150. }
  5151. ],
  5152. "sourceAnchor": 2,
  5153. "targetAnchor": 1
  5154. },
  5155. {
  5156. "shape": "erdRelation",
  5157. "relation": "0,n:1",
  5158. "source": "74e5a8f0",
  5159. "target": "2b6bf508",
  5160. "id": "6abf3f7d",
  5161. "controlPoints": [
  5162. {
  5163. "x": 1051.787109375,
  5164. "y": 510.3375331564987
  5165. },
  5166. {
  5167. "x": 835.138671875,
  5168. "y": 72.12931034482759
  5169. }
  5170. ],
  5171. "sourceAnchor": 4,
  5172. "targetAnchor": 1
  5173. },
  5174. {
  5175. "shape": "erdRelation",
  5176. "relation": "0,n:1",
  5177. "source": "dfd12dd0",
  5178. "target": "74e5a8f0",
  5179. "id": "0433262a",
  5180. "controlPoints": [
  5181. {
  5182. "x": 991.1455078125,
  5183. "y": 608.3222222222222
  5184. },
  5185. {
  5186. "x": 1051.787109375,
  5187. "y": 472.12931034482756
  5188. }
  5189. ],
  5190. "sourceAnchor": 5,
  5191. "targetAnchor": 0
  5192. },
  5193. {
  5194. "shape": "erdRelation",
  5195. "relation": "0,n:1",
  5196. "source": "14a47167",
  5197. "target": "1de36ee3",
  5198. "id": "e528de82",
  5199. "controlPoints": [
  5200. {
  5201. "x": 279.8408203125,
  5202. "y": -377.6630434782609
  5203. },
  5204. {
  5205. "x": 182.1513671875,
  5206. "y": -347.9440298507463
  5207. }
  5208. ],
  5209. "sourceAnchor": 4,
  5210. "targetAnchor": 1
  5211. },
  5212. {
  5213. "shape": "erdRelation",
  5214. "relation": "0,n:1",
  5215. "source": "e979c0f8",
  5216. "target": "1de36ee3",
  5217. "id": "b2e7774f",
  5218. "controlPoints": [
  5219. {
  5220. "x": 280.6005859375,
  5221. "y": -120.73355263157895
  5222. },
  5223. {
  5224. "x": 182.1513671875,
  5225. "y": -347.9440298507463
  5226. }
  5227. ],
  5228. "sourceAnchor": 4,
  5229. "targetAnchor": 1
  5230. }
  5231. ]
  5232. },
  5233. "associations": [
  5234. {
  5235. "relation": "0,n:1",
  5236. "from": {
  5237. "entity": "yx_store_coupon_user",
  5238. "field": "cid"
  5239. },
  5240. "to": {
  5241. "entity": "yx_store_coupon",
  5242. "field": "id"
  5243. }
  5244. },
  5245. {
  5246. "relation": "0,n:1",
  5247. "from": {
  5248. "entity": "yx_store_coupon_issue",
  5249. "field": "cid"
  5250. },
  5251. "to": {
  5252. "entity": "yx_store_coupon",
  5253. "field": "id"
  5254. }
  5255. },
  5256. {
  5257. "relation": "0,n:1",
  5258. "from": {
  5259. "entity": "yx_store_coupon_issue_user",
  5260. "field": "issue_coupon_id"
  5261. },
  5262. "to": {
  5263. "entity": "yx_store_coupon_issue",
  5264. "field": "id"
  5265. }
  5266. },
  5267. {
  5268. "relation": "0,n:1",
  5269. "from": {
  5270. "entity": "yx_store_bargain_user",
  5271. "field": "bargain_id"
  5272. },
  5273. "to": {
  5274. "entity": "yx_store_bargain",
  5275. "field": "id"
  5276. }
  5277. },
  5278. {
  5279. "relation": "0,n:1",
  5280. "from": {
  5281. "entity": "yx_store_bargain_user_help",
  5282. "field": "bargain_id"
  5283. },
  5284. "to": {
  5285. "entity": "yx_store_bargain",
  5286. "field": "id"
  5287. }
  5288. }
  5289. ]
  5290. },
  5291. {
  5292. "name": "cart",
  5293. "chnname": "购物车",
  5294. "entities": [
  5295. {
  5296. "title": "yx_store_cart",
  5297. "chnname": "购物车表",
  5298. "fields": [
  5299. {
  5300. "name": "id",
  5301. "type": "BIGINT_19",
  5302. "chnname": "购物车表ID",
  5303. "remark": "",
  5304. "pk": true,
  5305. "notNull": true,
  5306. "autoIncrement": true,
  5307. "defaultValue": ""
  5308. },
  5309. {
  5310. "name": "uid",
  5311. "type": "BIGINT UNSIGNED_20",
  5312. "chnname": "用户ID",
  5313. "remark": "",
  5314. "pk": false,
  5315. "notNull": true,
  5316. "autoIncrement": false,
  5317. "defaultValue": ""
  5318. },
  5319. {
  5320. "name": "type",
  5321. "type": "VARCHAR_32",
  5322. "chnname": "类型",
  5323. "remark": "",
  5324. "pk": false,
  5325. "notNull": true,
  5326. "autoIncrement": false,
  5327. "defaultValue": ""
  5328. },
  5329. {
  5330. "name": "product_id",
  5331. "type": "BIGINT UNSIGNED_20",
  5332. "chnname": "商品ID",
  5333. "remark": "",
  5334. "pk": false,
  5335. "notNull": true,
  5336. "autoIncrement": false,
  5337. "defaultValue": ""
  5338. },
  5339. {
  5340. "name": "product_attr_unique",
  5341. "type": "VARCHAR_50",
  5342. "chnname": "商品属性",
  5343. "remark": "",
  5344. "pk": false,
  5345. "notNull": true,
  5346. "autoIncrement": false,
  5347. "defaultValue": ""
  5348. },
  5349. {
  5350. "name": "cart_num",
  5351. "type": "SMALLINT UNSIGNED_5",
  5352. "chnname": "商品数量",
  5353. "remark": "",
  5354. "pk": false,
  5355. "notNull": true,
  5356. "autoIncrement": false,
  5357. "defaultValue": ""
  5358. },
  5359. {
  5360. "name": "create_time",
  5361. "type": "DATETIME",
  5362. "chnname": "添加时间",
  5363. "remark": "",
  5364. "pk": false,
  5365. "notNull": true,
  5366. "autoIncrement": false,
  5367. "defaultValue": ""
  5368. },
  5369. {
  5370. "name": "update_time",
  5371. "type": "DATETIME",
  5372. "chnname": "",
  5373. "remark": "",
  5374. "pk": false,
  5375. "notNull": false,
  5376. "autoIncrement": false,
  5377. "defaultValue": ""
  5378. },
  5379. {
  5380. "name": "is_pay",
  5381. "type": "BIT_1",
  5382. "chnname": "0 = 未购买 1 = 已购买",
  5383. "remark": "",
  5384. "pk": false,
  5385. "notNull": true,
  5386. "autoIncrement": false,
  5387. "defaultValue": ""
  5388. },
  5389. {
  5390. "name": "is_del",
  5391. "type": "BIT_1",
  5392. "chnname": "是否删除",
  5393. "remark": "",
  5394. "pk": false,
  5395. "notNull": true,
  5396. "autoIncrement": false,
  5397. "defaultValue": ""
  5398. },
  5399. {
  5400. "name": "is_new",
  5401. "type": "BIT_1",
  5402. "chnname": "是否为立即购买",
  5403. "remark": "",
  5404. "pk": false,
  5405. "notNull": true,
  5406. "autoIncrement": false,
  5407. "defaultValue": ""
  5408. },
  5409. {
  5410. "name": "combination_id",
  5411. "type": "INT UNSIGNED_10",
  5412. "chnname": "拼团id",
  5413. "remark": "",
  5414. "pk": false,
  5415. "notNull": false,
  5416. "autoIncrement": false,
  5417. "defaultValue": ""
  5418. },
  5419. {
  5420. "name": "seckill_id",
  5421. "type": "INT UNSIGNED_10",
  5422. "chnname": "秒杀产品ID",
  5423. "remark": "",
  5424. "pk": false,
  5425. "notNull": true,
  5426. "autoIncrement": false,
  5427. "defaultValue": ""
  5428. },
  5429. {
  5430. "name": "bargain_id",
  5431. "type": "INT UNSIGNED_10",
  5432. "chnname": "砍价id",
  5433. "remark": "",
  5434. "pk": false,
  5435. "notNull": true,
  5436. "autoIncrement": false,
  5437. "defaultValue": ""
  5438. }
  5439. ]
  5440. }
  5441. ],
  5442. "graphCanvas": {
  5443. "nodes": [],
  5444. "edges": []
  5445. }
  5446. },
  5447. {
  5448. "name": "category",
  5449. "chnname": "商品分类",
  5450. "entities": [
  5451. {
  5452. "title": "yx_store_category",
  5453. "chnname": "商品分类表",
  5454. "fields": [
  5455. {
  5456. "name": "id",
  5457. "type": "MEDIUMINT_7",
  5458. "chnname": "商品分类表ID",
  5459. "remark": "",
  5460. "pk": true,
  5461. "notNull": true,
  5462. "autoIncrement": true,
  5463. "defaultValue": ""
  5464. },
  5465. {
  5466. "name": "pid",
  5467. "type": "MEDIUMINT_7",
  5468. "chnname": "父id",
  5469. "remark": "",
  5470. "pk": false,
  5471. "notNull": true,
  5472. "autoIncrement": false,
  5473. "defaultValue": ""
  5474. },
  5475. {
  5476. "name": "cate_name",
  5477. "type": "VARCHAR_100",
  5478. "chnname": "分类名称",
  5479. "remark": "",
  5480. "pk": false,
  5481. "notNull": true,
  5482. "autoIncrement": false,
  5483. "defaultValue": ""
  5484. },
  5485. {
  5486. "name": "sort",
  5487. "type": "MEDIUMINT_7",
  5488. "chnname": "排序",
  5489. "remark": "",
  5490. "pk": false,
  5491. "notNull": false,
  5492. "autoIncrement": false,
  5493. "defaultValue": ""
  5494. },
  5495. {
  5496. "name": "pic",
  5497. "type": "VARCHAR_128",
  5498. "chnname": "图标",
  5499. "remark": "",
  5500. "pk": false,
  5501. "notNull": false,
  5502. "autoIncrement": false,
  5503. "defaultValue": ""
  5504. },
  5505. {
  5506. "name": "is_show",
  5507. "type": "BIT_1",
  5508. "chnname": "是否推荐",
  5509. "remark": "",
  5510. "pk": false,
  5511. "notNull": false,
  5512. "autoIncrement": false,
  5513. "defaultValue": ""
  5514. },
  5515. {
  5516. "name": "create_time",
  5517. "type": "DATETIME",
  5518. "chnname": "添加时间",
  5519. "remark": "",
  5520. "pk": false,
  5521. "notNull": false,
  5522. "autoIncrement": false,
  5523. "defaultValue": ""
  5524. },
  5525. {
  5526. "name": "update_time",
  5527. "type": "DATETIME",
  5528. "chnname": "",
  5529. "remark": "",
  5530. "pk": false,
  5531. "notNull": false,
  5532. "autoIncrement": false,
  5533. "defaultValue": ""
  5534. },
  5535. {
  5536. "name": "is_del",
  5537. "type": "TINYINT UNSIGNED_1",
  5538. "chnname": "删除状态",
  5539. "remark": "",
  5540. "pk": false,
  5541. "notNull": false,
  5542. "autoIncrement": false,
  5543. "defaultValue": ""
  5544. }
  5545. ]
  5546. }
  5547. ],
  5548. "graphCanvas": {
  5549. "nodes": [],
  5550. "edges": []
  5551. }
  5552. },
  5553. {
  5554. "name": "order",
  5555. "chnname": "订单",
  5556. "entities": [
  5557. {
  5558. "title": "yx_store_order",
  5559. "chnname": "订单表",
  5560. "fields": [
  5561. {
  5562. "name": "id",
  5563. "type": "BIGINT UNSIGNED_20",
  5564. "chnname": "订单ID",
  5565. "remark": "",
  5566. "pk": true,
  5567. "notNull": true,
  5568. "autoIncrement": true,
  5569. "defaultValue": ""
  5570. },
  5571. {
  5572. "name": "order_id",
  5573. "type": "VARCHAR_32",
  5574. "chnname": "订单号",
  5575. "remark": "",
  5576. "pk": false,
  5577. "notNull": true,
  5578. "autoIncrement": false,
  5579. "defaultValue": ""
  5580. },
  5581. {
  5582. "name": "extend_order_id",
  5583. "type": "VARCHAR_32",
  5584. "chnname": "额外订单号",
  5585. "remark": "",
  5586. "pk": false,
  5587. "notNull": false,
  5588. "autoIncrement": false,
  5589. "defaultValue": ""
  5590. },
  5591. {
  5592. "name": "uid",
  5593. "type": "BIGINT UNSIGNED_20",
  5594. "chnname": "用户id",
  5595. "remark": "",
  5596. "pk": false,
  5597. "notNull": true,
  5598. "autoIncrement": false,
  5599. "defaultValue": ""
  5600. },
  5601. {
  5602. "name": "real_name",
  5603. "type": "VARCHAR_32",
  5604. "chnname": "用户姓名",
  5605. "remark": "",
  5606. "pk": false,
  5607. "notNull": true,
  5608. "autoIncrement": false,
  5609. "defaultValue": ""
  5610. },
  5611. {
  5612. "name": "user_phone",
  5613. "type": "VARCHAR_18",
  5614. "chnname": "用户电话",
  5615. "remark": "",
  5616. "pk": false,
  5617. "notNull": true,
  5618. "autoIncrement": false,
  5619. "defaultValue": ""
  5620. },
  5621. {
  5622. "name": "user_address",
  5623. "type": "VARCHAR_100",
  5624. "chnname": "详细地址",
  5625. "remark": "",
  5626. "pk": false,
  5627. "notNull": true,
  5628. "autoIncrement": false,
  5629. "defaultValue": ""
  5630. },
  5631. {
  5632. "name": "cart_id",
  5633. "type": "VARCHAR_256",
  5634. "chnname": "购物车id",
  5635. "remark": "",
  5636. "pk": false,
  5637. "notNull": true,
  5638. "autoIncrement": false,
  5639. "defaultValue": ""
  5640. },
  5641. {
  5642. "name": "freight_price",
  5643. "type": "DECIMAL_8_2",
  5644. "chnname": "运费金额",
  5645. "remark": "",
  5646. "pk": false,
  5647. "notNull": true,
  5648. "autoIncrement": false,
  5649. "defaultValue": ""
  5650. },
  5651. {
  5652. "name": "total_num",
  5653. "type": "INT UNSIGNED_10",
  5654. "chnname": "订单商品总数",
  5655. "remark": "",
  5656. "pk": false,
  5657. "notNull": true,
  5658. "autoIncrement": false,
  5659. "defaultValue": ""
  5660. },
  5661. {
  5662. "name": "total_price",
  5663. "type": "DECIMAL UNSIGNED_8_2",
  5664. "chnname": "订单总价",
  5665. "remark": "",
  5666. "pk": false,
  5667. "notNull": true,
  5668. "autoIncrement": false,
  5669. "defaultValue": ""
  5670. },
  5671. {
  5672. "name": "total_postage",
  5673. "type": "DECIMAL UNSIGNED_8_2",
  5674. "chnname": "邮费",
  5675. "remark": "",
  5676. "pk": false,
  5677. "notNull": true,
  5678. "autoIncrement": false,
  5679. "defaultValue": ""
  5680. },
  5681. {
  5682. "name": "pay_price",
  5683. "type": "DECIMAL UNSIGNED_8_2",
  5684. "chnname": "实际支付金额",
  5685. "remark": "",
  5686. "pk": false,
  5687. "notNull": true,
  5688. "autoIncrement": false,
  5689. "defaultValue": ""
  5690. },
  5691. {
  5692. "name": "pay_postage",
  5693. "type": "DECIMAL UNSIGNED_8_2",
  5694. "chnname": "支付邮费",
  5695. "remark": "",
  5696. "pk": false,
  5697. "notNull": true,
  5698. "autoIncrement": false,
  5699. "defaultValue": ""
  5700. },
  5701. {
  5702. "name": "deduction_price",
  5703. "type": "DECIMAL UNSIGNED_8_2",
  5704. "chnname": "抵扣金额",
  5705. "remark": "",
  5706. "pk": false,
  5707. "notNull": true,
  5708. "autoIncrement": false,
  5709. "defaultValue": ""
  5710. },
  5711. {
  5712. "name": "coupon_id",
  5713. "type": "INT UNSIGNED_10",
  5714. "chnname": "优惠券id",
  5715. "remark": "",
  5716. "pk": false,
  5717. "notNull": true,
  5718. "autoIncrement": false,
  5719. "defaultValue": ""
  5720. },
  5721. {
  5722. "name": "coupon_price",
  5723. "type": "DECIMAL UNSIGNED_8_2",
  5724. "chnname": "优惠券金额",
  5725. "remark": "",
  5726. "pk": false,
  5727. "notNull": true,
  5728. "autoIncrement": false,
  5729. "defaultValue": ""
  5730. },
  5731. {
  5732. "name": "paid",
  5733. "type": "TINYINT UNSIGNED_1",
  5734. "chnname": "支付状态",
  5735. "remark": "",
  5736. "pk": false,
  5737. "notNull": true,
  5738. "autoIncrement": false,
  5739. "defaultValue": ""
  5740. },
  5741. {
  5742. "name": "pay_time",
  5743. "type": "DATETIME",
  5744. "chnname": "支付时间",
  5745. "remark": "",
  5746. "pk": false,
  5747. "notNull": false,
  5748. "autoIncrement": false,
  5749. "defaultValue": ""
  5750. },
  5751. {
  5752. "name": "pay_type",
  5753. "type": "VARCHAR_32",
  5754. "chnname": "支付方式",
  5755. "remark": "",
  5756. "pk": false,
  5757. "notNull": true,
  5758. "autoIncrement": false,
  5759. "defaultValue": ""
  5760. },
  5761. {
  5762. "name": "create_time",
  5763. "type": "DATETIME",
  5764. "chnname": "创建时间",
  5765. "remark": "",
  5766. "pk": false,
  5767. "notNull": true,
  5768. "autoIncrement": false,
  5769. "defaultValue": ""
  5770. },
  5771. {
  5772. "name": "update_time",
  5773. "type": "DATETIME",
  5774. "chnname": "",
  5775. "remark": "",
  5776. "pk": false,
  5777. "notNull": false,
  5778. "autoIncrement": false,
  5779. "defaultValue": ""
  5780. },
  5781. {
  5782. "name": "status",
  5783. "type": "BIT_1",
  5784. "chnname": "订单状态(-1 : 申请退款 -2 : 退货成功 0:待发货;1:待收货;2:已收货;3:已完成;-1:已退款)",
  5785. "remark": "",
  5786. "pk": false,
  5787. "notNull": true,
  5788. "autoIncrement": false,
  5789. "defaultValue": ""
  5790. },
  5791. {
  5792. "name": "refund_status",
  5793. "type": "TINYINT UNSIGNED_1",
  5794. "chnname": "0 未退款 1 申请中 2 已退款",
  5795. "remark": "",
  5796. "pk": false,
  5797. "notNull": true,
  5798. "autoIncrement": false,
  5799. "defaultValue": ""
  5800. },
  5801. {
  5802. "name": "refund_reason_wap_img",
  5803. "type": "VARCHAR_255",
  5804. "chnname": "退款图片",
  5805. "remark": "",
  5806. "pk": false,
  5807. "notNull": false,
  5808. "autoIncrement": false,
  5809. "defaultValue": ""
  5810. },
  5811. {
  5812. "name": "refund_reason_wap_explain",
  5813. "type": "VARCHAR_255",
  5814. "chnname": "退款用户说明",
  5815. "remark": "",
  5816. "pk": false,
  5817. "notNull": false,
  5818. "autoIncrement": false,
  5819. "defaultValue": ""
  5820. },
  5821. {
  5822. "name": "refund_reason_time",
  5823. "type": "DATETIME",
  5824. "chnname": "退款时间",
  5825. "remark": "",
  5826. "pk": false,
  5827. "notNull": false,
  5828. "autoIncrement": false,
  5829. "defaultValue": ""
  5830. },
  5831. {
  5832. "name": "refund_reason_wap",
  5833. "type": "VARCHAR_255",
  5834. "chnname": "前台退款原因",
  5835. "remark": "",
  5836. "pk": false,
  5837. "notNull": false,
  5838. "autoIncrement": false,
  5839. "defaultValue": ""
  5840. },
  5841. {
  5842. "name": "refund_reason",
  5843. "type": "VARCHAR_255",
  5844. "chnname": "不退款的理由",
  5845. "remark": "",
  5846. "pk": false,
  5847. "notNull": false,
  5848. "autoIncrement": false,
  5849. "defaultValue": ""
  5850. },
  5851. {
  5852. "name": "refund_price",
  5853. "type": "DECIMAL UNSIGNED_8_2",
  5854. "chnname": "退款金额",
  5855. "remark": "",
  5856. "pk": false,
  5857. "notNull": true,
  5858. "autoIncrement": false,
  5859. "defaultValue": ""
  5860. },
  5861. {
  5862. "name": "delivery_sn",
  5863. "type": "VARCHAR_100",
  5864. "chnname": "快递公司编号",
  5865. "remark": "",
  5866. "pk": false,
  5867. "notNull": false,
  5868. "autoIncrement": false,
  5869. "defaultValue": ""
  5870. },
  5871. {
  5872. "name": "delivery_name",
  5873. "type": "VARCHAR_64",
  5874. "chnname": "快递名称/送货人姓名",
  5875. "remark": "",
  5876. "pk": false,
  5877. "notNull": false,
  5878. "autoIncrement": false,
  5879. "defaultValue": ""
  5880. },
  5881. {
  5882. "name": "delivery_type",
  5883. "type": "VARCHAR_32",
  5884. "chnname": "发货类型",
  5885. "remark": "",
  5886. "pk": false,
  5887. "notNull": false,
  5888. "autoIncrement": false,
  5889. "defaultValue": ""
  5890. },
  5891. {
  5892. "name": "delivery_id",
  5893. "type": "VARCHAR_64",
  5894. "chnname": "快递单号/手机号",
  5895. "remark": "",
  5896. "pk": false,
  5897. "notNull": false,
  5898. "autoIncrement": false,
  5899. "defaultValue": ""
  5900. },
  5901. {
  5902. "name": "gain_integral",
  5903. "type": "DECIMAL UNSIGNED_8_2",
  5904. "chnname": "消费赚取积分",
  5905. "remark": "",
  5906. "pk": false,
  5907. "notNull": true,
  5908. "autoIncrement": false,
  5909. "defaultValue": ""
  5910. },
  5911. {
  5912. "name": "use_integral",
  5913. "type": "DECIMAL UNSIGNED_8_2",
  5914. "chnname": "使用积分",
  5915. "remark": "",
  5916. "pk": false,
  5917. "notNull": true,
  5918. "autoIncrement": false,
  5919. "defaultValue": ""
  5920. },
  5921. {
  5922. "name": "back_integral",
  5923. "type": "DECIMAL UNSIGNED_8_2",
  5924. "chnname": "给用户退了多少积分",
  5925. "remark": "",
  5926. "pk": false,
  5927. "notNull": false,
  5928. "autoIncrement": false,
  5929. "defaultValue": ""
  5930. },
  5931. {
  5932. "name": "mark",
  5933. "type": "VARCHAR_512",
  5934. "chnname": "备注",
  5935. "remark": "",
  5936. "pk": false,
  5937. "notNull": true,
  5938. "autoIncrement": false,
  5939. "defaultValue": ""
  5940. },
  5941. {
  5942. "name": "is_del",
  5943. "type": "TINYINT UNSIGNED_1",
  5944. "chnname": "是否删除",
  5945. "remark": "",
  5946. "pk": false,
  5947. "notNull": true,
  5948. "autoIncrement": false,
  5949. "defaultValue": ""
  5950. },
  5951. {
  5952. "name": "unique",
  5953. "type": "CHAR_32",
  5954. "chnname": "唯一id(md5加密)类似id",
  5955. "remark": "",
  5956. "pk": false,
  5957. "notNull": true,
  5958. "autoIncrement": false,
  5959. "defaultValue": ""
  5960. },
  5961. {
  5962. "name": "remark",
  5963. "type": "VARCHAR_512",
  5964. "chnname": "管理员备注",
  5965. "remark": "",
  5966. "pk": false,
  5967. "notNull": false,
  5968. "autoIncrement": false,
  5969. "defaultValue": ""
  5970. },
  5971. {
  5972. "name": "mer_id",
  5973. "type": "INT UNSIGNED_10",
  5974. "chnname": "商户ID",
  5975. "remark": "",
  5976. "pk": false,
  5977. "notNull": true,
  5978. "autoIncrement": false,
  5979. "defaultValue": ""
  5980. },
  5981. {
  5982. "name": "is_mer_check",
  5983. "type": "TINYINT UNSIGNED_3",
  5984. "chnname": "",
  5985. "remark": "",
  5986. "pk": false,
  5987. "notNull": true,
  5988. "autoIncrement": false,
  5989. "defaultValue": ""
  5990. },
  5991. {
  5992. "name": "combination_id",
  5993. "type": "BIGINT UNSIGNED_20",
  5994. "chnname": "拼团产品id0一般产品",
  5995. "remark": "",
  5996. "pk": false,
  5997. "notNull": false,
  5998. "autoIncrement": false,
  5999. "defaultValue": ""
  6000. },
  6001. {
  6002. "name": "pink_id",
  6003. "type": "BIGINT UNSIGNED_20",
  6004. "chnname": "拼团id 0没有拼团",
  6005. "remark": "",
  6006. "pk": false,
  6007. "notNull": true,
  6008. "autoIncrement": false,
  6009. "defaultValue": ""
  6010. },
  6011. {
  6012. "name": "cost",
  6013. "type": "DECIMAL UNSIGNED_8_2",
  6014. "chnname": "成本价",
  6015. "remark": "",
  6016. "pk": false,
  6017. "notNull": true,
  6018. "autoIncrement": false,
  6019. "defaultValue": ""
  6020. },
  6021. {
  6022. "name": "seckill_id",
  6023. "type": "BIGINT UNSIGNED_20",
  6024. "chnname": "秒杀产品ID",
  6025. "remark": "",
  6026. "pk": false,
  6027. "notNull": true,
  6028. "autoIncrement": false,
  6029. "defaultValue": ""
  6030. },
  6031. {
  6032. "name": "bargain_id",
  6033. "type": "INT UNSIGNED_10",
  6034. "chnname": "砍价id",
  6035. "remark": "",
  6036. "pk": false,
  6037. "notNull": false,
  6038. "autoIncrement": false,
  6039. "defaultValue": ""
  6040. },
  6041. {
  6042. "name": "verify_code",
  6043. "type": "VARCHAR_50",
  6044. "chnname": "核销码",
  6045. "remark": "",
  6046. "pk": false,
  6047. "notNull": true,
  6048. "autoIncrement": false,
  6049. "defaultValue": ""
  6050. },
  6051. {
  6052. "name": "store_id",
  6053. "type": "INT_10",
  6054. "chnname": "门店id",
  6055. "remark": "",
  6056. "pk": false,
  6057. "notNull": true,
  6058. "autoIncrement": false,
  6059. "defaultValue": ""
  6060. },
  6061. {
  6062. "name": "shipping_type",
  6063. "type": "BIT_1",
  6064. "chnname": "配送方式 1=快递 ,2=门店自提",
  6065. "remark": "",
  6066. "pk": false,
  6067. "notNull": true,
  6068. "autoIncrement": false,
  6069. "defaultValue": ""
  6070. },
  6071. {
  6072. "name": "is_channel",
  6073. "type": "TINYINT UNSIGNED_1",
  6074. "chnname": "支付渠道(0微信公众号1微信小程序)",
  6075. "remark": "",
  6076. "pk": false,
  6077. "notNull": false,
  6078. "autoIncrement": false,
  6079. "defaultValue": ""
  6080. },
  6081. {
  6082. "name": "is_remind",
  6083. "type": "TINYINT UNSIGNED_1",
  6084. "chnname": "",
  6085. "remark": "",
  6086. "pk": false,
  6087. "notNull": false,
  6088. "autoIncrement": false,
  6089. "defaultValue": ""
  6090. },
  6091. {
  6092. "name": "is_system_del",
  6093. "type": "BIT_1",
  6094. "chnname": "",
  6095. "remark": "",
  6096. "pk": false,
  6097. "notNull": false,
  6098. "autoIncrement": false,
  6099. "defaultValue": ""
  6100. }
  6101. ]
  6102. },
  6103. {
  6104. "title": "yx_store_order_cart_info",
  6105. "chnname": "订单购物详情表",
  6106. "fields": [
  6107. {
  6108. "name": "id",
  6109. "type": "BIGINT UNSIGNED_20",
  6110. "chnname": "",
  6111. "remark": "",
  6112. "pk": true,
  6113. "notNull": true,
  6114. "autoIncrement": true,
  6115. "defaultValue": ""
  6116. },
  6117. {
  6118. "name": "oid",
  6119. "type": "BIGINT UNSIGNED_20",
  6120. "chnname": "订单id",
  6121. "remark": "",
  6122. "pk": false,
  6123. "notNull": true,
  6124. "autoIncrement": false,
  6125. "defaultValue": ""
  6126. },
  6127. {
  6128. "name": "cart_id",
  6129. "type": "BIGINT UNSIGNED_20",
  6130. "chnname": "购物车id",
  6131. "remark": "",
  6132. "pk": false,
  6133. "notNull": true,
  6134. "autoIncrement": false,
  6135. "defaultValue": ""
  6136. },
  6137. {
  6138. "name": "product_id",
  6139. "type": "BIGINT UNSIGNED_20",
  6140. "chnname": "商品ID",
  6141. "remark": "",
  6142. "pk": false,
  6143. "notNull": true,
  6144. "autoIncrement": false,
  6145. "defaultValue": ""
  6146. },
  6147. {
  6148. "name": "cart_info",
  6149. "type": "TEXT",
  6150. "chnname": "购买东西的详细信息",
  6151. "remark": "",
  6152. "pk": false,
  6153. "notNull": true,
  6154. "autoIncrement": false,
  6155. "defaultValue": ""
  6156. },
  6157. {
  6158. "name": "unique",
  6159. "type": "VARCHAR_50",
  6160. "chnname": "唯一id",
  6161. "remark": "",
  6162. "pk": false,
  6163. "notNull": true,
  6164. "autoIncrement": false,
  6165. "defaultValue": ""
  6166. }
  6167. ]
  6168. },
  6169. {
  6170. "title": "yx_store_order_status",
  6171. "chnname": "订单操作记录表",
  6172. "fields": [
  6173. {
  6174. "name": "id",
  6175. "type": "BIGINT UNSIGNED_20",
  6176. "chnname": "",
  6177. "remark": "",
  6178. "pk": true,
  6179. "notNull": true,
  6180. "autoIncrement": true,
  6181. "defaultValue": ""
  6182. },
  6183. {
  6184. "name": "oid",
  6185. "type": "BIGINT UNSIGNED_20",
  6186. "chnname": "订单id",
  6187. "remark": "",
  6188. "pk": false,
  6189. "notNull": true,
  6190. "autoIncrement": false,
  6191. "defaultValue": ""
  6192. },
  6193. {
  6194. "name": "change_type",
  6195. "type": "VARCHAR_32",
  6196. "chnname": "操作类型",
  6197. "remark": "",
  6198. "pk": false,
  6199. "notNull": true,
  6200. "autoIncrement": false,
  6201. "defaultValue": ""
  6202. },
  6203. {
  6204. "name": "change_message",
  6205. "type": "VARCHAR_256",
  6206. "chnname": "操作备注",
  6207. "remark": "",
  6208. "pk": false,
  6209. "notNull": true,
  6210. "autoIncrement": false,
  6211. "defaultValue": ""
  6212. },
  6213. {
  6214. "name": "change_time",
  6215. "type": "DATETIME",
  6216. "chnname": "操作时间",
  6217. "remark": "",
  6218. "pk": false,
  6219. "notNull": true,
  6220. "autoIncrement": false,
  6221. "defaultValue": ""
  6222. }
  6223. ]
  6224. },
  6225. {
  6226. "title": "yx_express",
  6227. "chnname": "快递公司表",
  6228. "fields": [
  6229. {
  6230. "name": "id",
  6231. "type": "MEDIUMINT UNSIGNED_8",
  6232. "chnname": "快递公司id",
  6233. "remark": "",
  6234. "pk": true,
  6235. "notNull": true,
  6236. "autoIncrement": true,
  6237. "defaultValue": ""
  6238. },
  6239. {
  6240. "name": "code",
  6241. "type": "VARCHAR_50",
  6242. "chnname": "快递公司简称",
  6243. "remark": "",
  6244. "pk": false,
  6245. "notNull": true,
  6246. "autoIncrement": false,
  6247. "defaultValue": ""
  6248. },
  6249. {
  6250. "name": "name",
  6251. "type": "VARCHAR_50",
  6252. "chnname": "快递公司全称",
  6253. "remark": "",
  6254. "pk": false,
  6255. "notNull": true,
  6256. "autoIncrement": false,
  6257. "defaultValue": ""
  6258. },
  6259. {
  6260. "name": "sort",
  6261. "type": "INT_10",
  6262. "chnname": "排序",
  6263. "remark": "",
  6264. "pk": false,
  6265. "notNull": true,
  6266. "autoIncrement": false,
  6267. "defaultValue": ""
  6268. },
  6269. {
  6270. "name": "is_show",
  6271. "type": "BIT_1",
  6272. "chnname": "是否显示",
  6273. "remark": "",
  6274. "pk": false,
  6275. "notNull": true,
  6276. "autoIncrement": false,
  6277. "defaultValue": ""
  6278. },
  6279. {
  6280. "name": "create_time",
  6281. "type": "DATETIME",
  6282. "chnname": "",
  6283. "remark": "",
  6284. "pk": false,
  6285. "notNull": false,
  6286. "autoIncrement": false,
  6287. "defaultValue": ""
  6288. },
  6289. {
  6290. "name": "update_time",
  6291. "type": "DATETIME",
  6292. "chnname": "",
  6293. "remark": "",
  6294. "pk": false,
  6295. "notNull": false,
  6296. "autoIncrement": false,
  6297. "defaultValue": ""
  6298. },
  6299. {
  6300. "name": "is_del",
  6301. "type": "TINYINT_3",
  6302. "chnname": "",
  6303. "remark": "",
  6304. "pk": false,
  6305. "notNull": false,
  6306. "autoIncrement": false,
  6307. "defaultValue": ""
  6308. }
  6309. ]
  6310. }
  6311. ],
  6312. "graphCanvas": {
  6313. "nodes": [
  6314. {
  6315. "shape": "table",
  6316. "title": "yx_store_order",
  6317. "moduleName": false,
  6318. "x": 610,
  6319. "y": 550,
  6320. "id": "0eda0dc5"
  6321. },
  6322. {
  6323. "shape": "table",
  6324. "title": "yx_store_order_cart_info",
  6325. "moduleName": false,
  6326. "x": 1370,
  6327. "y": 70,
  6328. "id": "1412580b"
  6329. },
  6330. {
  6331. "shape": "table",
  6332. "title": "yx_store_cart",
  6333. "moduleName": "cart",
  6334. "x": 1410,
  6335. "y": 330,
  6336. "id": "bcf3c95c"
  6337. },
  6338. {
  6339. "shape": "table",
  6340. "title": "yx_store_order_status",
  6341. "moduleName": false,
  6342. "x": 1380,
  6343. "y": 610,
  6344. "id": "f5488e91"
  6345. }
  6346. ],
  6347. "edges": [
  6348. {
  6349. "shape": "erdRelation",
  6350. "relation": "0,n:1",
  6351. "source": "1412580b",
  6352. "target": "0eda0dc5",
  6353. "id": "6f47eff5",
  6354. "controlPoints": [
  6355. {
  6356. "x": 1179.8701171875,
  6357. "y": 52.38333333333334
  6358. },
  6359. {
  6360. "x": 1074.1962890625,
  6361. "y": 32.03378378378378
  6362. }
  6363. ],
  6364. "sourceAnchor": 2,
  6365. "targetAnchor": 1
  6366. },
  6367. {
  6368. "shape": "erdRelation",
  6369. "relation": "0,n:1",
  6370. "source": "1412580b",
  6371. "target": "bcf3c95c",
  6372. "id": "2c239ffd",
  6373. "controlPoints": [
  6374. {
  6375. "x": 1179.8701171875,
  6376. "y": 72.51666666666668
  6377. },
  6378. {
  6379. "x": 1120,
  6380. "y": 70
  6381. },
  6382. {
  6383. "x": 1120,
  6384. "y": 210
  6385. },
  6386. {
  6387. "x": 1184.4970703125,
  6388. "y": 212.1209677419355
  6389. }
  6390. ],
  6391. "sourceAnchor": 4,
  6392. "targetAnchor": 0
  6393. },
  6394. {
  6395. "shape": "erdRelation",
  6396. "relation": "0,n:1",
  6397. "source": "f5488e91",
  6398. "target": "0eda0dc5",
  6399. "id": "70641526",
  6400. "controlPoints": [
  6401. {
  6402. "x": 1200.5224609375,
  6403. "y": 602.4423076923077
  6404. },
  6405. {
  6406. "x": 1130,
  6407. "y": 450
  6408. },
  6409. {
  6410. "x": 1074.1962890625,
  6411. "y": 32.03378378378378
  6412. }
  6413. ],
  6414. "sourceAnchor": 2,
  6415. "targetAnchor": 1
  6416. }
  6417. ]
  6418. },
  6419. "associations": [
  6420. {
  6421. "relation": "0,n:1",
  6422. "from": {
  6423. "entity": "yx_store_order_cart_info",
  6424. "field": "oid"
  6425. },
  6426. "to": {
  6427. "entity": "yx_store_order",
  6428. "field": "id"
  6429. }
  6430. },
  6431. {
  6432. "relation": "0,n:1",
  6433. "from": {
  6434. "entity": "yx_store_order_cart_info",
  6435. "field": "cart_id"
  6436. },
  6437. "to": {
  6438. "entity": "yx_store_cart",
  6439. "field": "id"
  6440. }
  6441. },
  6442. {
  6443. "relation": "0,n:1",
  6444. "from": {
  6445. "entity": "yx_store_order_status",
  6446. "field": "oid"
  6447. },
  6448. "to": {
  6449. "entity": "yx_store_order",
  6450. "field": "id"
  6451. }
  6452. }
  6453. ]
  6454. },
  6455. {
  6456. "name": "product",
  6457. "chnname": "商品模块",
  6458. "entities": [
  6459. {
  6460. "title": "yx_store_product_reply",
  6461. "chnname": "评论表",
  6462. "fields": [
  6463. {
  6464. "name": "id",
  6465. "type": "BIGINT_19",
  6466. "chnname": "评论ID",
  6467. "remark": "",
  6468. "pk": true,
  6469. "notNull": true,
  6470. "autoIncrement": true,
  6471. "defaultValue": ""
  6472. },
  6473. {
  6474. "name": "uid",
  6475. "type": "BIGINT_19",
  6476. "chnname": "用户ID",
  6477. "remark": "",
  6478. "pk": false,
  6479. "notNull": true,
  6480. "autoIncrement": false,
  6481. "defaultValue": ""
  6482. },
  6483. {
  6484. "name": "oid",
  6485. "type": "BIGINT_19",
  6486. "chnname": "订单ID",
  6487. "remark": "",
  6488. "pk": false,
  6489. "notNull": true,
  6490. "autoIncrement": false,
  6491. "defaultValue": ""
  6492. },
  6493. {
  6494. "name": "unique",
  6495. "type": "CHAR_32",
  6496. "chnname": "唯一id",
  6497. "remark": "",
  6498. "pk": false,
  6499. "notNull": true,
  6500. "autoIncrement": false,
  6501. "defaultValue": ""
  6502. },
  6503. {
  6504. "name": "product_id",
  6505. "type": "BIGINT_19",
  6506. "chnname": "产品id",
  6507. "remark": "",
  6508. "pk": false,
  6509. "notNull": true,
  6510. "autoIncrement": false,
  6511. "defaultValue": ""
  6512. },
  6513. {
  6514. "name": "reply_type",
  6515. "type": "VARCHAR_32",
  6516. "chnname": "某种商品类型(普通商品、秒杀商品)",
  6517. "remark": "",
  6518. "pk": false,
  6519. "notNull": true,
  6520. "autoIncrement": false,
  6521. "defaultValue": ""
  6522. },
  6523. {
  6524. "name": "product_score",
  6525. "type": "BIT_1",
  6526. "chnname": "商品分数",
  6527. "remark": "",
  6528. "pk": false,
  6529. "notNull": true,
  6530. "autoIncrement": false,
  6531. "defaultValue": ""
  6532. },
  6533. {
  6534. "name": "service_score",
  6535. "type": "BIT_1",
  6536. "chnname": "服务分数",
  6537. "remark": "",
  6538. "pk": false,
  6539. "notNull": true,
  6540. "autoIncrement": false,
  6541. "defaultValue": ""
  6542. },
  6543. {
  6544. "name": "comment",
  6545. "type": "VARCHAR_512",
  6546. "chnname": "评论内容",
  6547. "remark": "",
  6548. "pk": false,
  6549. "notNull": true,
  6550. "autoIncrement": false,
  6551. "defaultValue": ""
  6552. },
  6553. {
  6554. "name": "pics",
  6555. "type": "TEXT",
  6556. "chnname": "评论图片",
  6557. "remark": "",
  6558. "pk": false,
  6559. "notNull": true,
  6560. "autoIncrement": false,
  6561. "defaultValue": ""
  6562. },
  6563. {
  6564. "name": "create_time",
  6565. "type": "DATETIME",
  6566. "chnname": "评论时间",
  6567. "remark": "",
  6568. "pk": false,
  6569. "notNull": true,
  6570. "autoIncrement": false,
  6571. "defaultValue": ""
  6572. },
  6573. {
  6574. "name": "update_time",
  6575. "type": "DATETIME",
  6576. "chnname": "",
  6577. "remark": "",
  6578. "pk": false,
  6579. "notNull": false,
  6580. "autoIncrement": false,
  6581. "defaultValue": ""
  6582. },
  6583. {
  6584. "name": "merchant_reply_content",
  6585. "type": "VARCHAR_300",
  6586. "chnname": "管理员回复内容",
  6587. "remark": "",
  6588. "pk": false,
  6589. "notNull": false,
  6590. "autoIncrement": false,
  6591. "defaultValue": ""
  6592. },
  6593. {
  6594. "name": "merchant_reply_time",
  6595. "type": "DATETIME",
  6596. "chnname": "管理员回复时间",
  6597. "remark": "",
  6598. "pk": false,
  6599. "notNull": false,
  6600. "autoIncrement": false,
  6601. "defaultValue": ""
  6602. },
  6603. {
  6604. "name": "is_del",
  6605. "type": "TINYINT UNSIGNED_1",
  6606. "chnname": "0未删除1已删除",
  6607. "remark": "",
  6608. "pk": false,
  6609. "notNull": true,
  6610. "autoIncrement": false,
  6611. "defaultValue": ""
  6612. },
  6613. {
  6614. "name": "is_reply",
  6615. "type": "BIT_1",
  6616. "chnname": "0未回复1已回复",
  6617. "remark": "",
  6618. "pk": false,
  6619. "notNull": true,
  6620. "autoIncrement": false,
  6621. "defaultValue": ""
  6622. }
  6623. ]
  6624. },
  6625. {
  6626. "title": "yx_store_product_relation",
  6627. "chnname": "商品点赞和收藏表",
  6628. "fields": [
  6629. {
  6630. "name": "id",
  6631. "type": "BIGINT UNSIGNED_20",
  6632. "chnname": "",
  6633. "remark": "",
  6634. "pk": true,
  6635. "notNull": true,
  6636. "autoIncrement": true,
  6637. "defaultValue": ""
  6638. },
  6639. {
  6640. "name": "uid",
  6641. "type": "BIGINT UNSIGNED_20",
  6642. "chnname": "用户ID",
  6643. "remark": "",
  6644. "pk": false,
  6645. "notNull": true,
  6646. "autoIncrement": false,
  6647. "defaultValue": ""
  6648. },
  6649. {
  6650. "name": "product_id",
  6651. "type": "BIGINT UNSIGNED_20",
  6652. "chnname": "商品ID",
  6653. "remark": "",
  6654. "pk": false,
  6655. "notNull": true,
  6656. "autoIncrement": false,
  6657. "defaultValue": ""
  6658. },
  6659. {
  6660. "name": "type",
  6661. "type": "VARCHAR_32",
  6662. "chnname": "类型(收藏(collect)、点赞(like))",
  6663. "remark": "",
  6664. "pk": false,
  6665. "notNull": false,
  6666. "autoIncrement": false,
  6667. "defaultValue": ""
  6668. },
  6669. {
  6670. "name": "category",
  6671. "type": "VARCHAR_32",
  6672. "chnname": "某种类型的商品(普通商品、秒杀商品)",
  6673. "remark": "",
  6674. "pk": false,
  6675. "notNull": false,
  6676. "autoIncrement": false,
  6677. "defaultValue": ""
  6678. },
  6679. {
  6680. "name": "create_time",
  6681. "type": "DATETIME",
  6682. "chnname": "添加时间",
  6683. "remark": "",
  6684. "pk": false,
  6685. "notNull": true,
  6686. "autoIncrement": false,
  6687. "defaultValue": ""
  6688. },
  6689. {
  6690. "name": "update_time",
  6691. "type": "DATETIME",
  6692. "chnname": "",
  6693. "remark": "",
  6694. "pk": false,
  6695. "notNull": false,
  6696. "autoIncrement": false,
  6697. "defaultValue": ""
  6698. },
  6699. {
  6700. "name": "is_del",
  6701. "type": "BIT_1",
  6702. "chnname": "",
  6703. "remark": "",
  6704. "pk": false,
  6705. "notNull": false,
  6706. "autoIncrement": false,
  6707. "defaultValue": ""
  6708. }
  6709. ]
  6710. },
  6711. {
  6712. "title": "yx_store_product_attr_value",
  6713. "chnname": "商品属性值表",
  6714. "fields": [
  6715. {
  6716. "name": "id",
  6717. "type": "BIGINT UNSIGNED_20",
  6718. "chnname": "",
  6719. "remark": "",
  6720. "pk": true,
  6721. "notNull": true,
  6722. "autoIncrement": true,
  6723. "defaultValue": ""
  6724. },
  6725. {
  6726. "name": "product_id",
  6727. "type": "BIGINT UNSIGNED_20",
  6728. "chnname": "商品ID",
  6729. "remark": "",
  6730. "pk": false,
  6731. "notNull": true,
  6732. "autoIncrement": false,
  6733. "defaultValue": ""
  6734. },
  6735. {
  6736. "name": "sku",
  6737. "type": "VARCHAR_128",
  6738. "chnname": "商品属性索引值 (attr_value|attr_value[|....])",
  6739. "remark": "",
  6740. "pk": false,
  6741. "notNull": true,
  6742. "autoIncrement": false,
  6743. "defaultValue": ""
  6744. },
  6745. {
  6746. "name": "stock",
  6747. "type": "INT UNSIGNED_10",
  6748. "chnname": "属性对应的库存",
  6749. "remark": "",
  6750. "pk": false,
  6751. "notNull": true,
  6752. "autoIncrement": false,
  6753. "defaultValue": ""
  6754. },
  6755. {
  6756. "name": "sales",
  6757. "type": "INT UNSIGNED_10",
  6758. "chnname": "销量",
  6759. "remark": "",
  6760. "pk": false,
  6761. "notNull": false,
  6762. "autoIncrement": false,
  6763. "defaultValue": ""
  6764. },
  6765. {
  6766. "name": "price",
  6767. "type": "DECIMAL UNSIGNED_8_2",
  6768. "chnname": "属性金额",
  6769. "remark": "",
  6770. "pk": false,
  6771. "notNull": true,
  6772. "autoIncrement": false,
  6773. "defaultValue": ""
  6774. },
  6775. {
  6776. "name": "image",
  6777. "type": "VARCHAR_128",
  6778. "chnname": "图片",
  6779. "remark": "",
  6780. "pk": false,
  6781. "notNull": false,
  6782. "autoIncrement": false,
  6783. "defaultValue": ""
  6784. },
  6785. {
  6786. "name": "unique",
  6787. "type": "VARCHAR_100",
  6788. "chnname": "唯一值",
  6789. "remark": "",
  6790. "pk": false,
  6791. "notNull": true,
  6792. "autoIncrement": false,
  6793. "defaultValue": ""
  6794. },
  6795. {
  6796. "name": "cost",
  6797. "type": "DECIMAL UNSIGNED_8_2",
  6798. "chnname": "成本价",
  6799. "remark": "",
  6800. "pk": false,
  6801. "notNull": true,
  6802. "autoIncrement": false,
  6803. "defaultValue": ""
  6804. },
  6805. {
  6806. "name": "bar_code",
  6807. "type": "VARCHAR_255",
  6808. "chnname": "商品条码",
  6809. "remark": "",
  6810. "pk": false,
  6811. "notNull": false,
  6812. "autoIncrement": false,
  6813. "defaultValue": ""
  6814. },
  6815. {
  6816. "name": "ot_price",
  6817. "type": "DECIMAL_10_2",
  6818. "chnname": "原价",
  6819. "remark": "",
  6820. "pk": false,
  6821. "notNull": false,
  6822. "autoIncrement": false,
  6823. "defaultValue": ""
  6824. },
  6825. {
  6826. "name": "weight",
  6827. "type": "DECIMAL_8_2",
  6828. "chnname": "重量",
  6829. "remark": "",
  6830. "pk": false,
  6831. "notNull": true,
  6832. "autoIncrement": false,
  6833. "defaultValue": ""
  6834. },
  6835. {
  6836. "name": "volume",
  6837. "type": "DECIMAL_8_2",
  6838. "chnname": "体积",
  6839. "remark": "",
  6840. "pk": false,
  6841. "notNull": true,
  6842. "autoIncrement": false,
  6843. "defaultValue": ""
  6844. },
  6845. {
  6846. "name": "brokerage",
  6847. "type": "DECIMAL_8_2",
  6848. "chnname": "一级返佣",
  6849. "remark": "",
  6850. "pk": false,
  6851. "notNull": true,
  6852. "autoIncrement": false,
  6853. "defaultValue": ""
  6854. },
  6855. {
  6856. "name": "brokerage_two",
  6857. "type": "DECIMAL_8_2",
  6858. "chnname": "二级返佣",
  6859. "remark": "",
  6860. "pk": false,
  6861. "notNull": true,
  6862. "autoIncrement": false,
  6863. "defaultValue": ""
  6864. }
  6865. ]
  6866. },
  6867. {
  6868. "title": "yx_store_product_attr_result",
  6869. "chnname": "商品属性详情表",
  6870. "fields": [
  6871. {
  6872. "name": "id",
  6873. "type": "BIGINT UNSIGNED_20",
  6874. "chnname": "",
  6875. "remark": "",
  6876. "pk": true,
  6877. "notNull": true,
  6878. "autoIncrement": true,
  6879. "defaultValue": ""
  6880. },
  6881. {
  6882. "name": "product_id",
  6883. "type": "BIGINT UNSIGNED_20",
  6884. "chnname": "商品ID",
  6885. "remark": "",
  6886. "pk": false,
  6887. "notNull": true,
  6888. "autoIncrement": false,
  6889. "defaultValue": ""
  6890. },
  6891. {
  6892. "name": "result",
  6893. "type": "TEXT",
  6894. "chnname": "商品属性参数",
  6895. "remark": "",
  6896. "pk": false,
  6897. "notNull": true,
  6898. "autoIncrement": false,
  6899. "defaultValue": ""
  6900. },
  6901. {
  6902. "name": "change_time",
  6903. "type": "DATETIME",
  6904. "chnname": "上次修改时间",
  6905. "remark": "",
  6906. "pk": false,
  6907. "notNull": true,
  6908. "autoIncrement": false,
  6909. "defaultValue": ""
  6910. }
  6911. ]
  6912. },
  6913. {
  6914. "title": "yx_store_product_attr",
  6915. "chnname": "商品属性表",
  6916. "fields": [
  6917. {
  6918. "name": "id",
  6919. "type": "BIGINT UNSIGNED_20",
  6920. "chnname": "",
  6921. "remark": "",
  6922. "pk": true,
  6923. "notNull": true,
  6924. "autoIncrement": true,
  6925. "defaultValue": ""
  6926. },
  6927. {
  6928. "name": "product_id",
  6929. "type": "BIGINT UNSIGNED_20",
  6930. "chnname": "商品ID",
  6931. "remark": "",
  6932. "pk": false,
  6933. "notNull": true,
  6934. "autoIncrement": false,
  6935. "defaultValue": ""
  6936. },
  6937. {
  6938. "name": "attr_name",
  6939. "type": "VARCHAR_32",
  6940. "chnname": "属性名",
  6941. "remark": "",
  6942. "pk": false,
  6943. "notNull": true,
  6944. "autoIncrement": false,
  6945. "defaultValue": ""
  6946. },
  6947. {
  6948. "name": "attr_values",
  6949. "type": "VARCHAR_256",
  6950. "chnname": "属性值",
  6951. "remark": "",
  6952. "pk": false,
  6953. "notNull": true,
  6954. "autoIncrement": false,
  6955. "defaultValue": ""
  6956. }
  6957. ]
  6958. },
  6959. {
  6960. "title": "yx_store_product",
  6961. "chnname": "商品表",
  6962. "fields": [
  6963. {
  6964. "name": "id",
  6965. "type": "BIGINT_19",
  6966. "chnname": "商品id",
  6967. "remark": "",
  6968. "pk": true,
  6969. "notNull": true,
  6970. "autoIncrement": true,
  6971. "defaultValue": ""
  6972. },
  6973. {
  6974. "name": "mer_id",
  6975. "type": "INT UNSIGNED_10",
  6976. "chnname": "商户Id(0为总后台管理员创建,不为0的时候是商户后台创建)",
  6977. "remark": "",
  6978. "pk": false,
  6979. "notNull": false,
  6980. "autoIncrement": false,
  6981. "defaultValue": ""
  6982. },
  6983. {
  6984. "name": "image",
  6985. "type": "VARCHAR_256",
  6986. "chnname": "商品图片",
  6987. "remark": "",
  6988. "pk": false,
  6989. "notNull": true,
  6990. "autoIncrement": false,
  6991. "defaultValue": ""
  6992. },
  6993. {
  6994. "name": "slider_image",
  6995. "type": "VARCHAR_2000",
  6996. "chnname": "轮播图",
  6997. "remark": "",
  6998. "pk": false,
  6999. "notNull": true,
  7000. "autoIncrement": false,
  7001. "defaultValue": ""
  7002. },
  7003. {
  7004. "name": "store_name",
  7005. "type": "VARCHAR_128",
  7006. "chnname": "商品名称",
  7007. "remark": "",
  7008. "pk": false,
  7009. "notNull": true,
  7010. "autoIncrement": false,
  7011. "defaultValue": ""
  7012. },
  7013. {
  7014. "name": "store_info",
  7015. "type": "VARCHAR_256",
  7016. "chnname": "商品简介",
  7017. "remark": "",
  7018. "pk": false,
  7019. "notNull": true,
  7020. "autoIncrement": false,
  7021. "defaultValue": ""
  7022. },
  7023. {
  7024. "name": "keyword",
  7025. "type": "VARCHAR_256",
  7026. "chnname": "关键字",
  7027. "remark": "",
  7028. "pk": false,
  7029. "notNull": true,
  7030. "autoIncrement": false,
  7031. "defaultValue": ""
  7032. },
  7033. {
  7034. "name": "bar_code",
  7035. "type": "VARCHAR_15",
  7036. "chnname": "产品条码(一维码)",
  7037. "remark": "",
  7038. "pk": false,
  7039. "notNull": false,
  7040. "autoIncrement": false,
  7041. "defaultValue": ""
  7042. },
  7043. {
  7044. "name": "cate_id",
  7045. "type": "VARCHAR_64",
  7046. "chnname": "分类id",
  7047. "remark": "",
  7048. "pk": false,
  7049. "notNull": true,
  7050. "autoIncrement": false,
  7051. "defaultValue": ""
  7052. },
  7053. {
  7054. "name": "price",
  7055. "type": "DECIMAL UNSIGNED_8_2",
  7056. "chnname": "商品价格",
  7057. "remark": "",
  7058. "pk": false,
  7059. "notNull": true,
  7060. "autoIncrement": false,
  7061. "defaultValue": ""
  7062. },
  7063. {
  7064. "name": "vip_price",
  7065. "type": "DECIMAL UNSIGNED_8_2",
  7066. "chnname": "会员价格",
  7067. "remark": "",
  7068. "pk": false,
  7069. "notNull": false,
  7070. "autoIncrement": false,
  7071. "defaultValue": ""
  7072. },
  7073. {
  7074. "name": "ot_price",
  7075. "type": "DECIMAL UNSIGNED_8_2",
  7076. "chnname": "市场价",
  7077. "remark": "",
  7078. "pk": false,
  7079. "notNull": false,
  7080. "autoIncrement": false,
  7081. "defaultValue": ""
  7082. },
  7083. {
  7084. "name": "postage",
  7085. "type": "DECIMAL UNSIGNED_8_2",
  7086. "chnname": "邮费",
  7087. "remark": "",
  7088. "pk": false,
  7089. "notNull": false,
  7090. "autoIncrement": false,
  7091. "defaultValue": ""
  7092. },
  7093. {
  7094. "name": "unit_name",
  7095. "type": "VARCHAR_32",
  7096. "chnname": "单位名",
  7097. "remark": "",
  7098. "pk": false,
  7099. "notNull": false,
  7100. "autoIncrement": false,
  7101. "defaultValue": ""
  7102. },
  7103. {
  7104. "name": "sort",
  7105. "type": "SMALLINT_5",
  7106. "chnname": "排序",
  7107. "remark": "",
  7108. "pk": false,
  7109. "notNull": false,
  7110. "autoIncrement": false,
  7111. "defaultValue": ""
  7112. },
  7113. {
  7114. "name": "sales",
  7115. "type": "MEDIUMINT UNSIGNED_8",
  7116. "chnname": "销量",
  7117. "remark": "",
  7118. "pk": false,
  7119. "notNull": false,
  7120. "autoIncrement": false,
  7121. "defaultValue": ""
  7122. },
  7123. {
  7124. "name": "stock",
  7125. "type": "MEDIUMINT UNSIGNED_8",
  7126. "chnname": "库存",
  7127. "remark": "",
  7128. "pk": false,
  7129. "notNull": false,
  7130. "autoIncrement": false,
  7131. "defaultValue": ""
  7132. },
  7133. {
  7134. "name": "is_show",
  7135. "type": "BIT_1",
  7136. "chnname": "状态(0:未上架,1:上架)",
  7137. "remark": "",
  7138. "pk": false,
  7139. "notNull": false,
  7140. "autoIncrement": false,
  7141. "defaultValue": ""
  7142. },
  7143. {
  7144. "name": "is_hot",
  7145. "type": "BIT_1",
  7146. "chnname": "是否热卖",
  7147. "remark": "",
  7148. "pk": false,
  7149. "notNull": false,
  7150. "autoIncrement": false,
  7151. "defaultValue": ""
  7152. },
  7153. {
  7154. "name": "is_benefit",
  7155. "type": "BIT_1",
  7156. "chnname": "是否优惠",
  7157. "remark": "",
  7158. "pk": false,
  7159. "notNull": false,
  7160. "autoIncrement": false,
  7161. "defaultValue": ""
  7162. },
  7163. {
  7164. "name": "is_best",
  7165. "type": "BIT_1",
  7166. "chnname": "是否精品",
  7167. "remark": "",
  7168. "pk": false,
  7169. "notNull": false,
  7170. "autoIncrement": false,
  7171. "defaultValue": ""
  7172. },
  7173. {
  7174. "name": "is_new",
  7175. "type": "BIT_1",
  7176. "chnname": "是否新品",
  7177. "remark": "",
  7178. "pk": false,
  7179. "notNull": false,
  7180. "autoIncrement": false,
  7181. "defaultValue": ""
  7182. },
  7183. {
  7184. "name": "description",
  7185. "type": "TEXT",
  7186. "chnname": "产品描述",
  7187. "remark": "",
  7188. "pk": false,
  7189. "notNull": false,
  7190. "autoIncrement": false,
  7191. "defaultValue": ""
  7192. },
  7193. {
  7194. "name": "create_time",
  7195. "type": "DATETIME",
  7196. "chnname": "添加时间",
  7197. "remark": "",
  7198. "pk": false,
  7199. "notNull": false,
  7200. "autoIncrement": false,
  7201. "defaultValue": ""
  7202. },
  7203. {
  7204. "name": "update_time",
  7205. "type": "DATETIME",
  7206. "chnname": "",
  7207. "remark": "",
  7208. "pk": false,
  7209. "notNull": false,
  7210. "autoIncrement": false,
  7211. "defaultValue": ""
  7212. },
  7213. {
  7214. "name": "is_postage",
  7215. "type": "TINYINT UNSIGNED_1",
  7216. "chnname": "是否包邮",
  7217. "remark": "",
  7218. "pk": false,
  7219. "notNull": false,
  7220. "autoIncrement": false,
  7221. "defaultValue": ""
  7222. },
  7223. {
  7224. "name": "is_del",
  7225. "type": "TINYINT UNSIGNED_1",
  7226. "chnname": "是否删除",
  7227. "remark": "",
  7228. "pk": false,
  7229. "notNull": false,
  7230. "autoIncrement": false,
  7231. "defaultValue": ""
  7232. },
  7233. {
  7234. "name": "mer_use",
  7235. "type": "TINYINT UNSIGNED_1",
  7236. "chnname": "商户是否代理 0不可代理1可代理",
  7237. "remark": "",
  7238. "pk": false,
  7239. "notNull": false,
  7240. "autoIncrement": false,
  7241. "defaultValue": ""
  7242. },
  7243. {
  7244. "name": "give_integral",
  7245. "type": "DECIMAL UNSIGNED_8_2",
  7246. "chnname": "获得积分",
  7247. "remark": "",
  7248. "pk": false,
  7249. "notNull": false,
  7250. "autoIncrement": false,
  7251. "defaultValue": ""
  7252. },
  7253. {
  7254. "name": "cost",
  7255. "type": "DECIMAL UNSIGNED_8_2",
  7256. "chnname": "成本价",
  7257. "remark": "",
  7258. "pk": false,
  7259. "notNull": false,
  7260. "autoIncrement": false,
  7261. "defaultValue": ""
  7262. },
  7263. {
  7264. "name": "is_seckill",
  7265. "type": "TINYINT UNSIGNED_1",
  7266. "chnname": "秒杀状态 0 未开启 1已开启",
  7267. "remark": "",
  7268. "pk": false,
  7269. "notNull": false,
  7270. "autoIncrement": false,
  7271. "defaultValue": ""
  7272. },
  7273. {
  7274. "name": "is_bargain",
  7275. "type": "TINYINT UNSIGNED_1",
  7276. "chnname": "砍价状态 0未开启 1开启",
  7277. "remark": "",
  7278. "pk": false,
  7279. "notNull": false,
  7280. "autoIncrement": false,
  7281. "defaultValue": ""
  7282. },
  7283. {
  7284. "name": "is_good",
  7285. "type": "BIT_1",
  7286. "chnname": "是否优品推荐",
  7287. "remark": "",
  7288. "pk": false,
  7289. "notNull": false,
  7290. "autoIncrement": false,
  7291. "defaultValue": ""
  7292. },
  7293. {
  7294. "name": "ficti",
  7295. "type": "MEDIUMINT_7",
  7296. "chnname": "虚拟销量",
  7297. "remark": "",
  7298. "pk": false,
  7299. "notNull": false,
  7300. "autoIncrement": false,
  7301. "defaultValue": ""
  7302. },
  7303. {
  7304. "name": "browse",
  7305. "type": "INT_10",
  7306. "chnname": "浏览量",
  7307. "remark": "",
  7308. "pk": false,
  7309. "notNull": false,
  7310. "autoIncrement": false,
  7311. "defaultValue": ""
  7312. },
  7313. {
  7314. "name": "code_path",
  7315. "type": "VARCHAR_64",
  7316. "chnname": "产品二维码地址(用户小程序海报)",
  7317. "remark": "",
  7318. "pk": false,
  7319. "notNull": true,
  7320. "autoIncrement": false,
  7321. "defaultValue": ""
  7322. },
  7323. {
  7324. "name": "is_sub",
  7325. "type": "BIT_1",
  7326. "chnname": "是否单独分佣",
  7327. "remark": "",
  7328. "pk": false,
  7329. "notNull": false,
  7330. "autoIncrement": false,
  7331. "defaultValue": ""
  7332. },
  7333. {
  7334. "name": "temp_id",
  7335. "type": "INT_10",
  7336. "chnname": "运费模板ID",
  7337. "remark": "",
  7338. "pk": false,
  7339. "notNull": false,
  7340. "autoIncrement": false,
  7341. "defaultValue": ""
  7342. },
  7343. {
  7344. "name": "spec_type",
  7345. "type": "BIT_1",
  7346. "chnname": "规格 0单 1多",
  7347. "remark": "",
  7348. "pk": false,
  7349. "notNull": false,
  7350. "autoIncrement": false,
  7351. "defaultValue": ""
  7352. }
  7353. ]
  7354. },
  7355. {
  7356. "title": "yx_store_product_rule",
  7357. "chnname": "商品规则值(规格)表",
  7358. "fields": [
  7359. {
  7360. "name": "id",
  7361. "type": "INT_10",
  7362. "chnname": "",
  7363. "remark": "",
  7364. "pk": true,
  7365. "notNull": true,
  7366. "autoIncrement": true,
  7367. "defaultValue": ""
  7368. },
  7369. {
  7370. "name": "rule_name",
  7371. "type": "VARCHAR_32",
  7372. "chnname": "规格名称",
  7373. "remark": "",
  7374. "pk": false,
  7375. "notNull": true,
  7376. "autoIncrement": false,
  7377. "defaultValue": ""
  7378. },
  7379. {
  7380. "name": "rule_value",
  7381. "type": "JSON",
  7382. "chnname": "规格值",
  7383. "remark": "",
  7384. "pk": false,
  7385. "notNull": true,
  7386. "autoIncrement": false,
  7387. "defaultValue": ""
  7388. },
  7389. {
  7390. "name": "create_time",
  7391. "type": "DATETIME",
  7392. "chnname": "",
  7393. "remark": "",
  7394. "pk": false,
  7395. "notNull": false,
  7396. "autoIncrement": false,
  7397. "defaultValue": ""
  7398. },
  7399. {
  7400. "name": "update_time",
  7401. "type": "DATETIME",
  7402. "chnname": "",
  7403. "remark": "",
  7404. "pk": false,
  7405. "notNull": false,
  7406. "autoIncrement": false,
  7407. "defaultValue": ""
  7408. },
  7409. {
  7410. "name": "is_del",
  7411. "type": "BIT_1",
  7412. "chnname": "",
  7413. "remark": "",
  7414. "pk": false,
  7415. "notNull": false,
  7416. "autoIncrement": false,
  7417. "defaultValue": ""
  7418. }
  7419. ]
  7420. }
  7421. ],
  7422. "graphCanvas": {
  7423. "nodes": [
  7424. {
  7425. "shape": "table",
  7426. "title": "yx_store_product",
  7427. "moduleName": false,
  7428. "x": 390,
  7429. "y": 410,
  7430. "id": "1f2a5f58"
  7431. },
  7432. {
  7433. "shape": "table",
  7434. "title": "yx_store_product_attr",
  7435. "moduleName": false,
  7436. "x": 970,
  7437. "y": 60,
  7438. "id": "8d021563"
  7439. },
  7440. {
  7441. "shape": "table",
  7442. "title": "yx_store_product_attr_value",
  7443. "moduleName": false,
  7444. "x": 1090,
  7445. "y": 360,
  7446. "id": "65395cd5"
  7447. },
  7448. {
  7449. "shape": "table",
  7450. "title": "yx_store_product_attr_result",
  7451. "moduleName": false,
  7452. "x": 1020,
  7453. "y": 660,
  7454. "id": "f65fda56"
  7455. }
  7456. ],
  7457. "edges": [
  7458. {
  7459. "shape": "erdRelation",
  7460. "relation": "0,n:1",
  7461. "source": "8d021563",
  7462. "target": "1f2a5f58",
  7463. "id": "8a5b631d",
  7464. "controlPoints": [
  7465. {
  7466. "x": 814.5400390625,
  7467. "y": 62.52272727272727
  7468. },
  7469. {
  7470. "x": 698.1318359375,
  7471. "y": 42.0462962962963
  7472. }
  7473. ],
  7474. "sourceAnchor": 2,
  7475. "targetAnchor": 1
  7476. },
  7477. {
  7478. "shape": "erdRelation",
  7479. "relation": "0,n:1",
  7480. "source": "65395cd5",
  7481. "target": "1f2a5f58",
  7482. "id": "b3c471e9",
  7483. "controlPoints": [
  7484. {
  7485. "x": 818.958984375,
  7486. "y": 252.17424242424244
  7487. },
  7488. {
  7489. "x": 698.1318359375,
  7490. "y": 42.0462962962963
  7491. }
  7492. ],
  7493. "sourceAnchor": 2,
  7494. "targetAnchor": 1
  7495. },
  7496. {
  7497. "shape": "erdRelation",
  7498. "relation": "0,n:1",
  7499. "source": "65395cd5",
  7500. "target": "8d021563",
  7501. "id": "76f261e2",
  7502. "controlPoints": [
  7503. {
  7504. "x": 818.958984375,
  7505. "y": 272.2348484848485
  7506. },
  7507. {
  7508. "x": 750,
  7509. "y": 240
  7510. },
  7511. {
  7512. "x": 814.5400390625,
  7513. "y": 82.70454545454545
  7514. }
  7515. ],
  7516. "sourceAnchor": 4,
  7517. "targetAnchor": 4
  7518. }
  7519. ]
  7520. },
  7521. "associations": [
  7522. {
  7523. "relation": "0,n:1",
  7524. "from": {
  7525. "entity": "yx_store_product_attr",
  7526. "field": "product_id"
  7527. },
  7528. "to": {
  7529. "entity": "yx_store_product",
  7530. "field": "id"
  7531. }
  7532. },
  7533. {
  7534. "relation": "0,n:1",
  7535. "from": {
  7536. "entity": "yx_store_product_attr_value",
  7537. "field": "product_id"
  7538. },
  7539. "to": {
  7540. "entity": "yx_store_product",
  7541. "field": "id"
  7542. }
  7543. },
  7544. {
  7545. "relation": "0,n:1",
  7546. "from": {
  7547. "entity": "yx_store_product_attr_value",
  7548. "field": "sku"
  7549. },
  7550. "to": {
  7551. "entity": "yx_store_product_attr",
  7552. "field": "attr_name"
  7553. }
  7554. }
  7555. ]
  7556. },
  7557. {
  7558. "name": "shop",
  7559. "chnname": "商户模块",
  7560. "entities": [
  7561. {
  7562. "title": "yx_material_group",
  7563. "chnname": "素材分组",
  7564. "fields": [
  7565. {
  7566. "name": "id",
  7567. "type": "VARCHAR_32",
  7568. "chnname": "PK",
  7569. "remark": "",
  7570. "pk": true,
  7571. "notNull": true,
  7572. "autoIncrement": false,
  7573. "defaultValue": ""
  7574. },
  7575. {
  7576. "name": "create_time",
  7577. "type": "DATETIME",
  7578. "chnname": "创建时间",
  7579. "remark": "",
  7580. "pk": false,
  7581. "notNull": true,
  7582. "autoIncrement": false,
  7583. "defaultValue": ""
  7584. },
  7585. {
  7586. "name": "create_id",
  7587. "type": "VARCHAR_32",
  7588. "chnname": "创建者ID",
  7589. "remark": "",
  7590. "pk": false,
  7591. "notNull": false,
  7592. "autoIncrement": false,
  7593. "defaultValue": ""
  7594. },
  7595. {
  7596. "name": "name",
  7597. "type": "VARCHAR_200",
  7598. "chnname": "分组名",
  7599. "remark": "",
  7600. "pk": false,
  7601. "notNull": true,
  7602. "autoIncrement": false,
  7603. "defaultValue": ""
  7604. },
  7605. {
  7606. "name": "update_time",
  7607. "type": "DATETIME",
  7608. "chnname": "",
  7609. "remark": "",
  7610. "pk": false,
  7611. "notNull": false,
  7612. "autoIncrement": false,
  7613. "defaultValue": ""
  7614. },
  7615. {
  7616. "name": "is_del",
  7617. "type": "BIT_1",
  7618. "chnname": "",
  7619. "remark": "",
  7620. "pk": false,
  7621. "notNull": false,
  7622. "autoIncrement": false,
  7623. "defaultValue": ""
  7624. }
  7625. ]
  7626. },
  7627. {
  7628. "title": "yx_system_attachment",
  7629. "chnname": "附件管理表",
  7630. "fields": [
  7631. {
  7632. "name": "att_id",
  7633. "type": "BIGINT_19",
  7634. "chnname": "",
  7635. "remark": "",
  7636. "pk": true,
  7637. "notNull": true,
  7638. "autoIncrement": true,
  7639. "defaultValue": ""
  7640. },
  7641. {
  7642. "name": "name",
  7643. "type": "VARCHAR_100",
  7644. "chnname": "附件名称",
  7645. "remark": "",
  7646. "pk": false,
  7647. "notNull": true,
  7648. "autoIncrement": false,
  7649. "defaultValue": ""
  7650. },
  7651. {
  7652. "name": "att_dir",
  7653. "type": "VARCHAR_200",
  7654. "chnname": "附件路径",
  7655. "remark": "",
  7656. "pk": false,
  7657. "notNull": true,
  7658. "autoIncrement": false,
  7659. "defaultValue": ""
  7660. },
  7661. {
  7662. "name": "satt_dir",
  7663. "type": "VARCHAR_200",
  7664. "chnname": "压缩图片路径",
  7665. "remark": "",
  7666. "pk": false,
  7667. "notNull": false,
  7668. "autoIncrement": false,
  7669. "defaultValue": ""
  7670. },
  7671. {
  7672. "name": "att_size",
  7673. "type": "CHAR_30",
  7674. "chnname": "附件大小",
  7675. "remark": "",
  7676. "pk": false,
  7677. "notNull": true,
  7678. "autoIncrement": false,
  7679. "defaultValue": ""
  7680. },
  7681. {
  7682. "name": "att_type",
  7683. "type": "CHAR_30",
  7684. "chnname": "附件类型",
  7685. "remark": "",
  7686. "pk": false,
  7687. "notNull": true,
  7688. "autoIncrement": false,
  7689. "defaultValue": ""
  7690. },
  7691. {
  7692. "name": "pid",
  7693. "type": "INT_10",
  7694. "chnname": "分类ID0编辑器,1产品图片,2拼团图片,3砍价图片,4秒杀图片,5文章图片,6组合数据图",
  7695. "remark": "",
  7696. "pk": false,
  7697. "notNull": true,
  7698. "autoIncrement": false,
  7699. "defaultValue": ""
  7700. },
  7701. {
  7702. "name": "image_type",
  7703. "type": "TINYINT UNSIGNED_1",
  7704. "chnname": "图片上传类型 1本地 2七牛云 3OSS 4COS ",
  7705. "remark": "",
  7706. "pk": false,
  7707. "notNull": true,
  7708. "autoIncrement": false,
  7709. "defaultValue": ""
  7710. },
  7711. {
  7712. "name": "module_type",
  7713. "type": "TINYINT UNSIGNED_1",
  7714. "chnname": "图片上传模块类型 1 后台上传 2 用户生成",
  7715. "remark": "",
  7716. "pk": false,
  7717. "notNull": true,
  7718. "autoIncrement": false,
  7719. "defaultValue": ""
  7720. },
  7721. {
  7722. "name": "uid",
  7723. "type": "BIGINT UNSIGNED_20",
  7724. "chnname": "用户id",
  7725. "remark": "",
  7726. "pk": false,
  7727. "notNull": false,
  7728. "autoIncrement": false,
  7729. "defaultValue": ""
  7730. },
  7731. {
  7732. "name": "invite_code",
  7733. "type": "VARCHAR_50",
  7734. "chnname": "邀请码",
  7735. "remark": "",
  7736. "pk": false,
  7737. "notNull": false,
  7738. "autoIncrement": false,
  7739. "defaultValue": ""
  7740. },
  7741. {
  7742. "name": "create_time",
  7743. "type": "DATETIME",
  7744. "chnname": "",
  7745. "remark": "",
  7746. "pk": false,
  7747. "notNull": false,
  7748. "autoIncrement": false,
  7749. "defaultValue": ""
  7750. },
  7751. {
  7752. "name": "update_time",
  7753. "type": "DATETIME",
  7754. "chnname": "",
  7755. "remark": "",
  7756. "pk": false,
  7757. "notNull": false,
  7758. "autoIncrement": false,
  7759. "defaultValue": ""
  7760. },
  7761. {
  7762. "name": "is_del",
  7763. "type": "BIT_1",
  7764. "chnname": "",
  7765. "remark": "",
  7766. "pk": false,
  7767. "notNull": false,
  7768. "autoIncrement": false,
  7769. "defaultValue": ""
  7770. }
  7771. ]
  7772. },
  7773. {
  7774. "title": "yx_system_config",
  7775. "chnname": "配置表",
  7776. "fields": [
  7777. {
  7778. "name": "id",
  7779. "type": "INT UNSIGNED_10",
  7780. "chnname": "配置id",
  7781. "remark": "",
  7782. "pk": true,
  7783. "notNull": true,
  7784. "autoIncrement": true,
  7785. "defaultValue": ""
  7786. },
  7787. {
  7788. "name": "menu_name",
  7789. "type": "VARCHAR_255",
  7790. "chnname": "字段名称",
  7791. "remark": "",
  7792. "pk": false,
  7793. "notNull": true,
  7794. "autoIncrement": false,
  7795. "defaultValue": ""
  7796. },
  7797. {
  7798. "name": "value",
  7799. "type": "VARCHAR_5000",
  7800. "chnname": "默认值",
  7801. "remark": "",
  7802. "pk": false,
  7803. "notNull": false,
  7804. "autoIncrement": false,
  7805. "defaultValue": ""
  7806. },
  7807. {
  7808. "name": "sort",
  7809. "type": "INT UNSIGNED_10",
  7810. "chnname": "排序",
  7811. "remark": "",
  7812. "pk": false,
  7813. "notNull": false,
  7814. "autoIncrement": false,
  7815. "defaultValue": ""
  7816. },
  7817. {
  7818. "name": "status",
  7819. "type": "TINYINT UNSIGNED_1",
  7820. "chnname": "是否隐藏",
  7821. "remark": "",
  7822. "pk": false,
  7823. "notNull": false,
  7824. "autoIncrement": false,
  7825. "defaultValue": ""
  7826. }
  7827. ]
  7828. },
  7829. {
  7830. "title": "yx_system_group_data",
  7831. "chnname": "组合数据详情表",
  7832. "fields": [
  7833. {
  7834. "name": "id",
  7835. "type": "INT_10",
  7836. "chnname": "组合数据详情ID",
  7837. "remark": "",
  7838. "pk": true,
  7839. "notNull": true,
  7840. "autoIncrement": true,
  7841. "defaultValue": ""
  7842. },
  7843. {
  7844. "name": "group_name",
  7845. "type": "VARCHAR_100",
  7846. "chnname": "对应的数据名称",
  7847. "remark": "",
  7848. "pk": false,
  7849. "notNull": true,
  7850. "autoIncrement": false,
  7851. "defaultValue": ""
  7852. },
  7853. {
  7854. "name": "value",
  7855. "type": "TEXT",
  7856. "chnname": "数据组对应的数据值(json数据)",
  7857. "remark": "",
  7858. "pk": false,
  7859. "notNull": true,
  7860. "autoIncrement": false,
  7861. "defaultValue": ""
  7862. },
  7863. {
  7864. "name": "create_time",
  7865. "type": "DATETIME",
  7866. "chnname": "添加数据时间",
  7867. "remark": "",
  7868. "pk": false,
  7869. "notNull": false,
  7870. "autoIncrement": false,
  7871. "defaultValue": ""
  7872. },
  7873. {
  7874. "name": "update_time",
  7875. "type": "DATETIME",
  7876. "chnname": "",
  7877. "remark": "",
  7878. "pk": false,
  7879. "notNull": false,
  7880. "autoIncrement": false,
  7881. "defaultValue": ""
  7882. },
  7883. {
  7884. "name": "sort",
  7885. "type": "INT_10",
  7886. "chnname": "数据排序",
  7887. "remark": "",
  7888. "pk": false,
  7889. "notNull": false,
  7890. "autoIncrement": false,
  7891. "defaultValue": ""
  7892. },
  7893. {
  7894. "name": "status",
  7895. "type": "BIT_1",
  7896. "chnname": "状态(1:开启;2:关闭;)",
  7897. "remark": "",
  7898. "pk": false,
  7899. "notNull": true,
  7900. "autoIncrement": false,
  7901. "defaultValue": ""
  7902. },
  7903. {
  7904. "name": "is_del",
  7905. "type": "BIT_1",
  7906. "chnname": "",
  7907. "remark": "",
  7908. "pk": false,
  7909. "notNull": false,
  7910. "autoIncrement": false,
  7911. "defaultValue": ""
  7912. }
  7913. ]
  7914. },
  7915. {
  7916. "title": "yx_system_store",
  7917. "chnname": "门店自提",
  7918. "fields": [
  7919. {
  7920. "name": "id",
  7921. "type": "INT UNSIGNED_10",
  7922. "chnname": "",
  7923. "remark": "",
  7924. "pk": true,
  7925. "notNull": true,
  7926. "autoIncrement": true,
  7927. "defaultValue": ""
  7928. },
  7929. {
  7930. "name": "name",
  7931. "type": "VARCHAR_100",
  7932. "chnname": "门店名称",
  7933. "remark": "",
  7934. "pk": false,
  7935. "notNull": true,
  7936. "autoIncrement": false,
  7937. "defaultValue": ""
  7938. },
  7939. {
  7940. "name": "introduction",
  7941. "type": "VARCHAR_1000",
  7942. "chnname": "简介",
  7943. "remark": "",
  7944. "pk": false,
  7945. "notNull": true,
  7946. "autoIncrement": false,
  7947. "defaultValue": ""
  7948. },
  7949. {
  7950. "name": "phone",
  7951. "type": "CHAR_25",
  7952. "chnname": "手机号码",
  7953. "remark": "",
  7954. "pk": false,
  7955. "notNull": true,
  7956. "autoIncrement": false,
  7957. "defaultValue": ""
  7958. },
  7959. {
  7960. "name": "address",
  7961. "type": "VARCHAR_255",
  7962. "chnname": "省市区",
  7963. "remark": "",
  7964. "pk": false,
  7965. "notNull": true,
  7966. "autoIncrement": false,
  7967. "defaultValue": ""
  7968. },
  7969. {
  7970. "name": "detailed_address",
  7971. "type": "VARCHAR_255",
  7972. "chnname": "详细地址",
  7973. "remark": "",
  7974. "pk": false,
  7975. "notNull": true,
  7976. "autoIncrement": false,
  7977. "defaultValue": ""
  7978. },
  7979. {
  7980. "name": "image",
  7981. "type": "VARCHAR_255",
  7982. "chnname": "门店logo",
  7983. "remark": "",
  7984. "pk": false,
  7985. "notNull": true,
  7986. "autoIncrement": false,
  7987. "defaultValue": ""
  7988. },
  7989. {
  7990. "name": "latitude",
  7991. "type": "CHAR_25",
  7992. "chnname": "纬度",
  7993. "remark": "",
  7994. "pk": false,
  7995. "notNull": true,
  7996. "autoIncrement": false,
  7997. "defaultValue": ""
  7998. },
  7999. {
  8000. "name": "longitude",
  8001. "type": "CHAR_25",
  8002. "chnname": "经度",
  8003. "remark": "",
  8004. "pk": false,
  8005. "notNull": true,
  8006. "autoIncrement": false,
  8007. "defaultValue": ""
  8008. },
  8009. {
  8010. "name": "valid_time",
  8011. "type": "VARCHAR_100",
  8012. "chnname": "核销有效日期",
  8013. "remark": "",
  8014. "pk": false,
  8015. "notNull": true,
  8016. "autoIncrement": false,
  8017. "defaultValue": ""
  8018. },
  8019. {
  8020. "name": "day_time",
  8021. "type": "VARCHAR_100",
  8022. "chnname": "每日营业开关时间",
  8023. "remark": "",
  8024. "pk": false,
  8025. "notNull": true,
  8026. "autoIncrement": false,
  8027. "defaultValue": ""
  8028. },
  8029. {
  8030. "name": "create_time",
  8031. "type": "DATETIME",
  8032. "chnname": "添加时间",
  8033. "remark": "",
  8034. "pk": false,
  8035. "notNull": true,
  8036. "autoIncrement": false,
  8037. "defaultValue": ""
  8038. },
  8039. {
  8040. "name": "update_time",
  8041. "type": "DATETIME",
  8042. "chnname": "",
  8043. "remark": "",
  8044. "pk": false,
  8045. "notNull": false,
  8046. "autoIncrement": false,
  8047. "defaultValue": ""
  8048. },
  8049. {
  8050. "name": "is_show",
  8051. "type": "BIT_1",
  8052. "chnname": "是否显示",
  8053. "remark": "",
  8054. "pk": false,
  8055. "notNull": true,
  8056. "autoIncrement": false,
  8057. "defaultValue": ""
  8058. },
  8059. {
  8060. "name": "is_del",
  8061. "type": "BIT_1",
  8062. "chnname": "是否删除",
  8063. "remark": "",
  8064. "pk": false,
  8065. "notNull": true,
  8066. "autoIncrement": false,
  8067. "defaultValue": ""
  8068. },
  8069. {
  8070. "name": "day_time_end",
  8071. "type": "DATETIME",
  8072. "chnname": "",
  8073. "remark": "",
  8074. "pk": false,
  8075. "notNull": false,
  8076. "autoIncrement": false,
  8077. "defaultValue": ""
  8078. },
  8079. {
  8080. "name": "day_time_start",
  8081. "type": "DATETIME",
  8082. "chnname": "",
  8083. "remark": "",
  8084. "pk": false,
  8085. "notNull": false,
  8086. "autoIncrement": false,
  8087. "defaultValue": ""
  8088. },
  8089. {
  8090. "name": "valid_time_end",
  8091. "type": "DATETIME",
  8092. "chnname": "",
  8093. "remark": "",
  8094. "pk": false,
  8095. "notNull": false,
  8096. "autoIncrement": false,
  8097. "defaultValue": ""
  8098. },
  8099. {
  8100. "name": "valid_time_start",
  8101. "type": "DATETIME",
  8102. "chnname": "",
  8103. "remark": "",
  8104. "pk": false,
  8105. "notNull": false,
  8106. "autoIncrement": false,
  8107. "defaultValue": ""
  8108. }
  8109. ]
  8110. },
  8111. {
  8112. "title": "yx_system_store_staff",
  8113. "chnname": "门店店员表",
  8114. "fields": [
  8115. {
  8116. "name": "id",
  8117. "type": "INT UNSIGNED_10",
  8118. "chnname": "",
  8119. "remark": "",
  8120. "pk": true,
  8121. "notNull": true,
  8122. "autoIncrement": true,
  8123. "defaultValue": ""
  8124. },
  8125. {
  8126. "name": "uid",
  8127. "type": "BIGINT UNSIGNED_20",
  8128. "chnname": "微信用户id",
  8129. "remark": "",
  8130. "pk": false,
  8131. "notNull": true,
  8132. "autoIncrement": false,
  8133. "defaultValue": ""
  8134. },
  8135. {
  8136. "name": "nickname",
  8137. "type": "VARCHAR_50",
  8138. "chnname": "",
  8139. "remark": "",
  8140. "pk": false,
  8141. "notNull": true,
  8142. "autoIncrement": false,
  8143. "defaultValue": ""
  8144. },
  8145. {
  8146. "name": "avatar",
  8147. "type": "VARCHAR_255",
  8148. "chnname": "店员头像",
  8149. "remark": "",
  8150. "pk": false,
  8151. "notNull": true,
  8152. "autoIncrement": false,
  8153. "defaultValue": ""
  8154. },
  8155. {
  8156. "name": "store_id",
  8157. "type": "INT_10",
  8158. "chnname": "门店id",
  8159. "remark": "",
  8160. "pk": false,
  8161. "notNull": true,
  8162. "autoIncrement": false,
  8163. "defaultValue": ""
  8164. },
  8165. {
  8166. "name": "store_name",
  8167. "type": "VARCHAR_50",
  8168. "chnname": "",
  8169. "remark": "",
  8170. "pk": false,
  8171. "notNull": false,
  8172. "autoIncrement": false,
  8173. "defaultValue": ""
  8174. },
  8175. {
  8176. "name": "staff_name",
  8177. "type": "VARCHAR_64",
  8178. "chnname": "店员名称",
  8179. "remark": "",
  8180. "pk": false,
  8181. "notNull": false,
  8182. "autoIncrement": false,
  8183. "defaultValue": ""
  8184. },
  8185. {
  8186. "name": "phone",
  8187. "type": "CHAR_15",
  8188. "chnname": "手机号码",
  8189. "remark": "",
  8190. "pk": false,
  8191. "notNull": false,
  8192. "autoIncrement": false,
  8193. "defaultValue": ""
  8194. },
  8195. {
  8196. "name": "verify_status",
  8197. "type": "TINYINT_3",
  8198. "chnname": "核销开关",
  8199. "remark": "",
  8200. "pk": false,
  8201. "notNull": true,
  8202. "autoIncrement": false,
  8203. "defaultValue": ""
  8204. },
  8205. {
  8206. "name": "status",
  8207. "type": "TINYINT_3",
  8208. "chnname": "状态",
  8209. "remark": "",
  8210. "pk": false,
  8211. "notNull": false,
  8212. "autoIncrement": false,
  8213. "defaultValue": ""
  8214. },
  8215. {
  8216. "name": "create_time",
  8217. "type": "DATETIME",
  8218. "chnname": "添加时间",
  8219. "remark": "",
  8220. "pk": false,
  8221. "notNull": false,
  8222. "autoIncrement": false,
  8223. "defaultValue": ""
  8224. },
  8225. {
  8226. "name": "update_time",
  8227. "type": "DATETIME",
  8228. "chnname": "",
  8229. "remark": "",
  8230. "pk": false,
  8231. "notNull": false,
  8232. "autoIncrement": false,
  8233. "defaultValue": ""
  8234. },
  8235. {
  8236. "name": "is_del",
  8237. "type": "BIT_1",
  8238. "chnname": "",
  8239. "remark": "",
  8240. "pk": false,
  8241. "notNull": false,
  8242. "autoIncrement": false,
  8243. "defaultValue": ""
  8244. }
  8245. ]
  8246. },
  8247. {
  8248. "title": "yx_system_user_level",
  8249. "chnname": "设置用户等级表",
  8250. "fields": [
  8251. {
  8252. "name": "id",
  8253. "type": "INT_10",
  8254. "chnname": "",
  8255. "remark": "",
  8256. "pk": true,
  8257. "notNull": true,
  8258. "autoIncrement": true,
  8259. "defaultValue": ""
  8260. },
  8261. {
  8262. "name": "mer_id",
  8263. "type": "INT_10",
  8264. "chnname": "商户id",
  8265. "remark": "",
  8266. "pk": false,
  8267. "notNull": true,
  8268. "autoIncrement": false,
  8269. "defaultValue": ""
  8270. },
  8271. {
  8272. "name": "name",
  8273. "type": "VARCHAR_255",
  8274. "chnname": "会员名称",
  8275. "remark": "",
  8276. "pk": false,
  8277. "notNull": true,
  8278. "autoIncrement": false,
  8279. "defaultValue": ""
  8280. },
  8281. {
  8282. "name": "money",
  8283. "type": "DECIMAL_8_2",
  8284. "chnname": "购买金额",
  8285. "remark": "",
  8286. "pk": false,
  8287. "notNull": true,
  8288. "autoIncrement": false,
  8289. "defaultValue": ""
  8290. },
  8291. {
  8292. "name": "valid_date",
  8293. "type": "INT_10",
  8294. "chnname": "有效时间",
  8295. "remark": "",
  8296. "pk": false,
  8297. "notNull": true,
  8298. "autoIncrement": false,
  8299. "defaultValue": ""
  8300. },
  8301. {
  8302. "name": "is_forever",
  8303. "type": "BIT_1",
  8304. "chnname": "是否为永久会员",
  8305. "remark": "",
  8306. "pk": false,
  8307. "notNull": true,
  8308. "autoIncrement": false,
  8309. "defaultValue": ""
  8310. },
  8311. {
  8312. "name": "is_pay",
  8313. "type": "BIT_1",
  8314. "chnname": "是否购买,1=购买,0=不购买",
  8315. "remark": "",
  8316. "pk": false,
  8317. "notNull": true,
  8318. "autoIncrement": false,
  8319. "defaultValue": ""
  8320. },
  8321. {
  8322. "name": "is_show",
  8323. "type": "BIT_1",
  8324. "chnname": "是否显示 1=显示,0=隐藏",
  8325. "remark": "",
  8326. "pk": false,
  8327. "notNull": true,
  8328. "autoIncrement": false,
  8329. "defaultValue": ""
  8330. },
  8331. {
  8332. "name": "grade",
  8333. "type": "INT_10",
  8334. "chnname": "会员等级",
  8335. "remark": "",
  8336. "pk": false,
  8337. "notNull": true,
  8338. "autoIncrement": false,
  8339. "defaultValue": ""
  8340. },
  8341. {
  8342. "name": "discount",
  8343. "type": "DECIMAL_8_2",
  8344. "chnname": "享受折扣",
  8345. "remark": "",
  8346. "pk": false,
  8347. "notNull": true,
  8348. "autoIncrement": false,
  8349. "defaultValue": ""
  8350. },
  8351. {
  8352. "name": "image",
  8353. "type": "VARCHAR_255",
  8354. "chnname": "会员卡背景",
  8355. "remark": "",
  8356. "pk": false,
  8357. "notNull": true,
  8358. "autoIncrement": false,
  8359. "defaultValue": ""
  8360. },
  8361. {
  8362. "name": "icon",
  8363. "type": "VARCHAR_255",
  8364. "chnname": "会员图标",
  8365. "remark": "",
  8366. "pk": false,
  8367. "notNull": true,
  8368. "autoIncrement": false,
  8369. "defaultValue": ""
  8370. },
  8371. {
  8372. "name": "explain",
  8373. "type": "TEXT",
  8374. "chnname": "说明",
  8375. "remark": "",
  8376. "pk": false,
  8377. "notNull": true,
  8378. "autoIncrement": false,
  8379. "defaultValue": ""
  8380. },
  8381. {
  8382. "name": "create_time",
  8383. "type": "DATETIME",
  8384. "chnname": "添加时间",
  8385. "remark": "",
  8386. "pk": false,
  8387. "notNull": true,
  8388. "autoIncrement": false,
  8389. "defaultValue": ""
  8390. },
  8391. {
  8392. "name": "update_time",
  8393. "type": "DATETIME",
  8394. "chnname": "",
  8395. "remark": "",
  8396. "pk": false,
  8397. "notNull": false,
  8398. "autoIncrement": false,
  8399. "defaultValue": ""
  8400. },
  8401. {
  8402. "name": "is_del",
  8403. "type": "BIT_1",
  8404. "chnname": "是否删除.1=删除,0=未删除",
  8405. "remark": "",
  8406. "pk": false,
  8407. "notNull": true,
  8408. "autoIncrement": false,
  8409. "defaultValue": ""
  8410. }
  8411. ]
  8412. },
  8413. {
  8414. "title": "yx_material",
  8415. "chnname": "素材库",
  8416. "fields": [
  8417. {
  8418. "name": "id",
  8419. "type": "VARCHAR_32",
  8420. "chnname": "PK",
  8421. "remark": "",
  8422. "pk": true,
  8423. "notNull": true,
  8424. "autoIncrement": false,
  8425. "defaultValue": ""
  8426. },
  8427. {
  8428. "name": "create_time",
  8429. "type": "DATETIME",
  8430. "chnname": "创建时间",
  8431. "remark": "",
  8432. "pk": false,
  8433. "notNull": true,
  8434. "autoIncrement": false,
  8435. "defaultValue": ""
  8436. },
  8437. {
  8438. "name": "create_id",
  8439. "type": "VARCHAR_100",
  8440. "chnname": "创建者ID",
  8441. "remark": "",
  8442. "pk": false,
  8443. "notNull": false,
  8444. "autoIncrement": false,
  8445. "defaultValue": ""
  8446. },
  8447. {
  8448. "name": "type",
  8449. "type": "CHAR_2",
  8450. "chnname": "类型1、图片;2、视频",
  8451. "remark": "",
  8452. "pk": false,
  8453. "notNull": true,
  8454. "autoIncrement": false,
  8455. "defaultValue": ""
  8456. },
  8457. {
  8458. "name": "group_id",
  8459. "type": "VARCHAR_32",
  8460. "chnname": "分组ID",
  8461. "remark": "",
  8462. "pk": false,
  8463. "notNull": false,
  8464. "autoIncrement": false,
  8465. "defaultValue": ""
  8466. },
  8467. {
  8468. "name": "name",
  8469. "type": "VARCHAR_200",
  8470. "chnname": "素材名",
  8471. "remark": "",
  8472. "pk": false,
  8473. "notNull": true,
  8474. "autoIncrement": false,
  8475. "defaultValue": ""
  8476. },
  8477. {
  8478. "name": "url",
  8479. "type": "VARCHAR_500",
  8480. "chnname": "素材链接",
  8481. "remark": "",
  8482. "pk": false,
  8483. "notNull": false,
  8484. "autoIncrement": false,
  8485. "defaultValue": ""
  8486. },
  8487. {
  8488. "name": "update_time",
  8489. "type": "DATETIME",
  8490. "chnname": "",
  8491. "remark": "",
  8492. "pk": false,
  8493. "notNull": false,
  8494. "autoIncrement": false,
  8495. "defaultValue": ""
  8496. },
  8497. {
  8498. "name": "is_del",
  8499. "type": "BIT_1",
  8500. "chnname": "",
  8501. "remark": "",
  8502. "pk": false,
  8503. "notNull": false,
  8504. "autoIncrement": false,
  8505. "defaultValue": ""
  8506. }
  8507. ]
  8508. }
  8509. ],
  8510. "graphCanvas": {
  8511. "nodes": [
  8512. {
  8513. "shape": "table",
  8514. "title": "yx_material",
  8515. "moduleName": false,
  8516. "x": 442.359375,
  8517. "y": 277,
  8518. "id": "fe721315"
  8519. },
  8520. {
  8521. "shape": "table",
  8522. "title": "yx_material_group",
  8523. "moduleName": false,
  8524. "x": 887.359375,
  8525. "y": 279,
  8526. "id": "f3be72cb"
  8527. },
  8528. {
  8529. "shape": "table",
  8530. "title": "yx_system_store",
  8531. "moduleName": false,
  8532. "x": 326.359375,
  8533. "y": 624,
  8534. "id": "396a35b0"
  8535. },
  8536. {
  8537. "shape": "table",
  8538. "title": "yx_system_store_staff",
  8539. "moduleName": false,
  8540. "x": 870,
  8541. "y": 590,
  8542. "id": "c3935d4a"
  8543. }
  8544. ],
  8545. "edges": [
  8546. {
  8547. "shape": "erdRelation",
  8548. "relation": "0,n:1",
  8549. "source": "fe721315",
  8550. "target": "f3be72cb",
  8551. "id": "e1f3d02d",
  8552. "controlPoints": [
  8553. {
  8554. "x": 623.05859375,
  8555. "y": 283.9775132275132
  8556. },
  8557. {
  8558. "x": 743.333984375,
  8559. "y": 241.25
  8560. }
  8561. ],
  8562. "sourceAnchor": 9,
  8563. "targetAnchor": 0
  8564. },
  8565. {
  8566. "shape": "erdRelation",
  8567. "relation": "0,n:1",
  8568. "source": "c3935d4a",
  8569. "target": "396a35b0",
  8570. "id": "5bfc667b",
  8571. "controlPoints": [
  8572. {
  8573. "x": 699.7900390625,
  8574. "y": 558.5457559681697
  8575. },
  8576. {
  8577. "x": 517.833984375,
  8578. "y": 456.0914634146342
  8579. }
  8580. ],
  8581. "sourceAnchor": 8,
  8582. "targetAnchor": 1
  8583. }
  8584. ]
  8585. },
  8586. "associations": [
  8587. {
  8588. "relation": "0,n:1",
  8589. "from": {
  8590. "entity": "yx_material",
  8591. "field": "group_id"
  8592. },
  8593. "to": {
  8594. "entity": "yx_material_group",
  8595. "field": "id"
  8596. }
  8597. },
  8598. {
  8599. "relation": "0,n:1",
  8600. "from": {
  8601. "entity": "yx_system_store_staff",
  8602. "field": "store_id"
  8603. },
  8604. "to": {
  8605. "entity": "yx_system_store",
  8606. "field": "id"
  8607. }
  8608. }
  8609. ]
  8610. },
  8611. {
  8612. "name": "template",
  8613. "chnname": "运费模板",
  8614. "entities": [
  8615. {
  8616. "title": "yx_shipping_templates",
  8617. "chnname": "运费模板表",
  8618. "fields": [
  8619. {
  8620. "name": "id",
  8621. "type": "INT UNSIGNED_10",
  8622. "chnname": "模板ID",
  8623. "remark": "",
  8624. "pk": true,
  8625. "notNull": true,
  8626. "autoIncrement": true,
  8627. "defaultValue": ""
  8628. },
  8629. {
  8630. "name": "name",
  8631. "type": "VARCHAR_255",
  8632. "chnname": "模板名称",
  8633. "remark": "",
  8634. "pk": false,
  8635. "notNull": false,
  8636. "autoIncrement": false,
  8637. "defaultValue": ""
  8638. },
  8639. {
  8640. "name": "type",
  8641. "type": "BIT_1",
  8642. "chnname": "计费方式",
  8643. "remark": "",
  8644. "pk": false,
  8645. "notNull": false,
  8646. "autoIncrement": false,
  8647. "defaultValue": ""
  8648. },
  8649. {
  8650. "name": "region_info",
  8651. "type": "TEXT",
  8652. "chnname": "地域以及费用",
  8653. "remark": "",
  8654. "pk": false,
  8655. "notNull": false,
  8656. "autoIncrement": false,
  8657. "defaultValue": ""
  8658. },
  8659. {
  8660. "name": "appoint",
  8661. "type": "BIT_1",
  8662. "chnname": "指定包邮开关",
  8663. "remark": "",
  8664. "pk": false,
  8665. "notNull": false,
  8666. "autoIncrement": false,
  8667. "defaultValue": ""
  8668. },
  8669. {
  8670. "name": "appoint_info",
  8671. "type": "TEXT",
  8672. "chnname": "指定包邮内容",
  8673. "remark": "",
  8674. "pk": false,
  8675. "notNull": false,
  8676. "autoIncrement": false,
  8677. "defaultValue": ""
  8678. },
  8679. {
  8680. "name": "create_time",
  8681. "type": "DATETIME",
  8682. "chnname": "添加时间",
  8683. "remark": "",
  8684. "pk": false,
  8685. "notNull": false,
  8686. "autoIncrement": false,
  8687. "defaultValue": ""
  8688. },
  8689. {
  8690. "name": "update_time",
  8691. "type": "DATETIME",
  8692. "chnname": "",
  8693. "remark": "",
  8694. "pk": false,
  8695. "notNull": false,
  8696. "autoIncrement": false,
  8697. "defaultValue": ""
  8698. },
  8699. {
  8700. "name": "is_del",
  8701. "type": "BIT_1",
  8702. "chnname": "",
  8703. "remark": "",
  8704. "pk": false,
  8705. "notNull": false,
  8706. "autoIncrement": false,
  8707. "defaultValue": ""
  8708. },
  8709. {
  8710. "name": "sort",
  8711. "type": "INT_10",
  8712. "chnname": "排序",
  8713. "remark": "",
  8714. "pk": false,
  8715. "notNull": false,
  8716. "autoIncrement": false,
  8717. "defaultValue": ""
  8718. }
  8719. ]
  8720. },
  8721. {
  8722. "title": "yx_shipping_templates_free",
  8723. "chnname": "",
  8724. "fields": [
  8725. {
  8726. "name": "id",
  8727. "type": "INT_10",
  8728. "chnname": "编号",
  8729. "remark": "",
  8730. "pk": true,
  8731. "notNull": true,
  8732. "autoIncrement": true,
  8733. "defaultValue": ""
  8734. },
  8735. {
  8736. "name": "province_id",
  8737. "type": "INT_10",
  8738. "chnname": "省ID",
  8739. "remark": "",
  8740. "pk": false,
  8741. "notNull": true,
  8742. "autoIncrement": false,
  8743. "defaultValue": ""
  8744. },
  8745. {
  8746. "name": "temp_id",
  8747. "type": "INT_10",
  8748. "chnname": "模板ID",
  8749. "remark": "",
  8750. "pk": false,
  8751. "notNull": true,
  8752. "autoIncrement": false,
  8753. "defaultValue": ""
  8754. },
  8755. {
  8756. "name": "city_id",
  8757. "type": "INT_10",
  8758. "chnname": "城市ID",
  8759. "remark": "",
  8760. "pk": false,
  8761. "notNull": true,
  8762. "autoIncrement": false,
  8763. "defaultValue": ""
  8764. },
  8765. {
  8766. "name": "number",
  8767. "type": "DECIMAL_10_2",
  8768. "chnname": "包邮件数",
  8769. "remark": "",
  8770. "pk": false,
  8771. "notNull": true,
  8772. "autoIncrement": false,
  8773. "defaultValue": ""
  8774. },
  8775. {
  8776. "name": "price",
  8777. "type": "DECIMAL_10_2",
  8778. "chnname": "包邮金额",
  8779. "remark": "",
  8780. "pk": false,
  8781. "notNull": true,
  8782. "autoIncrement": false,
  8783. "defaultValue": ""
  8784. },
  8785. {
  8786. "name": "type",
  8787. "type": "BIT_1",
  8788. "chnname": "计费方式",
  8789. "remark": "",
  8790. "pk": false,
  8791. "notNull": true,
  8792. "autoIncrement": false,
  8793. "defaultValue": ""
  8794. },
  8795. {
  8796. "name": "uniqid",
  8797. "type": "VARCHAR_32",
  8798. "chnname": "分组唯一值",
  8799. "remark": "",
  8800. "pk": false,
  8801. "notNull": true,
  8802. "autoIncrement": false,
  8803. "defaultValue": ""
  8804. }
  8805. ]
  8806. },
  8807. {
  8808. "title": "yx_system_city",
  8809. "chnname": "城市表",
  8810. "fields": [
  8811. {
  8812. "name": "id",
  8813. "type": "INT_10",
  8814. "chnname": "",
  8815. "remark": "",
  8816. "pk": true,
  8817. "notNull": true,
  8818. "autoIncrement": true,
  8819. "defaultValue": ""
  8820. },
  8821. {
  8822. "name": "city_id",
  8823. "type": "INT_10",
  8824. "chnname": "城市id",
  8825. "remark": "",
  8826. "pk": false,
  8827. "notNull": true,
  8828. "autoIncrement": false,
  8829. "defaultValue": ""
  8830. },
  8831. {
  8832. "name": "level",
  8833. "type": "INT_10",
  8834. "chnname": "省市级别",
  8835. "remark": "",
  8836. "pk": false,
  8837. "notNull": true,
  8838. "autoIncrement": false,
  8839. "defaultValue": ""
  8840. },
  8841. {
  8842. "name": "parent_id",
  8843. "type": "INT_10",
  8844. "chnname": "父级id",
  8845. "remark": "",
  8846. "pk": false,
  8847. "notNull": true,
  8848. "autoIncrement": false,
  8849. "defaultValue": ""
  8850. },
  8851. {
  8852. "name": "area_code",
  8853. "type": "VARCHAR_30",
  8854. "chnname": "区号",
  8855. "remark": "",
  8856. "pk": false,
  8857. "notNull": true,
  8858. "autoIncrement": false,
  8859. "defaultValue": ""
  8860. },
  8861. {
  8862. "name": "name",
  8863. "type": "VARCHAR_100",
  8864. "chnname": "名称",
  8865. "remark": "",
  8866. "pk": false,
  8867. "notNull": true,
  8868. "autoIncrement": false,
  8869. "defaultValue": ""
  8870. },
  8871. {
  8872. "name": "merger_name",
  8873. "type": "VARCHAR_255",
  8874. "chnname": "合并名称",
  8875. "remark": "",
  8876. "pk": false,
  8877. "notNull": true,
  8878. "autoIncrement": false,
  8879. "defaultValue": ""
  8880. },
  8881. {
  8882. "name": "lng",
  8883. "type": "VARCHAR_50",
  8884. "chnname": "经度",
  8885. "remark": "",
  8886. "pk": false,
  8887. "notNull": true,
  8888. "autoIncrement": false,
  8889. "defaultValue": ""
  8890. },
  8891. {
  8892. "name": "lat",
  8893. "type": "VARCHAR_50",
  8894. "chnname": "纬度",
  8895. "remark": "",
  8896. "pk": false,
  8897. "notNull": true,
  8898. "autoIncrement": false,
  8899. "defaultValue": ""
  8900. },
  8901. {
  8902. "name": "is_show",
  8903. "type": "BIT_1",
  8904. "chnname": "是否展示",
  8905. "remark": "",
  8906. "pk": false,
  8907. "notNull": true,
  8908. "autoIncrement": false,
  8909. "defaultValue": ""
  8910. }
  8911. ]
  8912. },
  8913. {
  8914. "title": "yx_shipping_templates_region",
  8915. "chnname": "",
  8916. "fields": [
  8917. {
  8918. "name": "id",
  8919. "type": "INT_10",
  8920. "chnname": "编号",
  8921. "remark": "",
  8922. "pk": true,
  8923. "notNull": true,
  8924. "autoIncrement": true,
  8925. "defaultValue": ""
  8926. },
  8927. {
  8928. "name": "province_id",
  8929. "type": "INT_10",
  8930. "chnname": "省ID",
  8931. "remark": "",
  8932. "pk": false,
  8933. "notNull": true,
  8934. "autoIncrement": false,
  8935. "defaultValue": ""
  8936. },
  8937. {
  8938. "name": "temp_id",
  8939. "type": "INT_10",
  8940. "chnname": "模板ID",
  8941. "remark": "",
  8942. "pk": false,
  8943. "notNull": true,
  8944. "autoIncrement": false,
  8945. "defaultValue": ""
  8946. },
  8947. {
  8948. "name": "city_id",
  8949. "type": "INT_10",
  8950. "chnname": "城市ID",
  8951. "remark": "",
  8952. "pk": false,
  8953. "notNull": true,
  8954. "autoIncrement": false,
  8955. "defaultValue": ""
  8956. },
  8957. {
  8958. "name": "first",
  8959. "type": "DECIMAL_10_2",
  8960. "chnname": "首件",
  8961. "remark": "",
  8962. "pk": false,
  8963. "notNull": true,
  8964. "autoIncrement": false,
  8965. "defaultValue": ""
  8966. },
  8967. {
  8968. "name": "first_price",
  8969. "type": "DECIMAL_10_2",
  8970. "chnname": "首件运费",
  8971. "remark": "",
  8972. "pk": false,
  8973. "notNull": true,
  8974. "autoIncrement": false,
  8975. "defaultValue": ""
  8976. },
  8977. {
  8978. "name": "continues",
  8979. "type": "DECIMAL_10_2",
  8980. "chnname": "续件",
  8981. "remark": "",
  8982. "pk": false,
  8983. "notNull": true,
  8984. "autoIncrement": false,
  8985. "defaultValue": ""
  8986. },
  8987. {
  8988. "name": "continue_price",
  8989. "type": "DECIMAL_10_2",
  8990. "chnname": "续件运费",
  8991. "remark": "",
  8992. "pk": false,
  8993. "notNull": true,
  8994. "autoIncrement": false,
  8995. "defaultValue": ""
  8996. },
  8997. {
  8998. "name": "type",
  8999. "type": "BIT_1",
  9000. "chnname": "计费方式",
  9001. "remark": "",
  9002. "pk": false,
  9003. "notNull": true,
  9004. "autoIncrement": false,
  9005. "defaultValue": ""
  9006. },
  9007. {
  9008. "name": "uniqid",
  9009. "type": "VARCHAR_50",
  9010. "chnname": "分组唯一值",
  9011. "remark": "",
  9012. "pk": false,
  9013. "notNull": true,
  9014. "autoIncrement": false,
  9015. "defaultValue": ""
  9016. }
  9017. ]
  9018. }
  9019. ],
  9020. "graphCanvas": {
  9021. "nodes": [
  9022. {
  9023. "shape": "table",
  9024. "title": "yx_shipping_templates",
  9025. "moduleName": false,
  9026. "x": 680,
  9027. "y": 380,
  9028. "id": "c8177992"
  9029. },
  9030. {
  9031. "shape": "table",
  9032. "title": "yx_system_city",
  9033. "moduleName": false,
  9034. "x": 290,
  9035. "y": 260,
  9036. "id": "f3f8204a"
  9037. },
  9038. {
  9039. "shape": "table",
  9040. "title": "yx_shipping_templates_free",
  9041. "moduleName": false,
  9042. "x": 1080,
  9043. "y": 190,
  9044. "id": "ac873dd5"
  9045. },
  9046. {
  9047. "shape": "table",
  9048. "title": "yx_shipping_templates_region",
  9049. "moduleName": false,
  9050. "x": 1080,
  9051. "y": 540,
  9052. "id": "7ca63a1e"
  9053. }
  9054. ],
  9055. "edges": []
  9056. },
  9057. "associations": []
  9058. },
  9059. {
  9060. "name": "user",
  9061. "chnname": "用户模块",
  9062. "entities": [
  9063. {
  9064. "title": "yx_user_bill",
  9065. "chnname": "用户账单表",
  9066. "fields": [
  9067. {
  9068. "name": "id",
  9069. "type": "BIGINT UNSIGNED_20",
  9070. "chnname": "用户账单id",
  9071. "remark": "",
  9072. "pk": true,
  9073. "notNull": true,
  9074. "autoIncrement": true,
  9075. "defaultValue": ""
  9076. },
  9077. {
  9078. "name": "uid",
  9079. "type": "BIGINT UNSIGNED_20",
  9080. "chnname": "用户uid",
  9081. "remark": "",
  9082. "pk": false,
  9083. "notNull": true,
  9084. "autoIncrement": false,
  9085. "defaultValue": ""
  9086. },
  9087. {
  9088. "name": "link_id",
  9089. "type": "VARCHAR_32",
  9090. "chnname": "关联id",
  9091. "remark": "",
  9092. "pk": false,
  9093. "notNull": true,
  9094. "autoIncrement": false,
  9095. "defaultValue": ""
  9096. },
  9097. {
  9098. "name": "pm",
  9099. "type": "TINYINT UNSIGNED_1",
  9100. "chnname": "0 = 支出 1 = 获得",
  9101. "remark": "",
  9102. "pk": false,
  9103. "notNull": true,
  9104. "autoIncrement": false,
  9105. "defaultValue": ""
  9106. },
  9107. {
  9108. "name": "title",
  9109. "type": "VARCHAR_64",
  9110. "chnname": "账单标题",
  9111. "remark": "",
  9112. "pk": false,
  9113. "notNull": true,
  9114. "autoIncrement": false,
  9115. "defaultValue": ""
  9116. },
  9117. {
  9118. "name": "category",
  9119. "type": "VARCHAR_64",
  9120. "chnname": "明细种类",
  9121. "remark": "",
  9122. "pk": false,
  9123. "notNull": true,
  9124. "autoIncrement": false,
  9125. "defaultValue": ""
  9126. },
  9127. {
  9128. "name": "type",
  9129. "type": "VARCHAR_64",
  9130. "chnname": "明细类型",
  9131. "remark": "",
  9132. "pk": false,
  9133. "notNull": true,
  9134. "autoIncrement": false,
  9135. "defaultValue": ""
  9136. },
  9137. {
  9138. "name": "number",
  9139. "type": "DECIMAL UNSIGNED_8_2",
  9140. "chnname": "明细数字",
  9141. "remark": "",
  9142. "pk": false,
  9143. "notNull": true,
  9144. "autoIncrement": false,
  9145. "defaultValue": ""
  9146. },
  9147. {
  9148. "name": "balance",
  9149. "type": "DECIMAL UNSIGNED_8_2",
  9150. "chnname": "剩余",
  9151. "remark": "",
  9152. "pk": false,
  9153. "notNull": true,
  9154. "autoIncrement": false,
  9155. "defaultValue": ""
  9156. },
  9157. {
  9158. "name": "mark",
  9159. "type": "VARCHAR_512",
  9160. "chnname": "备注",
  9161. "remark": "",
  9162. "pk": false,
  9163. "notNull": true,
  9164. "autoIncrement": false,
  9165. "defaultValue": ""
  9166. },
  9167. {
  9168. "name": "create_time",
  9169. "type": "DATETIME",
  9170. "chnname": "添加时间",
  9171. "remark": "",
  9172. "pk": false,
  9173. "notNull": true,
  9174. "autoIncrement": false,
  9175. "defaultValue": ""
  9176. },
  9177. {
  9178. "name": "update_time",
  9179. "type": "DATETIME",
  9180. "chnname": "",
  9181. "remark": "",
  9182. "pk": false,
  9183. "notNull": false,
  9184. "autoIncrement": false,
  9185. "defaultValue": ""
  9186. },
  9187. {
  9188. "name": "status",
  9189. "type": "BIT_1",
  9190. "chnname": "0 = 带确定 1 = 有效 -1 = 无效",
  9191. "remark": "",
  9192. "pk": false,
  9193. "notNull": true,
  9194. "autoIncrement": false,
  9195. "defaultValue": ""
  9196. },
  9197. {
  9198. "name": "is_del",
  9199. "type": "BIT_1",
  9200. "chnname": "",
  9201. "remark": "",
  9202. "pk": false,
  9203. "notNull": false,
  9204. "autoIncrement": false,
  9205. "defaultValue": ""
  9206. }
  9207. ]
  9208. },
  9209. {
  9210. "title": "yx_user_level",
  9211. "chnname": "用户等级记录表",
  9212. "fields": [
  9213. {
  9214. "name": "id",
  9215. "type": "INT_10",
  9216. "chnname": "",
  9217. "remark": "",
  9218. "pk": true,
  9219. "notNull": true,
  9220. "autoIncrement": true,
  9221. "defaultValue": ""
  9222. },
  9223. {
  9224. "name": "uid",
  9225. "type": "BIGINT_19",
  9226. "chnname": "用户uid",
  9227. "remark": "",
  9228. "pk": false,
  9229. "notNull": true,
  9230. "autoIncrement": false,
  9231. "defaultValue": ""
  9232. },
  9233. {
  9234. "name": "level_id",
  9235. "type": "INT_10",
  9236. "chnname": "等级vip",
  9237. "remark": "",
  9238. "pk": false,
  9239. "notNull": true,
  9240. "autoIncrement": false,
  9241. "defaultValue": ""
  9242. },
  9243. {
  9244. "name": "grade",
  9245. "type": "INT_10",
  9246. "chnname": "会员等级",
  9247. "remark": "",
  9248. "pk": false,
  9249. "notNull": true,
  9250. "autoIncrement": false,
  9251. "defaultValue": ""
  9252. },
  9253. {
  9254. "name": "valid_time",
  9255. "type": "INT_10",
  9256. "chnname": "过期时间",
  9257. "remark": "",
  9258. "pk": false,
  9259. "notNull": true,
  9260. "autoIncrement": false,
  9261. "defaultValue": ""
  9262. },
  9263. {
  9264. "name": "is_forever",
  9265. "type": "BIT_1",
  9266. "chnname": "是否永久",
  9267. "remark": "",
  9268. "pk": false,
  9269. "notNull": true,
  9270. "autoIncrement": false,
  9271. "defaultValue": ""
  9272. },
  9273. {
  9274. "name": "mer_id",
  9275. "type": "INT_10",
  9276. "chnname": "商户id",
  9277. "remark": "",
  9278. "pk": false,
  9279. "notNull": true,
  9280. "autoIncrement": false,
  9281. "defaultValue": ""
  9282. },
  9283. {
  9284. "name": "status",
  9285. "type": "BIT_1",
  9286. "chnname": "0:禁止,1:正常",
  9287. "remark": "",
  9288. "pk": false,
  9289. "notNull": true,
  9290. "autoIncrement": false,
  9291. "defaultValue": ""
  9292. },
  9293. {
  9294. "name": "mark",
  9295. "type": "VARCHAR_255",
  9296. "chnname": "备注",
  9297. "remark": "",
  9298. "pk": false,
  9299. "notNull": true,
  9300. "autoIncrement": false,
  9301. "defaultValue": ""
  9302. },
  9303. {
  9304. "name": "remind",
  9305. "type": "BIT_1",
  9306. "chnname": "是否已通知",
  9307. "remark": "",
  9308. "pk": false,
  9309. "notNull": true,
  9310. "autoIncrement": false,
  9311. "defaultValue": ""
  9312. },
  9313. {
  9314. "name": "is_del",
  9315. "type": "BIT_1",
  9316. "chnname": "是否删除,0=未删除,1=删除",
  9317. "remark": "",
  9318. "pk": false,
  9319. "notNull": true,
  9320. "autoIncrement": false,
  9321. "defaultValue": ""
  9322. },
  9323. {
  9324. "name": "create_time",
  9325. "type": "DATETIME",
  9326. "chnname": "添加时间",
  9327. "remark": "",
  9328. "pk": false,
  9329. "notNull": true,
  9330. "autoIncrement": false,
  9331. "defaultValue": ""
  9332. },
  9333. {
  9334. "name": "update_time",
  9335. "type": "DATETIME",
  9336. "chnname": "",
  9337. "remark": "",
  9338. "pk": false,
  9339. "notNull": false,
  9340. "autoIncrement": false,
  9341. "defaultValue": ""
  9342. },
  9343. {
  9344. "name": "discount",
  9345. "type": "INT_10",
  9346. "chnname": "享受折扣",
  9347. "remark": "",
  9348. "pk": false,
  9349. "notNull": true,
  9350. "autoIncrement": false,
  9351. "defaultValue": ""
  9352. }
  9353. ]
  9354. },
  9355. {
  9356. "title": "yx_user_task_finish",
  9357. "chnname": "用户任务完成记录表",
  9358. "fields": [
  9359. {
  9360. "name": "id",
  9361. "type": "INT_10",
  9362. "chnname": "",
  9363. "remark": "",
  9364. "pk": true,
  9365. "notNull": true,
  9366. "autoIncrement": true,
  9367. "defaultValue": ""
  9368. },
  9369. {
  9370. "name": "task_id",
  9371. "type": "INT_10",
  9372. "chnname": "任务id",
  9373. "remark": "",
  9374. "pk": false,
  9375. "notNull": true,
  9376. "autoIncrement": false,
  9377. "defaultValue": ""
  9378. },
  9379. {
  9380. "name": "uid",
  9381. "type": "BIGINT_19",
  9382. "chnname": "用户id",
  9383. "remark": "",
  9384. "pk": false,
  9385. "notNull": true,
  9386. "autoIncrement": false,
  9387. "defaultValue": ""
  9388. },
  9389. {
  9390. "name": "status",
  9391. "type": "BIT_1",
  9392. "chnname": "是否有效",
  9393. "remark": "",
  9394. "pk": false,
  9395. "notNull": true,
  9396. "autoIncrement": false,
  9397. "defaultValue": ""
  9398. },
  9399. {
  9400. "name": "create_time",
  9401. "type": "DATETIME",
  9402. "chnname": "添加时间",
  9403. "remark": "",
  9404. "pk": false,
  9405. "notNull": true,
  9406. "autoIncrement": false,
  9407. "defaultValue": ""
  9408. },
  9409. {
  9410. "name": "update_time",
  9411. "type": "DATETIME",
  9412. "chnname": "",
  9413. "remark": "",
  9414. "pk": false,
  9415. "notNull": false,
  9416. "autoIncrement": false,
  9417. "defaultValue": ""
  9418. },
  9419. {
  9420. "name": "is_del",
  9421. "type": "BIT_1",
  9422. "chnname": "",
  9423. "remark": "",
  9424. "pk": false,
  9425. "notNull": false,
  9426. "autoIncrement": false,
  9427. "defaultValue": ""
  9428. }
  9429. ]
  9430. },
  9431. {
  9432. "title": "yx_user_sign",
  9433. "chnname": "签到记录表",
  9434. "fields": [
  9435. {
  9436. "name": "int",
  9437. "type": "BIGINT_19",
  9438. "chnname": "",
  9439. "remark": "",
  9440. "pk": true,
  9441. "notNull": true,
  9442. "autoIncrement": true,
  9443. "defaultValue": ""
  9444. },
  9445. {
  9446. "name": "uid",
  9447. "type": "BIGINT_19",
  9448. "chnname": "用户uid",
  9449. "remark": "",
  9450. "pk": false,
  9451. "notNull": true,
  9452. "autoIncrement": false,
  9453. "defaultValue": ""
  9454. },
  9455. {
  9456. "name": "title",
  9457. "type": "VARCHAR_255",
  9458. "chnname": "签到说明",
  9459. "remark": "",
  9460. "pk": false,
  9461. "notNull": true,
  9462. "autoIncrement": false,
  9463. "defaultValue": ""
  9464. },
  9465. {
  9466. "name": "number",
  9467. "type": "INT_10",
  9468. "chnname": "获得积分",
  9469. "remark": "",
  9470. "pk": false,
  9471. "notNull": true,
  9472. "autoIncrement": false,
  9473. "defaultValue": ""
  9474. },
  9475. {
  9476. "name": "balance",
  9477. "type": "INT_10",
  9478. "chnname": "剩余积分",
  9479. "remark": "",
  9480. "pk": false,
  9481. "notNull": true,
  9482. "autoIncrement": false,
  9483. "defaultValue": ""
  9484. },
  9485. {
  9486. "name": "create_time",
  9487. "type": "DATETIME",
  9488. "chnname": "添加时间",
  9489. "remark": "",
  9490. "pk": false,
  9491. "notNull": true,
  9492. "autoIncrement": false,
  9493. "defaultValue": ""
  9494. },
  9495. {
  9496. "name": "update_time",
  9497. "type": "DATETIME",
  9498. "chnname": "",
  9499. "remark": "",
  9500. "pk": false,
  9501. "notNull": false,
  9502. "autoIncrement": false,
  9503. "defaultValue": ""
  9504. },
  9505. {
  9506. "name": "is_del",
  9507. "type": "BIT_1",
  9508. "chnname": "",
  9509. "remark": "",
  9510. "pk": false,
  9511. "notNull": false,
  9512. "autoIncrement": false,
  9513. "defaultValue": ""
  9514. }
  9515. ]
  9516. },
  9517. {
  9518. "title": "yx_user_recharge",
  9519. "chnname": "用户充值表",
  9520. "fields": [
  9521. {
  9522. "name": "id",
  9523. "type": "BIGINT UNSIGNED_20",
  9524. "chnname": "",
  9525. "remark": "",
  9526. "pk": true,
  9527. "notNull": true,
  9528. "autoIncrement": true,
  9529. "defaultValue": ""
  9530. },
  9531. {
  9532. "name": "uid",
  9533. "type": "BIGINT_19",
  9534. "chnname": "充值用户UID",
  9535. "remark": "",
  9536. "pk": false,
  9537. "notNull": false,
  9538. "autoIncrement": false,
  9539. "defaultValue": ""
  9540. },
  9541. {
  9542. "name": "nickname",
  9543. "type": "VARCHAR_50",
  9544. "chnname": "",
  9545. "remark": "",
  9546. "pk": false,
  9547. "notNull": false,
  9548. "autoIncrement": false,
  9549. "defaultValue": ""
  9550. },
  9551. {
  9552. "name": "order_id",
  9553. "type": "VARCHAR_32",
  9554. "chnname": "订单号",
  9555. "remark": "",
  9556. "pk": false,
  9557. "notNull": false,
  9558. "autoIncrement": false,
  9559. "defaultValue": ""
  9560. },
  9561. {
  9562. "name": "price",
  9563. "type": "DECIMAL_8_2",
  9564. "chnname": "充值金额",
  9565. "remark": "",
  9566. "pk": false,
  9567. "notNull": false,
  9568. "autoIncrement": false,
  9569. "defaultValue": ""
  9570. },
  9571. {
  9572. "name": "give_price",
  9573. "type": "DECIMAL_8_2",
  9574. "chnname": "购买赠送金额",
  9575. "remark": "",
  9576. "pk": false,
  9577. "notNull": false,
  9578. "autoIncrement": false,
  9579. "defaultValue": ""
  9580. },
  9581. {
  9582. "name": "recharge_type",
  9583. "type": "VARCHAR_32",
  9584. "chnname": "充值类型",
  9585. "remark": "",
  9586. "pk": false,
  9587. "notNull": false,
  9588. "autoIncrement": false,
  9589. "defaultValue": ""
  9590. },
  9591. {
  9592. "name": "paid",
  9593. "type": "BIT_1",
  9594. "chnname": "是否充值",
  9595. "remark": "",
  9596. "pk": false,
  9597. "notNull": false,
  9598. "autoIncrement": false,
  9599. "defaultValue": ""
  9600. },
  9601. {
  9602. "name": "pay_time",
  9603. "type": "DATETIME",
  9604. "chnname": "充值支付时间",
  9605. "remark": "",
  9606. "pk": false,
  9607. "notNull": false,
  9608. "autoIncrement": false,
  9609. "defaultValue": ""
  9610. },
  9611. {
  9612. "name": "create_time",
  9613. "type": "DATETIME",
  9614. "chnname": "充值时间",
  9615. "remark": "",
  9616. "pk": false,
  9617. "notNull": false,
  9618. "autoIncrement": false,
  9619. "defaultValue": ""
  9620. },
  9621. {
  9622. "name": "update_time",
  9623. "type": "DATETIME",
  9624. "chnname": "",
  9625. "remark": "",
  9626. "pk": false,
  9627. "notNull": false,
  9628. "autoIncrement": false,
  9629. "defaultValue": ""
  9630. },
  9631. {
  9632. "name": "refund_price",
  9633. "type": "DECIMAL_10_2",
  9634. "chnname": "退款金额",
  9635. "remark": "",
  9636. "pk": false,
  9637. "notNull": false,
  9638. "autoIncrement": false,
  9639. "defaultValue": ""
  9640. },
  9641. {
  9642. "name": "is_del",
  9643. "type": "TINYINT_3",
  9644. "chnname": "",
  9645. "remark": "",
  9646. "pk": false,
  9647. "notNull": false,
  9648. "autoIncrement": false,
  9649. "defaultValue": ""
  9650. }
  9651. ]
  9652. },
  9653. {
  9654. "title": "yx_user_address",
  9655. "chnname": "用户地址表",
  9656. "fields": [
  9657. {
  9658. "name": "id",
  9659. "type": "BIGINT UNSIGNED_20",
  9660. "chnname": "用户地址id",
  9661. "remark": "",
  9662. "pk": true,
  9663. "notNull": true,
  9664. "autoIncrement": true,
  9665. "defaultValue": ""
  9666. },
  9667. {
  9668. "name": "uid",
  9669. "type": "BIGINT UNSIGNED_20",
  9670. "chnname": "用户id",
  9671. "remark": "",
  9672. "pk": false,
  9673. "notNull": true,
  9674. "autoIncrement": false,
  9675. "defaultValue": ""
  9676. },
  9677. {
  9678. "name": "real_name",
  9679. "type": "VARCHAR_32",
  9680. "chnname": "收货人姓名",
  9681. "remark": "",
  9682. "pk": false,
  9683. "notNull": true,
  9684. "autoIncrement": false,
  9685. "defaultValue": ""
  9686. },
  9687. {
  9688. "name": "phone",
  9689. "type": "VARCHAR_16",
  9690. "chnname": "收货人电话",
  9691. "remark": "",
  9692. "pk": false,
  9693. "notNull": true,
  9694. "autoIncrement": false,
  9695. "defaultValue": ""
  9696. },
  9697. {
  9698. "name": "province",
  9699. "type": "VARCHAR_64",
  9700. "chnname": "收货人所在省",
  9701. "remark": "",
  9702. "pk": false,
  9703. "notNull": true,
  9704. "autoIncrement": false,
  9705. "defaultValue": ""
  9706. },
  9707. {
  9708. "name": "city",
  9709. "type": "VARCHAR_64",
  9710. "chnname": "收货人所在市",
  9711. "remark": "",
  9712. "pk": false,
  9713. "notNull": true,
  9714. "autoIncrement": false,
  9715. "defaultValue": ""
  9716. },
  9717. {
  9718. "name": "city_id",
  9719. "type": "INT_10",
  9720. "chnname": "",
  9721. "remark": "",
  9722. "pk": false,
  9723. "notNull": false,
  9724. "autoIncrement": false,
  9725. "defaultValue": ""
  9726. },
  9727. {
  9728. "name": "district",
  9729. "type": "VARCHAR_64",
  9730. "chnname": "收货人所在区",
  9731. "remark": "",
  9732. "pk": false,
  9733. "notNull": true,
  9734. "autoIncrement": false,
  9735. "defaultValue": ""
  9736. },
  9737. {
  9738. "name": "detail",
  9739. "type": "VARCHAR_256",
  9740. "chnname": "收货人详细地址",
  9741. "remark": "",
  9742. "pk": false,
  9743. "notNull": true,
  9744. "autoIncrement": false,
  9745. "defaultValue": ""
  9746. },
  9747. {
  9748. "name": "post_code",
  9749. "type": "VARCHAR_20",
  9750. "chnname": "邮编",
  9751. "remark": "",
  9752. "pk": false,
  9753. "notNull": true,
  9754. "autoIncrement": false,
  9755. "defaultValue": ""
  9756. },
  9757. {
  9758. "name": "longitude",
  9759. "type": "VARCHAR_16",
  9760. "chnname": "经度",
  9761. "remark": "",
  9762. "pk": false,
  9763. "notNull": true,
  9764. "autoIncrement": false,
  9765. "defaultValue": ""
  9766. },
  9767. {
  9768. "name": "latitude",
  9769. "type": "VARCHAR_16",
  9770. "chnname": "纬度",
  9771. "remark": "",
  9772. "pk": false,
  9773. "notNull": true,
  9774. "autoIncrement": false,
  9775. "defaultValue": ""
  9776. },
  9777. {
  9778. "name": "is_default",
  9779. "type": "TINYINT UNSIGNED_1",
  9780. "chnname": "是否默认",
  9781. "remark": "",
  9782. "pk": false,
  9783. "notNull": true,
  9784. "autoIncrement": false,
  9785. "defaultValue": ""
  9786. },
  9787. {
  9788. "name": "is_del",
  9789. "type": "TINYINT UNSIGNED_1",
  9790. "chnname": "是否删除",
  9791. "remark": "",
  9792. "pk": false,
  9793. "notNull": true,
  9794. "autoIncrement": false,
  9795. "defaultValue": ""
  9796. },
  9797. {
  9798. "name": "create_time",
  9799. "type": "DATETIME",
  9800. "chnname": "添加时间",
  9801. "remark": "",
  9802. "pk": false,
  9803. "notNull": true,
  9804. "autoIncrement": false,
  9805. "defaultValue": ""
  9806. },
  9807. {
  9808. "name": "update_time",
  9809. "type": "DATETIME",
  9810. "chnname": "",
  9811. "remark": "",
  9812. "pk": false,
  9813. "notNull": false,
  9814. "autoIncrement": false,
  9815. "defaultValue": ""
  9816. }
  9817. ]
  9818. },
  9819. {
  9820. "title": "yx_user_group",
  9821. "chnname": "用户分组表",
  9822. "fields": [
  9823. {
  9824. "name": "id",
  9825. "type": "SMALLINT UNSIGNED_5",
  9826. "chnname": "",
  9827. "remark": "",
  9828. "pk": true,
  9829. "notNull": true,
  9830. "autoIncrement": true,
  9831. "defaultValue": ""
  9832. },
  9833. {
  9834. "name": "group_name",
  9835. "type": "VARCHAR_64",
  9836. "chnname": "用户分组名称",
  9837. "remark": "",
  9838. "pk": false,
  9839. "notNull": false,
  9840. "autoIncrement": false,
  9841. "defaultValue": ""
  9842. }
  9843. ]
  9844. },
  9845. {
  9846. "title": "yx_user_extract",
  9847. "chnname": "用户提现表",
  9848. "fields": [
  9849. {
  9850. "name": "id",
  9851. "type": "BIGINT UNSIGNED_20",
  9852. "chnname": "",
  9853. "remark": "",
  9854. "pk": true,
  9855. "notNull": true,
  9856. "autoIncrement": true,
  9857. "defaultValue": ""
  9858. },
  9859. {
  9860. "name": "uid",
  9861. "type": "BIGINT UNSIGNED_20",
  9862. "chnname": "",
  9863. "remark": "",
  9864. "pk": false,
  9865. "notNull": false,
  9866. "autoIncrement": false,
  9867. "defaultValue": ""
  9868. },
  9869. {
  9870. "name": "real_name",
  9871. "type": "VARCHAR_64",
  9872. "chnname": "名称",
  9873. "remark": "",
  9874. "pk": false,
  9875. "notNull": false,
  9876. "autoIncrement": false,
  9877. "defaultValue": ""
  9878. },
  9879. {
  9880. "name": "extract_type",
  9881. "type": "VARCHAR_32",
  9882. "chnname": "bank = 银行卡 alipay = 支付宝wx=微信",
  9883. "remark": "",
  9884. "pk": false,
  9885. "notNull": false,
  9886. "autoIncrement": false,
  9887. "defaultValue": ""
  9888. },
  9889. {
  9890. "name": "bank_code",
  9891. "type": "VARCHAR_32",
  9892. "chnname": "银行卡",
  9893. "remark": "",
  9894. "pk": false,
  9895. "notNull": false,
  9896. "autoIncrement": false,
  9897. "defaultValue": ""
  9898. },
  9899. {
  9900. "name": "bank_address",
  9901. "type": "VARCHAR_256",
  9902. "chnname": "开户地址",
  9903. "remark": "",
  9904. "pk": false,
  9905. "notNull": false,
  9906. "autoIncrement": false,
  9907. "defaultValue": ""
  9908. },
  9909. {
  9910. "name": "alipay_code",
  9911. "type": "VARCHAR_64",
  9912. "chnname": "支付宝账号",
  9913. "remark": "",
  9914. "pk": false,
  9915. "notNull": false,
  9916. "autoIncrement": false,
  9917. "defaultValue": ""
  9918. },
  9919. {
  9920. "name": "extract_price",
  9921. "type": "DECIMAL UNSIGNED_8_2",
  9922. "chnname": "提现金额",
  9923. "remark": "",
  9924. "pk": false,
  9925. "notNull": false,
  9926. "autoIncrement": false,
  9927. "defaultValue": ""
  9928. },
  9929. {
  9930. "name": "mark",
  9931. "type": "VARCHAR_512",
  9932. "chnname": "",
  9933. "remark": "",
  9934. "pk": false,
  9935. "notNull": false,
  9936. "autoIncrement": false,
  9937. "defaultValue": ""
  9938. },
  9939. {
  9940. "name": "balance",
  9941. "type": "DECIMAL UNSIGNED_8_2",
  9942. "chnname": "",
  9943. "remark": "",
  9944. "pk": false,
  9945. "notNull": false,
  9946. "autoIncrement": false,
  9947. "defaultValue": ""
  9948. },
  9949. {
  9950. "name": "fail_msg",
  9951. "type": "VARCHAR_128",
  9952. "chnname": "无效原因",
  9953. "remark": "",
  9954. "pk": false,
  9955. "notNull": false,
  9956. "autoIncrement": false,
  9957. "defaultValue": ""
  9958. },
  9959. {
  9960. "name": "fail_time",
  9961. "type": "DATETIME",
  9962. "chnname": "",
  9963. "remark": "",
  9964. "pk": false,
  9965. "notNull": false,
  9966. "autoIncrement": false,
  9967. "defaultValue": ""
  9968. },
  9969. {
  9970. "name": "create_time",
  9971. "type": "DATETIME",
  9972. "chnname": "添加时间",
  9973. "remark": "",
  9974. "pk": false,
  9975. "notNull": false,
  9976. "autoIncrement": false,
  9977. "defaultValue": ""
  9978. },
  9979. {
  9980. "name": "update_time",
  9981. "type": "DATETIME",
  9982. "chnname": "",
  9983. "remark": "",
  9984. "pk": false,
  9985. "notNull": false,
  9986. "autoIncrement": false,
  9987. "defaultValue": ""
  9988. },
  9989. {
  9990. "name": "status",
  9991. "type": "TINYINT_3",
  9992. "chnname": "-1 未通过 0 审核中 1 已提现",
  9993. "remark": "",
  9994. "pk": false,
  9995. "notNull": false,
  9996. "autoIncrement": false,
  9997. "defaultValue": ""
  9998. },
  9999. {
  10000. "name": "wechat",
  10001. "type": "VARCHAR_15",
  10002. "chnname": "微信号",
  10003. "remark": "",
  10004. "pk": false,
  10005. "notNull": false,
  10006. "autoIncrement": false,
  10007. "defaultValue": ""
  10008. },
  10009. {
  10010. "name": "is_del",
  10011. "type": "BIT_1",
  10012. "chnname": "",
  10013. "remark": "",
  10014. "pk": false,
  10015. "notNull": false,
  10016. "autoIncrement": false,
  10017. "defaultValue": ""
  10018. }
  10019. ]
  10020. },
  10021. {
  10022. "title": "yx_user_enter",
  10023. "chnname": "商户申请表",
  10024. "fields": [
  10025. {
  10026. "name": "id",
  10027. "type": "INT UNSIGNED_10",
  10028. "chnname": "商户申请ID",
  10029. "remark": "",
  10030. "pk": true,
  10031. "notNull": true,
  10032. "autoIncrement": true,
  10033. "defaultValue": ""
  10034. },
  10035. {
  10036. "name": "uid",
  10037. "type": "INT UNSIGNED_10",
  10038. "chnname": "用户ID",
  10039. "remark": "",
  10040. "pk": false,
  10041. "notNull": true,
  10042. "autoIncrement": false,
  10043. "defaultValue": ""
  10044. },
  10045. {
  10046. "name": "province",
  10047. "type": "VARCHAR_32",
  10048. "chnname": "商户所在省",
  10049. "remark": "",
  10050. "pk": false,
  10051. "notNull": true,
  10052. "autoIncrement": false,
  10053. "defaultValue": ""
  10054. },
  10055. {
  10056. "name": "city",
  10057. "type": "VARCHAR_32",
  10058. "chnname": "商户所在市",
  10059. "remark": "",
  10060. "pk": false,
  10061. "notNull": true,
  10062. "autoIncrement": false,
  10063. "defaultValue": ""
  10064. },
  10065. {
  10066. "name": "district",
  10067. "type": "VARCHAR_32",
  10068. "chnname": "商户所在区",
  10069. "remark": "",
  10070. "pk": false,
  10071. "notNull": true,
  10072. "autoIncrement": false,
  10073. "defaultValue": ""
  10074. },
  10075. {
  10076. "name": "address",
  10077. "type": "VARCHAR_256",
  10078. "chnname": "商户详细地址",
  10079. "remark": "",
  10080. "pk": false,
  10081. "notNull": true,
  10082. "autoIncrement": false,
  10083. "defaultValue": ""
  10084. },
  10085. {
  10086. "name": "merchant_name",
  10087. "type": "VARCHAR_256",
  10088. "chnname": "商户名称",
  10089. "remark": "",
  10090. "pk": false,
  10091. "notNull": true,
  10092. "autoIncrement": false,
  10093. "defaultValue": ""
  10094. },
  10095. {
  10096. "name": "link_user",
  10097. "type": "VARCHAR_32",
  10098. "chnname": "",
  10099. "remark": "",
  10100. "pk": false,
  10101. "notNull": true,
  10102. "autoIncrement": false,
  10103. "defaultValue": ""
  10104. },
  10105. {
  10106. "name": "link_tel",
  10107. "type": "VARCHAR_16",
  10108. "chnname": "商户电话",
  10109. "remark": "",
  10110. "pk": false,
  10111. "notNull": true,
  10112. "autoIncrement": false,
  10113. "defaultValue": ""
  10114. },
  10115. {
  10116. "name": "charter",
  10117. "type": "VARCHAR_512",
  10118. "chnname": "商户证书",
  10119. "remark": "",
  10120. "pk": false,
  10121. "notNull": true,
  10122. "autoIncrement": false,
  10123. "defaultValue": ""
  10124. },
  10125. {
  10126. "name": "add_time",
  10127. "type": "INT UNSIGNED_10",
  10128. "chnname": "添加时间",
  10129. "remark": "",
  10130. "pk": false,
  10131. "notNull": true,
  10132. "autoIncrement": false,
  10133. "defaultValue": ""
  10134. },
  10135. {
  10136. "name": "apply_time",
  10137. "type": "INT UNSIGNED_10",
  10138. "chnname": "审核时间",
  10139. "remark": "",
  10140. "pk": false,
  10141. "notNull": true,
  10142. "autoIncrement": false,
  10143. "defaultValue": ""
  10144. },
  10145. {
  10146. "name": "success_time",
  10147. "type": "INT_10",
  10148. "chnname": "通过时间",
  10149. "remark": "",
  10150. "pk": false,
  10151. "notNull": true,
  10152. "autoIncrement": false,
  10153. "defaultValue": ""
  10154. },
  10155. {
  10156. "name": "fail_message",
  10157. "type": "VARCHAR_256",
  10158. "chnname": "未通过原因",
  10159. "remark": "",
  10160. "pk": false,
  10161. "notNull": true,
  10162. "autoIncrement": false,
  10163. "defaultValue": ""
  10164. },
  10165. {
  10166. "name": "fail_time",
  10167. "type": "INT UNSIGNED_10",
  10168. "chnname": "未通过时间",
  10169. "remark": "",
  10170. "pk": false,
  10171. "notNull": true,
  10172. "autoIncrement": false,
  10173. "defaultValue": ""
  10174. },
  10175. {
  10176. "name": "status",
  10177. "type": "BIT_1",
  10178. "chnname": "-1 审核未通过 0未审核 1审核通过",
  10179. "remark": "",
  10180. "pk": false,
  10181. "notNull": true,
  10182. "autoIncrement": false,
  10183. "defaultValue": ""
  10184. },
  10185. {
  10186. "name": "is_lock",
  10187. "type": "TINYINT UNSIGNED_1",
  10188. "chnname": "0 = 开启 1= 关闭",
  10189. "remark": "",
  10190. "pk": false,
  10191. "notNull": true,
  10192. "autoIncrement": false,
  10193. "defaultValue": ""
  10194. },
  10195. {
  10196. "name": "is_del",
  10197. "type": "TINYINT UNSIGNED_1",
  10198. "chnname": "是否删除",
  10199. "remark": "",
  10200. "pk": false,
  10201. "notNull": true,
  10202. "autoIncrement": false,
  10203. "defaultValue": ""
  10204. }
  10205. ]
  10206. },
  10207. {
  10208. "title": "yx_system_user_task",
  10209. "chnname": "等级任务设置",
  10210. "fields": [
  10211. {
  10212. "name": "id",
  10213. "type": "INT_10",
  10214. "chnname": "",
  10215. "remark": "",
  10216. "pk": true,
  10217. "notNull": true,
  10218. "autoIncrement": true,
  10219. "defaultValue": ""
  10220. },
  10221. {
  10222. "name": "name",
  10223. "type": "VARCHAR_255",
  10224. "chnname": "任务名称",
  10225. "remark": "",
  10226. "pk": false,
  10227. "notNull": true,
  10228. "autoIncrement": false,
  10229. "defaultValue": ""
  10230. },
  10231. {
  10232. "name": "real_name",
  10233. "type": "VARCHAR_255",
  10234. "chnname": "配置原名",
  10235. "remark": "",
  10236. "pk": false,
  10237. "notNull": true,
  10238. "autoIncrement": false,
  10239. "defaultValue": ""
  10240. },
  10241. {
  10242. "name": "task_type",
  10243. "type": "VARCHAR_50",
  10244. "chnname": "任务类型",
  10245. "remark": "",
  10246. "pk": false,
  10247. "notNull": true,
  10248. "autoIncrement": false,
  10249. "defaultValue": ""
  10250. },
  10251. {
  10252. "name": "number",
  10253. "type": "INT_10",
  10254. "chnname": "限定数",
  10255. "remark": "",
  10256. "pk": false,
  10257. "notNull": true,
  10258. "autoIncrement": false,
  10259. "defaultValue": ""
  10260. },
  10261. {
  10262. "name": "level_id",
  10263. "type": "INT_10",
  10264. "chnname": "等级id",
  10265. "remark": "",
  10266. "pk": false,
  10267. "notNull": true,
  10268. "autoIncrement": false,
  10269. "defaultValue": ""
  10270. },
  10271. {
  10272. "name": "sort",
  10273. "type": "INT_10",
  10274. "chnname": "排序",
  10275. "remark": "",
  10276. "pk": false,
  10277. "notNull": true,
  10278. "autoIncrement": false,
  10279. "defaultValue": ""
  10280. },
  10281. {
  10282. "name": "is_show",
  10283. "type": "BIT_1",
  10284. "chnname": "是否显示",
  10285. "remark": "",
  10286. "pk": false,
  10287. "notNull": true,
  10288. "autoIncrement": false,
  10289. "defaultValue": ""
  10290. },
  10291. {
  10292. "name": "is_must",
  10293. "type": "BIT_1",
  10294. "chnname": "是否务必达成任务,1务必达成,0=满足其一",
  10295. "remark": "",
  10296. "pk": false,
  10297. "notNull": true,
  10298. "autoIncrement": false,
  10299. "defaultValue": ""
  10300. },
  10301. {
  10302. "name": "illustrate",
  10303. "type": "VARCHAR_255",
  10304. "chnname": "任务说明",
  10305. "remark": "",
  10306. "pk": false,
  10307. "notNull": true,
  10308. "autoIncrement": false,
  10309. "defaultValue": ""
  10310. },
  10311. {
  10312. "name": "create_time",
  10313. "type": "DATETIME",
  10314. "chnname": "新增时间",
  10315. "remark": "",
  10316. "pk": false,
  10317. "notNull": true,
  10318. "autoIncrement": false,
  10319. "defaultValue": ""
  10320. },
  10321. {
  10322. "name": "update_time",
  10323. "type": "DATETIME",
  10324. "chnname": "",
  10325. "remark": "",
  10326. "pk": false,
  10327. "notNull": false,
  10328. "autoIncrement": false,
  10329. "defaultValue": ""
  10330. },
  10331. {
  10332. "name": "is_del",
  10333. "type": "BIT_1",
  10334. "chnname": "",
  10335. "remark": "",
  10336. "pk": false,
  10337. "notNull": false,
  10338. "autoIncrement": false,
  10339. "defaultValue": ""
  10340. }
  10341. ]
  10342. },
  10343. {
  10344. "title": "yx_user",
  10345. "chnname": "用户表",
  10346. "fields": [
  10347. {
  10348. "name": "uid",
  10349. "type": "BIGINT UNSIGNED_20",
  10350. "chnname": "用户id",
  10351. "remark": "",
  10352. "pk": true,
  10353. "notNull": true,
  10354. "autoIncrement": true,
  10355. "defaultValue": ""
  10356. },
  10357. {
  10358. "name": "username",
  10359. "type": "VARCHAR_255",
  10360. "chnname": "用户账户(跟accout一样)",
  10361. "remark": "",
  10362. "pk": false,
  10363. "notNull": false,
  10364. "autoIncrement": false,
  10365. "defaultValue": ""
  10366. },
  10367. {
  10368. "name": "password",
  10369. "type": "VARCHAR_255",
  10370. "chnname": "用户密码(跟pwd)",
  10371. "remark": "",
  10372. "pk": false,
  10373. "notNull": false,
  10374. "autoIncrement": false,
  10375. "defaultValue": ""
  10376. },
  10377. {
  10378. "name": "real_name",
  10379. "type": "VARCHAR_25",
  10380. "chnname": "真实姓名",
  10381. "remark": "",
  10382. "pk": false,
  10383. "notNull": false,
  10384. "autoIncrement": false,
  10385. "defaultValue": ""
  10386. },
  10387. {
  10388. "name": "birthday",
  10389. "type": "INT_10",
  10390. "chnname": "生日",
  10391. "remark": "",
  10392. "pk": false,
  10393. "notNull": false,
  10394. "autoIncrement": false,
  10395. "defaultValue": ""
  10396. },
  10397. {
  10398. "name": "card_id",
  10399. "type": "VARCHAR_20",
  10400. "chnname": "身份证号码",
  10401. "remark": "",
  10402. "pk": false,
  10403. "notNull": false,
  10404. "autoIncrement": false,
  10405. "defaultValue": ""
  10406. },
  10407. {
  10408. "name": "mark",
  10409. "type": "VARCHAR_255",
  10410. "chnname": "用户备注",
  10411. "remark": "",
  10412. "pk": false,
  10413. "notNull": false,
  10414. "autoIncrement": false,
  10415. "defaultValue": ""
  10416. },
  10417. {
  10418. "name": "partner_id",
  10419. "type": "INT_10",
  10420. "chnname": "合伙人id",
  10421. "remark": "",
  10422. "pk": false,
  10423. "notNull": false,
  10424. "autoIncrement": false,
  10425. "defaultValue": ""
  10426. },
  10427. {
  10428. "name": "group_id",
  10429. "type": "INT_10",
  10430. "chnname": "用户分组id",
  10431. "remark": "",
  10432. "pk": false,
  10433. "notNull": false,
  10434. "autoIncrement": false,
  10435. "defaultValue": ""
  10436. },
  10437. {
  10438. "name": "nickname",
  10439. "type": "VARCHAR_100",
  10440. "chnname": "用户昵称",
  10441. "remark": "",
  10442. "pk": false,
  10443. "notNull": false,
  10444. "autoIncrement": false,
  10445. "defaultValue": ""
  10446. },
  10447. {
  10448. "name": "avatar",
  10449. "type": "VARCHAR_256",
  10450. "chnname": "用户头像",
  10451. "remark": "",
  10452. "pk": false,
  10453. "notNull": false,
  10454. "autoIncrement": false,
  10455. "defaultValue": ""
  10456. },
  10457. {
  10458. "name": "phone",
  10459. "type": "CHAR_15",
  10460. "chnname": "手机号码",
  10461. "remark": "",
  10462. "pk": false,
  10463. "notNull": false,
  10464. "autoIncrement": false,
  10465. "defaultValue": ""
  10466. },
  10467. {
  10468. "name": "add_ip",
  10469. "type": "VARCHAR_16",
  10470. "chnname": "添加ip",
  10471. "remark": "",
  10472. "pk": false,
  10473. "notNull": false,
  10474. "autoIncrement": false,
  10475. "defaultValue": ""
  10476. },
  10477. {
  10478. "name": "create_time",
  10479. "type": "DATETIME",
  10480. "chnname": "添加时间",
  10481. "remark": "",
  10482. "pk": false,
  10483. "notNull": false,
  10484. "autoIncrement": false,
  10485. "defaultValue": ""
  10486. },
  10487. {
  10488. "name": "update_time",
  10489. "type": "DATETIME",
  10490. "chnname": "最后一次登录时间",
  10491. "remark": "",
  10492. "pk": false,
  10493. "notNull": false,
  10494. "autoIncrement": false,
  10495. "defaultValue": ""
  10496. },
  10497. {
  10498. "name": "last_ip",
  10499. "type": "VARCHAR_16",
  10500. "chnname": "最后一次登录ip",
  10501. "remark": "",
  10502. "pk": false,
  10503. "notNull": false,
  10504. "autoIncrement": false,
  10505. "defaultValue": ""
  10506. },
  10507. {
  10508. "name": "now_money",
  10509. "type": "DECIMAL UNSIGNED_8_2",
  10510. "chnname": "用户余额",
  10511. "remark": "",
  10512. "pk": false,
  10513. "notNull": true,
  10514. "autoIncrement": false,
  10515. "defaultValue": ""
  10516. },
  10517. {
  10518. "name": "brokerage_price",
  10519. "type": "DECIMAL_8_2",
  10520. "chnname": "佣金金额",
  10521. "remark": "",
  10522. "pk": false,
  10523. "notNull": true,
  10524. "autoIncrement": false,
  10525. "defaultValue": ""
  10526. },
  10527. {
  10528. "name": "integral",
  10529. "type": "DECIMAL UNSIGNED_8_2",
  10530. "chnname": "用户剩余积分",
  10531. "remark": "",
  10532. "pk": false,
  10533. "notNull": true,
  10534. "autoIncrement": false,
  10535. "defaultValue": ""
  10536. },
  10537. {
  10538. "name": "sign_num",
  10539. "type": "INT_10",
  10540. "chnname": "连续签到天数",
  10541. "remark": "",
  10542. "pk": false,
  10543. "notNull": true,
  10544. "autoIncrement": false,
  10545. "defaultValue": ""
  10546. },
  10547. {
  10548. "name": "status",
  10549. "type": "BIT_1",
  10550. "chnname": "1为正常,0为禁止",
  10551. "remark": "",
  10552. "pk": false,
  10553. "notNull": true,
  10554. "autoIncrement": false,
  10555. "defaultValue": ""
  10556. },
  10557. {
  10558. "name": "level",
  10559. "type": "TINYINT UNSIGNED_3",
  10560. "chnname": "等级",
  10561. "remark": "",
  10562. "pk": false,
  10563. "notNull": true,
  10564. "autoIncrement": false,
  10565. "defaultValue": ""
  10566. },
  10567. {
  10568. "name": "spread_uid",
  10569. "type": "BIGINT UNSIGNED_20",
  10570. "chnname": "推广元id",
  10571. "remark": "",
  10572. "pk": false,
  10573. "notNull": false,
  10574. "autoIncrement": false,
  10575. "defaultValue": ""
  10576. },
  10577. {
  10578. "name": "spread_time",
  10579. "type": "DATETIME",
  10580. "chnname": "推广员关联时间",
  10581. "remark": "",
  10582. "pk": false,
  10583. "notNull": false,
  10584. "autoIncrement": false,
  10585. "defaultValue": ""
  10586. },
  10587. {
  10588. "name": "user_type",
  10589. "type": "VARCHAR_32",
  10590. "chnname": "用户类型",
  10591. "remark": "",
  10592. "pk": false,
  10593. "notNull": true,
  10594. "autoIncrement": false,
  10595. "defaultValue": ""
  10596. },
  10597. {
  10598. "name": "is_promoter",
  10599. "type": "TINYINT UNSIGNED_1",
  10600. "chnname": "是否为推广员",
  10601. "remark": "",
  10602. "pk": false,
  10603. "notNull": true,
  10604. "autoIncrement": false,
  10605. "defaultValue": ""
  10606. },
  10607. {
  10608. "name": "pay_count",
  10609. "type": "INT UNSIGNED_10",
  10610. "chnname": "用户购买次数",
  10611. "remark": "",
  10612. "pk": false,
  10613. "notNull": false,
  10614. "autoIncrement": false,
  10615. "defaultValue": ""
  10616. },
  10617. {
  10618. "name": "spread_count",
  10619. "type": "INT_10",
  10620. "chnname": "下级人数",
  10621. "remark": "",
  10622. "pk": false,
  10623. "notNull": false,
  10624. "autoIncrement": false,
  10625. "defaultValue": ""
  10626. },
  10627. {
  10628. "name": "addres",
  10629. "type": "VARCHAR_255",
  10630. "chnname": "详细地址",
  10631. "remark": "",
  10632. "pk": false,
  10633. "notNull": true,
  10634. "autoIncrement": false,
  10635. "defaultValue": ""
  10636. },
  10637. {
  10638. "name": "adminid",
  10639. "type": "INT UNSIGNED_10",
  10640. "chnname": "管理员编号 ",
  10641. "remark": "",
  10642. "pk": false,
  10643. "notNull": false,
  10644. "autoIncrement": false,
  10645. "defaultValue": ""
  10646. },
  10647. {
  10648. "name": "login_type",
  10649. "type": "VARCHAR_36",
  10650. "chnname": "用户登陆类型,h5,wechat,routine",
  10651. "remark": "",
  10652. "pk": false,
  10653. "notNull": true,
  10654. "autoIncrement": false,
  10655. "defaultValue": ""
  10656. },
  10657. {
  10658. "name": "wx_profile",
  10659. "type": "JSON",
  10660. "chnname": "微信用户json信息",
  10661. "remark": "",
  10662. "pk": false,
  10663. "notNull": false,
  10664. "autoIncrement": false,
  10665. "defaultValue": ""
  10666. },
  10667. {
  10668. "name": "is_del",
  10669. "type": "BIT_1",
  10670. "chnname": "",
  10671. "remark": "",
  10672. "pk": false,
  10673. "notNull": false,
  10674. "autoIncrement": false,
  10675. "defaultValue": ""
  10676. }
  10677. ]
  10678. }
  10679. ],
  10680. "graphCanvas": {
  10681. "nodes": [],
  10682. "edges": []
  10683. }
  10684. },
  10685. {
  10686. "name": "wechat",
  10687. "chnname": "微信模块",
  10688. "entities": [
  10689. {
  10690. "title": "yx_wechat_reply",
  10691. "chnname": "微信关键字回复表",
  10692. "fields": [
  10693. {
  10694. "name": "id",
  10695. "type": "MEDIUMINT UNSIGNED_8",
  10696. "chnname": "微信关键字回复id",
  10697. "remark": "",
  10698. "pk": true,
  10699. "notNull": true,
  10700. "autoIncrement": true,
  10701. "defaultValue": ""
  10702. },
  10703. {
  10704. "name": "key",
  10705. "type": "VARCHAR_64",
  10706. "chnname": "关键字",
  10707. "remark": "",
  10708. "pk": false,
  10709. "notNull": true,
  10710. "autoIncrement": false,
  10711. "defaultValue": ""
  10712. },
  10713. {
  10714. "name": "type",
  10715. "type": "VARCHAR_32",
  10716. "chnname": "回复类型",
  10717. "remark": "",
  10718. "pk": false,
  10719. "notNull": true,
  10720. "autoIncrement": false,
  10721. "defaultValue": ""
  10722. },
  10723. {
  10724. "name": "data",
  10725. "type": "TEXT",
  10726. "chnname": "回复数据",
  10727. "remark": "",
  10728. "pk": false,
  10729. "notNull": true,
  10730. "autoIncrement": false,
  10731. "defaultValue": ""
  10732. },
  10733. {
  10734. "name": "status",
  10735. "type": "TINYINT UNSIGNED_1",
  10736. "chnname": "0=不可用 1 =可用",
  10737. "remark": "",
  10738. "pk": false,
  10739. "notNull": true,
  10740. "autoIncrement": false,
  10741. "defaultValue": ""
  10742. },
  10743. {
  10744. "name": "hide",
  10745. "type": "TINYINT UNSIGNED_1",
  10746. "chnname": "是否隐藏",
  10747. "remark": "",
  10748. "pk": false,
  10749. "notNull": false,
  10750. "autoIncrement": false,
  10751. "defaultValue": ""
  10752. }
  10753. ]
  10754. },
  10755. {
  10756. "title": "yx_wechat_menu",
  10757. "chnname": "微信缓存表",
  10758. "fields": [
  10759. {
  10760. "name": "key",
  10761. "type": "VARCHAR_32",
  10762. "chnname": "",
  10763. "remark": "",
  10764. "pk": true,
  10765. "notNull": true,
  10766. "autoIncrement": false,
  10767. "defaultValue": ""
  10768. },
  10769. {
  10770. "name": "result",
  10771. "type": "TEXT",
  10772. "chnname": "缓存数据",
  10773. "remark": "",
  10774. "pk": false,
  10775. "notNull": false,
  10776. "autoIncrement": false,
  10777. "defaultValue": ""
  10778. },
  10779. {
  10780. "name": "add_time",
  10781. "type": "INT_10",
  10782. "chnname": "缓存时间",
  10783. "remark": "",
  10784. "pk": false,
  10785. "notNull": false,
  10786. "autoIncrement": false,
  10787. "defaultValue": ""
  10788. }
  10789. ]
  10790. },
  10791. {
  10792. "title": "yx_wechat_media",
  10793. "chnname": "微信回复表",
  10794. "fields": [
  10795. {
  10796. "name": "id",
  10797. "type": "INT UNSIGNED_10",
  10798. "chnname": "微信视频音频id",
  10799. "remark": "",
  10800. "pk": true,
  10801. "notNull": true,
  10802. "autoIncrement": true,
  10803. "defaultValue": ""
  10804. },
  10805. {
  10806. "name": "type",
  10807. "type": "VARCHAR_16",
  10808. "chnname": "回复类型",
  10809. "remark": "",
  10810. "pk": false,
  10811. "notNull": true,
  10812. "autoIncrement": false,
  10813. "defaultValue": ""
  10814. },
  10815. {
  10816. "name": "path",
  10817. "type": "VARCHAR_128",
  10818. "chnname": "文件路径",
  10819. "remark": "",
  10820. "pk": false,
  10821. "notNull": true,
  10822. "autoIncrement": false,
  10823. "defaultValue": ""
  10824. },
  10825. {
  10826. "name": "media_id",
  10827. "type": "VARCHAR_64",
  10828. "chnname": "微信服务器返回的id",
  10829. "remark": "",
  10830. "pk": false,
  10831. "notNull": true,
  10832. "autoIncrement": false,
  10833. "defaultValue": ""
  10834. },
  10835. {
  10836. "name": "url",
  10837. "type": "VARCHAR_256",
  10838. "chnname": "地址",
  10839. "remark": "",
  10840. "pk": false,
  10841. "notNull": true,
  10842. "autoIncrement": false,
  10843. "defaultValue": ""
  10844. },
  10845. {
  10846. "name": "temporary",
  10847. "type": "TINYINT UNSIGNED_1",
  10848. "chnname": "是否永久或者临时 0永久1临时",
  10849. "remark": "",
  10850. "pk": false,
  10851. "notNull": true,
  10852. "autoIncrement": false,
  10853. "defaultValue": ""
  10854. },
  10855. {
  10856. "name": "add_time",
  10857. "type": "INT UNSIGNED_10",
  10858. "chnname": "添加时间",
  10859. "remark": "",
  10860. "pk": false,
  10861. "notNull": true,
  10862. "autoIncrement": false,
  10863. "defaultValue": ""
  10864. }
  10865. ]
  10866. },
  10867. {
  10868. "title": "yx_article",
  10869. "chnname": "文章管理表",
  10870. "fields": [
  10871. {
  10872. "name": "id",
  10873. "type": "INT UNSIGNED_10",
  10874. "chnname": "文章管理ID",
  10875. "remark": "",
  10876. "pk": true,
  10877. "notNull": true,
  10878. "autoIncrement": true,
  10879. "defaultValue": ""
  10880. },
  10881. {
  10882. "name": "cid",
  10883. "type": "VARCHAR_255",
  10884. "chnname": "分类id",
  10885. "remark": "",
  10886. "pk": false,
  10887. "notNull": false,
  10888. "autoIncrement": false,
  10889. "defaultValue": ""
  10890. },
  10891. {
  10892. "name": "title",
  10893. "type": "VARCHAR_255",
  10894. "chnname": "文章标题",
  10895. "remark": "",
  10896. "pk": false,
  10897. "notNull": true,
  10898. "autoIncrement": false,
  10899. "defaultValue": ""
  10900. },
  10901. {
  10902. "name": "author",
  10903. "type": "VARCHAR_255",
  10904. "chnname": "文章作者",
  10905. "remark": "",
  10906. "pk": false,
  10907. "notNull": false,
  10908. "autoIncrement": false,
  10909. "defaultValue": ""
  10910. },
  10911. {
  10912. "name": "image_input",
  10913. "type": "VARCHAR_255",
  10914. "chnname": "文章图片",
  10915. "remark": "",
  10916. "pk": false,
  10917. "notNull": true,
  10918. "autoIncrement": false,
  10919. "defaultValue": ""
  10920. },
  10921. {
  10922. "name": "synopsis",
  10923. "type": "VARCHAR_255",
  10924. "chnname": "文章简介",
  10925. "remark": "",
  10926. "pk": false,
  10927. "notNull": false,
  10928. "autoIncrement": false,
  10929. "defaultValue": ""
  10930. },
  10931. {
  10932. "name": "content",
  10933. "type": "TEXT",
  10934. "chnname": "",
  10935. "remark": "",
  10936. "pk": false,
  10937. "notNull": false,
  10938. "autoIncrement": false,
  10939. "defaultValue": ""
  10940. },
  10941. {
  10942. "name": "share_title",
  10943. "type": "VARCHAR_255",
  10944. "chnname": "文章分享标题",
  10945. "remark": "",
  10946. "pk": false,
  10947. "notNull": false,
  10948. "autoIncrement": false,
  10949. "defaultValue": ""
  10950. },
  10951. {
  10952. "name": "share_synopsis",
  10953. "type": "VARCHAR_255",
  10954. "chnname": "文章分享简介",
  10955. "remark": "",
  10956. "pk": false,
  10957. "notNull": false,
  10958. "autoIncrement": false,
  10959. "defaultValue": ""
  10960. },
  10961. {
  10962. "name": "visit",
  10963. "type": "VARCHAR_255",
  10964. "chnname": "浏览次数",
  10965. "remark": "",
  10966. "pk": false,
  10967. "notNull": false,
  10968. "autoIncrement": false,
  10969. "defaultValue": ""
  10970. },
  10971. {
  10972. "name": "sort",
  10973. "type": "INT UNSIGNED_10",
  10974. "chnname": "排序",
  10975. "remark": "",
  10976. "pk": false,
  10977. "notNull": false,
  10978. "autoIncrement": false,
  10979. "defaultValue": ""
  10980. },
  10981. {
  10982. "name": "url",
  10983. "type": "VARCHAR_255",
  10984. "chnname": "原文链接",
  10985. "remark": "",
  10986. "pk": false,
  10987. "notNull": false,
  10988. "autoIncrement": false,
  10989. "defaultValue": ""
  10990. },
  10991. {
  10992. "name": "status",
  10993. "type": "TINYINT UNSIGNED_1",
  10994. "chnname": "状态",
  10995. "remark": "",
  10996. "pk": false,
  10997. "notNull": false,
  10998. "autoIncrement": false,
  10999. "defaultValue": ""
  11000. },
  11001. {
  11002. "name": "create_time",
  11003. "type": "DATETIME",
  11004. "chnname": "添加时间",
  11005. "remark": "",
  11006. "pk": false,
  11007. "notNull": false,
  11008. "autoIncrement": false,
  11009. "defaultValue": ""
  11010. },
  11011. {
  11012. "name": "update_time",
  11013. "type": "DATETIME",
  11014. "chnname": "",
  11015. "remark": "",
  11016. "pk": false,
  11017. "notNull": false,
  11018. "autoIncrement": false,
  11019. "defaultValue": ""
  11020. },
  11021. {
  11022. "name": "is_del",
  11023. "type": "BIT_1",
  11024. "chnname": "",
  11025. "remark": "",
  11026. "pk": false,
  11027. "notNull": false,
  11028. "autoIncrement": false,
  11029. "defaultValue": ""
  11030. },
  11031. {
  11032. "name": "hide",
  11033. "type": "TINYINT UNSIGNED_1",
  11034. "chnname": "是否隐藏",
  11035. "remark": "",
  11036. "pk": false,
  11037. "notNull": false,
  11038. "autoIncrement": false,
  11039. "defaultValue": ""
  11040. },
  11041. {
  11042. "name": "admin_id",
  11043. "type": "INT UNSIGNED_10",
  11044. "chnname": "管理员id",
  11045. "remark": "",
  11046. "pk": false,
  11047. "notNull": false,
  11048. "autoIncrement": false,
  11049. "defaultValue": ""
  11050. },
  11051. {
  11052. "name": "mer_id",
  11053. "type": "INT UNSIGNED_10",
  11054. "chnname": "商户id",
  11055. "remark": "",
  11056. "pk": false,
  11057. "notNull": false,
  11058. "autoIncrement": false,
  11059. "defaultValue": ""
  11060. },
  11061. {
  11062. "name": "product_id",
  11063. "type": "INT_10",
  11064. "chnname": "产品关联id",
  11065. "remark": "",
  11066. "pk": false,
  11067. "notNull": false,
  11068. "autoIncrement": false,
  11069. "defaultValue": ""
  11070. },
  11071. {
  11072. "name": "is_hot",
  11073. "type": "TINYINT UNSIGNED_1",
  11074. "chnname": "是否热门(小程序)",
  11075. "remark": "",
  11076. "pk": false,
  11077. "notNull": false,
  11078. "autoIncrement": false,
  11079. "defaultValue": ""
  11080. },
  11081. {
  11082. "name": "is_banner",
  11083. "type": "TINYINT UNSIGNED_1",
  11084. "chnname": "是否轮播图(小程序)",
  11085. "remark": "",
  11086. "pk": false,
  11087. "notNull": false,
  11088. "autoIncrement": false,
  11089. "defaultValue": ""
  11090. }
  11091. ],
  11092. "indexs": [],
  11093. "headers": [
  11094. {
  11095. "fieldName": "chnname",
  11096. "relationNoShow": false
  11097. },
  11098. {
  11099. "fieldName": "name",
  11100. "relationNoShow": false
  11101. },
  11102. {
  11103. "fieldName": "type",
  11104. "relationNoShow": false
  11105. },
  11106. {
  11107. "fieldName": "dataType",
  11108. "relationNoShow": true
  11109. },
  11110. {
  11111. "fieldName": "remark",
  11112. "relationNoShow": true
  11113. },
  11114. {
  11115. "fieldName": "pk",
  11116. "relationNoShow": false
  11117. },
  11118. {
  11119. "fieldName": "notNull",
  11120. "relationNoShow": true
  11121. },
  11122. {
  11123. "fieldName": "autoIncrement",
  11124. "relationNoShow": true
  11125. },
  11126. {
  11127. "fieldName": "defaultValue",
  11128. "relationNoShow": true
  11129. },
  11130. {
  11131. "fieldName": "relationNoShow",
  11132. "relationNoShow": true
  11133. },
  11134. {
  11135. "fieldName": "uiHint",
  11136. "relationNoShow": true
  11137. }
  11138. ]
  11139. },
  11140. {
  11141. "title": "yx_wechat_template",
  11142. "chnname": "微信模板",
  11143. "fields": [
  11144. {
  11145. "name": "id",
  11146. "type": "INT UNSIGNED_10",
  11147. "chnname": "模板id",
  11148. "remark": "",
  11149. "pk": true,
  11150. "notNull": true,
  11151. "autoIncrement": true,
  11152. "defaultValue": ""
  11153. },
  11154. {
  11155. "name": "tempkey",
  11156. "type": "CHAR_50",
  11157. "chnname": "模板编号",
  11158. "remark": "",
  11159. "pk": false,
  11160. "notNull": true,
  11161. "autoIncrement": false,
  11162. "defaultValue": ""
  11163. },
  11164. {
  11165. "name": "name",
  11166. "type": "CHAR_100",
  11167. "chnname": "模板名",
  11168. "remark": "",
  11169. "pk": false,
  11170. "notNull": true,
  11171. "autoIncrement": false,
  11172. "defaultValue": ""
  11173. },
  11174. {
  11175. "name": "content",
  11176. "type": "VARCHAR_1000",
  11177. "chnname": "回复内容",
  11178. "remark": "",
  11179. "pk": false,
  11180. "notNull": true,
  11181. "autoIncrement": false,
  11182. "defaultValue": ""
  11183. },
  11184. {
  11185. "name": "tempid",
  11186. "type": "CHAR_100",
  11187. "chnname": "模板ID",
  11188. "remark": "",
  11189. "pk": false,
  11190. "notNull": false,
  11191. "autoIncrement": false,
  11192. "defaultValue": ""
  11193. },
  11194. {
  11195. "name": "create_time",
  11196. "type": "DATETIME",
  11197. "chnname": "添加时间",
  11198. "remark": "",
  11199. "pk": false,
  11200. "notNull": true,
  11201. "autoIncrement": false,
  11202. "defaultValue": ""
  11203. },
  11204. {
  11205. "name": "update_time",
  11206. "type": "DATETIME",
  11207. "chnname": "",
  11208. "remark": "",
  11209. "pk": false,
  11210. "notNull": false,
  11211. "autoIncrement": false,
  11212. "defaultValue": ""
  11213. },
  11214. {
  11215. "name": "status",
  11216. "type": "TINYINT_3",
  11217. "chnname": "状态",
  11218. "remark": "",
  11219. "pk": false,
  11220. "notNull": true,
  11221. "autoIncrement": false,
  11222. "defaultValue": ""
  11223. },
  11224. {
  11225. "name": "is_del",
  11226. "type": "BIT_1",
  11227. "chnname": "",
  11228. "remark": "",
  11229. "pk": false,
  11230. "notNull": false,
  11231. "autoIncrement": false,
  11232. "defaultValue": ""
  11233. }
  11234. ]
  11235. }
  11236. ],
  11237. "graphCanvas": {
  11238. "nodes": [],
  11239. "edges": []
  11240. },
  11241. "associations": []
  11242. }
  11243. ],
  11244. "version": "V1.0",
  11245. "message": "V1",
  11246. "date": "2020/7/21 12:14:27"
  11247. }