shopping_cart.json 3.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192
  1. {
  2. "desc":"",
  3. "id":"data-4XT5E23Lz",
  4. "isNewDataSource":1,
  5. "methods":[],
  6. "name":"shopping_cart",
  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-76d8j9a8xs",
  25. "required":[],
  26. "properties":{
  27. "owner":{
  28. "default":"",
  29. "x-system":true,
  30. "x-id":"e8a1d75",
  31. "name":"owner",
  32. "format":"father-son",
  33. "pattern":"",
  34. "x-hidden":true,
  35. "x-index":10,
  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":"288fc04",
  48. "format":"father-son",
  49. "name":"_mainDep",
  50. "x-hidden":true,
  51. "title":"所属主管部门",
  52. "type":"string",
  53. "x-index":11,
  54. "x-unique":false,
  55. "x-parent":{
  56. "fatherAction":"judge",
  57. "type":"father-son",
  58. "parentDataSourceName":"sys_department"
  59. }
  60. },
  61. "createdAt":{
  62. "default":0,
  63. "x-system":true,
  64. "x-id":"bf7c1c8",
  65. "format":"datetime",
  66. "x-index":12,
  67. "type":"number",
  68. "title":"创建时间",
  69. "x-unique":false
  70. },
  71. "createBy":{
  72. "default":"",
  73. "x-system":true,
  74. "x-id":"b79f7d7",
  75. "name":"createBy",
  76. "format":"father-son",
  77. "pattern":"",
  78. "x-hidden":true,
  79. "x-index":13,
  80. "type":"string",
  81. "title":"创建人",
  82. "x-unique":false,
  83. "x-parent":{
  84. "fatherAction":"judge",
  85. "type":"father-son",
  86. "parentDataSourceName":"sys_user"
  87. }
  88. },
  89. "user_id":{
  90. "x-required":false,
  91. "x-keyPath":"",
  92. "minLength":0,
  93. "x-id":"96eac118",
  94. "format":"",
  95. "description":"",
  96. "type":"string",
  97. "x-index":2,
  98. "title":"用户_id",
  99. "x-unique":false,
  100. "maxLength":255
  101. },
  102. "merchandise_id":{
  103. "x-required":false,
  104. "x-keyPath":"",
  105. "minLength":0,
  106. "x-id":"6c5bcacd",
  107. "format":"",
  108. "description":"",
  109. "type":"string",
  110. "x-index":6,
  111. "title":"商品_id",
  112. "x-unique":false,
  113. "maxLength":255
  114. },
  115. "updateBy":{
  116. "default":"",
  117. "x-system":true,
  118. "x-id":"93a079a",
  119. "name":"updateBy",
  120. "format":"father-son",
  121. "pattern":"",
  122. "x-hidden":true,
  123. "x-index":14,
  124. "type":"string",
  125. "title":"修改人",
  126. "x-unique":false,
  127. "x-parent":{
  128. "fatherAction":"judge",
  129. "type":"father-son",
  130. "parentDataSourceName":"sys_user"
  131. }
  132. },
  133. "num":{
  134. "x-required":false,
  135. "x-keyPath":"",
  136. "x-id":"526684c4",
  137. "format":"",
  138. "description":"",
  139. "type":"number",
  140. "x-index":4,
  141. "title":"商品数量",
  142. "x-unique":false
  143. },
  144. "_openid":{
  145. "default":"",
  146. "x-system":true,
  147. "x-id":"87f00b6",
  148. "name":"_openid",
  149. "format":"",
  150. "pattern":"",
  151. "description":"仅微信云开发下使用",
  152. "x-index":15,
  153. "title":"记录创建者",
  154. "type":"string",
  155. "x-unique":false
  156. },
  157. "_id":{
  158. "x-system":true,
  159. "x-id":"6d56548",
  160. "format":"",
  161. "x-index":16,
  162. "type":"string",
  163. "title":"数据标识",
  164. "x-unique":true
  165. },
  166. "specs_index":{
  167. "x-required":false,
  168. "x-keyPath":"",
  169. "x-id":"e61f1b7f",
  170. "format":"",
  171. "description":"",
  172. "type":"number",
  173. "x-index":8,
  174. "title":"规格下标",
  175. "x-unique":false
  176. },
  177. "updatedAt":{
  178. "default":0,
  179. "x-system":true,
  180. "x-id":"f929c16",
  181. "format":"datetime",
  182. "x-index":17,
  183. "title":"更新时间",
  184. "type":"number",
  185. "x-unique":false
  186. }
  187. }
  188. },
  189. "templateCode":"",
  190. "title":"购物车",
  191. "type":"database"
  192. }