wx_merchandise.json 6.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338
  1. {
  2. "desc":"",
  3. "id":"data-4XT4Y51S2",
  4. "isNewDataSource":1,
  5. "methods":[],
  6. "name":"wx_merchandise",
  7. "pkgId":"honghgaier-5guiffgcf17a2eea",
  8. "schema":{
  9. "x-primary-column":"school_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-76d8b1uzy8",
  25. "required":[],
  26. "properties":{
  27. "owner":{
  28. "default":"",
  29. "x-system":true,
  30. "x-id":"17516d4",
  31. "name":"owner",
  32. "format":"father-son",
  33. "pattern":"",
  34. "x-hidden":true,
  35. "x-index":4,
  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":"413e6c6",
  48. "format":"father-son",
  49. "name":"_mainDep",
  50. "x-hidden":true,
  51. "title":"所属主管部门",
  52. "type":"string",
  53. "x-index":7,
  54. "x-unique":false,
  55. "x-parent":{
  56. "fatherAction":"judge",
  57. "type":"father-son",
  58. "parentDataSourceName":"sys_department"
  59. }
  60. },
  61. "groupbuy_state":{
  62. "x-required":false,
  63. "default":0,
  64. "x-keyPath":"",
  65. "x-id":"be7bc1dc",
  66. "format":"",
  67. "description":"0-进行中 1-即将结束 2-已结束",
  68. "type":"number",
  69. "x-index":2,
  70. "title":"团购状态",
  71. "x-unique":false
  72. },
  73. "img":{
  74. "x-required":false,
  75. "x-keyPath":"",
  76. "minLength":0,
  77. "x-id":"33a219c6",
  78. "format":"",
  79. "description":"",
  80. "type":"string",
  81. "x-index":28,
  82. "title":"封面",
  83. "x-unique":false,
  84. "maxLength":4096
  85. },
  86. "old_price":{
  87. "x-required":false,
  88. "x-keyPath":"",
  89. "x-id":"1ef5d8fd",
  90. "format":"",
  91. "numberCount":2,
  92. "description":"",
  93. "type":"number",
  94. "x-index":22,
  95. "title":"原价",
  96. "x-unique":false
  97. },
  98. "count":{
  99. "x-required":false,
  100. "x-keyPath":"",
  101. "x-id":"8a8d663b",
  102. "format":"",
  103. "description":"",
  104. "type":"number",
  105. "x-index":24,
  106. "title":"已拼数量",
  107. "x-unique":false
  108. },
  109. "eventendstime":{
  110. "x-required":false,
  111. "x-keyPath":"",
  112. "x-id":"e39ced4c",
  113. "format":"datetime",
  114. "description":"",
  115. "type":"number",
  116. "x-index":4,
  117. "title":"活动结束时间",
  118. "x-unique":false
  119. },
  120. "way":{
  121. "x-required":false,
  122. "x-keyPath":"",
  123. "x-id":"688dcf17",
  124. "format":"",
  125. "description":"0-邮寄1-自提",
  126. "type":"number",
  127. "x-index":8,
  128. "title":"收货方式",
  129. "x-unique":false
  130. },
  131. "specs":{
  132. "x-required":false,
  133. "x-keyPath":"",
  134. "x-id":"6c7536d1",
  135. "format":"",
  136. "description":"",
  137. "type":"array",
  138. "x-index":20,
  139. "title":"规格",
  140. "items":{
  141. "minLength":0,
  142. "format":"",
  143. "type":"string",
  144. "maxLength":255
  145. },
  146. "x-unique":false
  147. },
  148. "createdAt":{
  149. "default":0,
  150. "x-system":true,
  151. "x-id":"35973eb",
  152. "format":"datetime",
  153. "x-index":2,
  154. "type":"number",
  155. "title":"创建时间",
  156. "x-unique":false
  157. },
  158. "detail_images":{
  159. "x-required":false,
  160. "x-keyPath":"",
  161. "x-id":"185f42c5",
  162. "format":"",
  163. "description":"",
  164. "type":"array",
  165. "x-index":16,
  166. "title":"详情图",
  167. "items":{
  168. "minLength":0,
  169. "format":"",
  170. "type":"string",
  171. "maxLength":5555
  172. },
  173. "x-unique":false
  174. },
  175. "createBy":{
  176. "default":"",
  177. "x-system":true,
  178. "x-id":"fd676af",
  179. "name":"createBy",
  180. "format":"father-son",
  181. "pattern":"",
  182. "x-hidden":true,
  183. "x-index":5,
  184. "type":"string",
  185. "title":"创建人",
  186. "x-unique":false,
  187. "x-parent":{
  188. "fatherAction":"judge",
  189. "type":"father-son",
  190. "parentDataSourceName":"sys_user"
  191. }
  192. },
  193. "school_id":{
  194. "x-required":false,
  195. "x-keyPath":"",
  196. "minLength":0,
  197. "x-id":"1d94deec",
  198. "format":"",
  199. "description":"",
  200. "type":"string",
  201. "x-index":47,
  202. "title":"学校_id",
  203. "x-unique":false,
  204. "maxLength":255
  205. },
  206. "updateBy":{
  207. "default":"",
  208. "x-system":true,
  209. "x-id":"93a079a",
  210. "name":"updateBy",
  211. "format":"father-son",
  212. "pattern":"",
  213. "x-hidden":true,
  214. "x-index":6,
  215. "type":"string",
  216. "title":"修改人",
  217. "x-unique":false,
  218. "x-parent":{
  219. "fatherAction":"judge",
  220. "type":"father-son",
  221. "parentDataSourceName":"sys_user"
  222. }
  223. },
  224. "price":{
  225. "x-required":false,
  226. "x-keyPath":"",
  227. "x-id":"b7ffaf5c",
  228. "format":"",
  229. "numberCount":2,
  230. "description":"",
  231. "type":"number",
  232. "x-index":26,
  233. "title":"价格",
  234. "x-unique":false
  235. },
  236. "_openid":{
  237. "default":"",
  238. "x-system":true,
  239. "x-id":"b65f11f",
  240. "name":"_openid",
  241. "format":"",
  242. "pattern":"",
  243. "description":"仅微信云开发下使用",
  244. "x-index":45,
  245. "title":"记录创建者",
  246. "type":"string",
  247. "x-unique":false
  248. },
  249. "name":{
  250. "x-required":false,
  251. "x-keyPath":"",
  252. "minLength":0,
  253. "x-id":"6eee8cea",
  254. "format":"",
  255. "description":"",
  256. "type":"string",
  257. "x-index":30,
  258. "title":"商品名",
  259. "x-unique":false,
  260. "maxLength":255
  261. },
  262. "tag_id":{
  263. "x-required":false,
  264. "x-keyPath":"",
  265. "minLength":0,
  266. "x-id":"2426e4ed",
  267. "format":"",
  268. "description":"标签tab",
  269. "type":"string",
  270. "x-index":10,
  271. "title":"商品分类",
  272. "x-unique":false,
  273. "maxLength":255
  274. },
  275. "details":{
  276. "x-required":false,
  277. "x-keyPath":"",
  278. "x-id":"e8ef158c",
  279. "format":"",
  280. "description":"",
  281. "type":"array",
  282. "x-index":18,
  283. "title":"产品详情",
  284. "items":{
  285. "minLength":0,
  286. "format":"",
  287. "type":"string",
  288. "maxLength":255
  289. },
  290. "x-unique":false
  291. },
  292. "_id":{
  293. "x-system":true,
  294. "x-id":"1ecde8b",
  295. "format":"",
  296. "x-index":1,
  297. "type":"string",
  298. "title":"数据标识",
  299. "x-unique":true
  300. },
  301. "eventstarttime":{
  302. "x-required":false,
  303. "x-keyPath":"",
  304. "x-id":"4cec383f",
  305. "format":"datetime",
  306. "description":"",
  307. "type":"number",
  308. "x-index":6,
  309. "title":"活动开始时间",
  310. "x-unique":false
  311. },
  312. "browse":{
  313. "x-required":false,
  314. "x-keyPath":"",
  315. "x-id":"79525342",
  316. "format":"",
  317. "description":"",
  318. "type":"number",
  319. "x-index":14,
  320. "title":"浏览数",
  321. "x-unique":false
  322. },
  323. "updatedAt":{
  324. "default":0,
  325. "x-system":true,
  326. "x-id":"4cb52dc",
  327. "format":"datetime",
  328. "x-index":3,
  329. "title":"更新时间",
  330. "type":"number",
  331. "x-unique":false
  332. }
  333. }
  334. },
  335. "templateCode":"",
  336. "title":"商品",
  337. "type":"database"
  338. }