wx_groupbuy_groupbuy.json 4.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224
  1. {
  2. "desc":"",
  3. "id":"data-4XTfAQgY2",
  4. "isNewDataSource":1,
  5. "methods":[],
  6. "name":"wx_groupbuy_groupbuy",
  7. "pkgId":"honghgaier-5guiffgcf17a2eea",
  8. "schema":{
  9. "x-primary-column":"_id",
  10. "x-kind":"tcb",
  11. "x-defaultMethods":[
  12. "wedaCreate",
  13. "wedaUpdate",
  14. "wedaDelete",
  15. "wedaGetItem",
  16. "wedaGetRecords",
  17. "wedaGetList",
  18. "wedaBatchCreate",
  19. "wedaBatchUpdate",
  20. "wedaBatchDelete"
  21. ],
  22. "type":"object",
  23. "x-relatedType":"exist",
  24. "x-viewId":"view-76dbsuq0io",
  25. "required":[],
  26. "properties":{
  27. "owner":{
  28. "default":"",
  29. "x-system":true,
  30. "x-id":"b5ff4af",
  31. "name":"owner",
  32. "format":"father-son",
  33. "pattern":"",
  34. "x-hidden":true,
  35. "x-index":14,
  36. "title":"所有人",
  37. "type":"string",
  38. "x-unique":false,
  39. "x-parent":{
  40. "fatherAction":"judge",
  41. "type":"father-son",
  42. "parentDataSourceName":"sys_user"
  43. }
  44. },
  45. "_mainDep":{
  46. "x-system":true,
  47. "x-id":"4f1b9ca",
  48. "format":"father-son",
  49. "name":"_mainDep",
  50. "x-hidden":true,
  51. "title":"所属主管部门",
  52. "type":"string",
  53. "x-index":15,
  54. "x-unique":false,
  55. "x-parent":{
  56. "fatherAction":"judge",
  57. "type":"father-son",
  58. "parentDataSourceName":"sys_department"
  59. }
  60. },
  61. "old_price":{
  62. "x-required":false,
  63. "x-keyPath":"",
  64. "x-id":"ed153d63",
  65. "format":"",
  66. "numberCount":2,
  67. "description":"",
  68. "type":"number",
  69. "x-index":4,
  70. "title":"原价",
  71. "x-unique":false
  72. },
  73. "spec":{
  74. "x-required":false,
  75. "x-keyPath":"",
  76. "minLength":0,
  77. "x-id":"ae342f2e",
  78. "format":"",
  79. "description":"",
  80. "type":"string",
  81. "x-index":6,
  82. "title":"规格",
  83. "x-unique":false,
  84. "maxLength":255
  85. },
  86. "createdAt":{
  87. "default":0,
  88. "x-system":true,
  89. "x-id":"62cf37f",
  90. "format":"datetime",
  91. "x-index":16,
  92. "type":"number",
  93. "title":"创建时间",
  94. "x-unique":false
  95. },
  96. "detail_images":{
  97. "x-required":false,
  98. "x-keyPath":"",
  99. "x-id":"9f9b3713",
  100. "format":"",
  101. "description":"",
  102. "type":"array",
  103. "x-index":10,
  104. "title":"详情图",
  105. "items":{
  106. "minLength":0,
  107. "format":"",
  108. "type":"string",
  109. "maxLength":5555
  110. },
  111. "x-unique":false
  112. },
  113. "createBy":{
  114. "default":"",
  115. "x-system":true,
  116. "x-id":"91a9560",
  117. "name":"createBy",
  118. "format":"father-son",
  119. "pattern":"",
  120. "x-hidden":true,
  121. "x-index":17,
  122. "type":"string",
  123. "title":"创建人",
  124. "x-unique":false,
  125. "x-parent":{
  126. "fatherAction":"judge",
  127. "type":"father-son",
  128. "parentDataSourceName":"sys_user"
  129. }
  130. },
  131. "updateBy":{
  132. "default":"",
  133. "x-system":true,
  134. "x-id":"93a079a",
  135. "name":"updateBy",
  136. "format":"father-son",
  137. "pattern":"",
  138. "x-hidden":true,
  139. "x-index":18,
  140. "type":"string",
  141. "title":"修改人",
  142. "x-unique":false,
  143. "x-parent":{
  144. "fatherAction":"judge",
  145. "type":"father-son",
  146. "parentDataSourceName":"sys_user"
  147. }
  148. },
  149. "price":{
  150. "x-required":false,
  151. "x-keyPath":"",
  152. "x-id":"cd7321e1",
  153. "format":"",
  154. "numberCount":2,
  155. "description":"",
  156. "type":"number",
  157. "x-index":2,
  158. "title":"价格",
  159. "x-unique":false
  160. },
  161. "_openid":{
  162. "default":"",
  163. "x-system":true,
  164. "x-id":"e1cd036",
  165. "name":"_openid",
  166. "format":"",
  167. "pattern":"",
  168. "description":"仅微信云开发下使用",
  169. "x-index":19,
  170. "title":"记录创建者",
  171. "type":"string",
  172. "x-unique":false
  173. },
  174. "groupbuy_id":{
  175. "x-required":false,
  176. "x-keyPath":"",
  177. "minLength":0,
  178. "x-id":"5791b43c",
  179. "format":"",
  180. "description":"",
  181. "type":"string",
  182. "x-index":12,
  183. "title":"商品_id",
  184. "x-unique":false,
  185. "maxLength":255
  186. },
  187. "details":{
  188. "x-required":false,
  189. "x-keyPath":"",
  190. "minLength":0,
  191. "x-id":"433e133e",
  192. "format":"",
  193. "description":"",
  194. "type":"string",
  195. "x-index":8,
  196. "title":"产品详情",
  197. "x-unique":false,
  198. "maxLength":555
  199. },
  200. "_id":{
  201. "x-system":true,
  202. "x-id":"a79cbbf",
  203. "format":"",
  204. "x-index":20,
  205. "type":"string",
  206. "title":"数据标识",
  207. "x-unique":true
  208. },
  209. "updatedAt":{
  210. "default":0,
  211. "x-system":true,
  212. "x-id":"1a76010",
  213. "format":"datetime",
  214. "x-index":21,
  215. "title":"更新时间",
  216. "type":"number",
  217. "x-unique":false
  218. }
  219. }
  220. },
  221. "templateCode":"",
  222. "title":"团购规格表",
  223. "type":"database"
  224. }