orders.json 6.9 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354
  1. {
  2. "desc":"",
  3. "id":"data-4XTaYssn3",
  4. "isNewDataSource":1,
  5. "methods":[],
  6. "name":"orders",
  7. "pkgId":"honghgaier-5guiffgcf17a2eea",
  8. "schema":{
  9. "x-primary-column":"groupbuy_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-76daa2jyw0",
  25. "required":[],
  26. "properties":{
  27. "adresses_id":{
  28. "x-required":false,
  29. "x-keyPath":"",
  30. "minLength":0,
  31. "x-id":"ab2bcb82",
  32. "format":"",
  33. "description":"",
  34. "type":"string",
  35. "x-index":28,
  36. "title":"地址_id",
  37. "x-unique":false,
  38. "maxLength":255
  39. },
  40. "_mainDep":{
  41. "x-system":true,
  42. "x-id":"bc722fd",
  43. "format":"father-son",
  44. "name":"_mainDep",
  45. "x-hidden":true,
  46. "title":"所属主管部门",
  47. "type":"string",
  48. "x-index":7,
  49. "x-unique":false,
  50. "x-parent":{
  51. "fatherAction":"judge",
  52. "type":"father-son",
  53. "parentDataSourceName":"sys_department"
  54. }
  55. },
  56. "sys_updateby_id":{
  57. "x-required":false,
  58. "x-keyPath":"",
  59. "minLength":0,
  60. "x-id":"a5feef6e",
  61. "format":"",
  62. "description":"",
  63. "type":"string",
  64. "x-index":16,
  65. "title":"更新人",
  66. "x-unique":false,
  67. "maxLength":255
  68. },
  69. "merchandise_id":{
  70. "x-required":false,
  71. "x-keyPath":"",
  72. "minLength":0,
  73. "x-id":"12d46116",
  74. "format":"",
  75. "description":"",
  76. "type":"string",
  77. "x-index":30,
  78. "title":"商品_id",
  79. "x-unique":false,
  80. "maxLength":255
  81. },
  82. "update_phone":{
  83. "x-required":false,
  84. "x-keyPath":"",
  85. "x-id":"c6f451ac",
  86. "format":"phone",
  87. "description":"",
  88. "type":"string",
  89. "x-index":10,
  90. "title":"修改后电话",
  91. "x-unique":false,
  92. "maxLength":32
  93. },
  94. "delete":{
  95. "x-required":false,
  96. "default":0,
  97. "x-keyPath":"",
  98. "x-id":"271cf8f2",
  99. "format":"",
  100. "description":"0-正常 1-删除",
  101. "type":"number",
  102. "x-index":22,
  103. "title":"逻辑删除",
  104. "x-unique":false
  105. },
  106. "update_name":{
  107. "x-required":false,
  108. "x-keyPath":"",
  109. "minLength":0,
  110. "x-id":"17b38a34",
  111. "format":"",
  112. "description":"",
  113. "type":"string",
  114. "x-index":12,
  115. "title":"修改后收货人",
  116. "x-unique":false,
  117. "maxLength":255
  118. },
  119. "createdAt":{
  120. "default":0,
  121. "x-system":true,
  122. "x-id":"547f458",
  123. "format":"datetime",
  124. "x-index":2,
  125. "type":"number",
  126. "title":"创建时间",
  127. "x-unique":false
  128. },
  129. "school_id":{
  130. "x-required":false,
  131. "x-keyPath":"",
  132. "minLength":0,
  133. "x-id":"a99b4657",
  134. "format":"",
  135. "description":"",
  136. "type":"string",
  137. "x-index":6,
  138. "title":"学校_id",
  139. "x-unique":false,
  140. "maxLength":255
  141. },
  142. "updateBy":{
  143. "default":"",
  144. "x-system":true,
  145. "x-id":"93a079a",
  146. "name":"updateBy",
  147. "format":"father-son",
  148. "pattern":"",
  149. "x-hidden":true,
  150. "x-index":6,
  151. "type":"string",
  152. "title":"修改人",
  153. "x-unique":false,
  154. "x-parent":{
  155. "fatherAction":"judge",
  156. "type":"father-son",
  157. "parentDataSourceName":"sys_user"
  158. }
  159. },
  160. "groupbuy_id":{
  161. "x-required":false,
  162. "x-keyPath":"",
  163. "minLength":0,
  164. "x-id":"eebebaa9",
  165. "format":"",
  166. "description":"",
  167. "type":"string",
  168. "x-index":43,
  169. "title":"规格_id",
  170. "x-unique":false,
  171. "maxLength":255
  172. },
  173. "tracking_number":{
  174. "x-required":false,
  175. "x-keyPath":"",
  176. "minLength":0,
  177. "x-id":"5a4dc276",
  178. "format":"",
  179. "description":"",
  180. "type":"string",
  181. "x-index":20,
  182. "title":"物流单号",
  183. "x-unique":false,
  184. "maxLength":255
  185. },
  186. "specs_index":{
  187. "x-required":false,
  188. "x-keyPath":"",
  189. "x-id":"b1a83291",
  190. "format":"",
  191. "description":"",
  192. "type":"number",
  193. "x-index":4,
  194. "title":"规格",
  195. "x-unique":false
  196. },
  197. "updatedAt":{
  198. "default":0,
  199. "x-system":true,
  200. "x-id":"d58e2ba",
  201. "format":"datetime",
  202. "x-index":3,
  203. "title":"更新时间",
  204. "type":"number",
  205. "x-unique":false
  206. },
  207. "owner":{
  208. "default":"",
  209. "x-system":true,
  210. "x-id":"f89eda4",
  211. "name":"owner",
  212. "format":"father-son",
  213. "pattern":"",
  214. "x-hidden":true,
  215. "x-index":4,
  216. "title":"所有人",
  217. "type":"string",
  218. "x-unique":false,
  219. "x-parent":{
  220. "fatherAction":"judge",
  221. "type":"father-son",
  222. "parentDataSourceName":"sys_user"
  223. }
  224. },
  225. "updat_adress":{
  226. "x-required":false,
  227. "x-keyPath":"",
  228. "minLength":0,
  229. "x-id":"4342f4f5",
  230. "format":"",
  231. "description":"",
  232. "type":"string",
  233. "x-index":14,
  234. "title":"修改后地址",
  235. "x-unique":false,
  236. "maxLength":255
  237. },
  238. "real_money":{
  239. "x-required":false,
  240. "x-keyPath":"",
  241. "x-id":"8cfb44a2",
  242. "format":"",
  243. "numberCount":2,
  244. "description":"",
  245. "type":"number",
  246. "x-index":18,
  247. "title":"实际付款金额",
  248. "x-unique":false
  249. },
  250. "way":{
  251. "x-required":false,
  252. "x-keyPath":"",
  253. "x-id":"4e8a7f9c",
  254. "format":"",
  255. "description":"0-邮寄1-自提",
  256. "type":"number",
  257. "x-index":24,
  258. "title":"收货方式",
  259. "x-unique":false
  260. },
  261. "createBy":{
  262. "default":"",
  263. "x-system":true,
  264. "x-id":"0e6499c",
  265. "name":"createBy",
  266. "format":"father-son",
  267. "pattern":"",
  268. "x-hidden":true,
  269. "x-index":5,
  270. "type":"string",
  271. "title":"创建人",
  272. "x-unique":false,
  273. "x-parent":{
  274. "fatherAction":"judge",
  275. "type":"father-son",
  276. "parentDataSourceName":"sys_user"
  277. }
  278. },
  279. "user_id":{
  280. "x-required":false,
  281. "x-keyPath":"",
  282. "minLength":0,
  283. "x-id":"c2c1e775",
  284. "format":"",
  285. "description":"",
  286. "type":"string",
  287. "x-index":2,
  288. "title":"用户_id",
  289. "x-unique":false,
  290. "maxLength":255
  291. },
  292. "num_index":{
  293. "x-required":false,
  294. "x-keyPath":"",
  295. "x-id":"9627494f",
  296. "format":"",
  297. "description":"",
  298. "type":"number",
  299. "x-index":8,
  300. "title":"商品数量",
  301. "x-unique":false
  302. },
  303. "_openid":{
  304. "default":"",
  305. "x-system":true,
  306. "x-id":"1e1490b",
  307. "name":"_openid",
  308. "format":"",
  309. "pattern":"",
  310. "description":"仅微信云开发下使用",
  311. "x-index":45,
  312. "title":"记录创建者",
  313. "type":"string",
  314. "x-unique":false
  315. },
  316. "_id":{
  317. "x-system":true,
  318. "x-id":"08040fb",
  319. "format":"",
  320. "x-index":1,
  321. "type":"string",
  322. "title":"数据标识",
  323. "x-unique":true
  324. },
  325. "order_id":{
  326. "x-required":false,
  327. "x-keyPath":"",
  328. "minLength":0,
  329. "x-id":"6b13f742",
  330. "format":"",
  331. "description":"",
  332. "type":"string",
  333. "x-index":32,
  334. "title":"订单号",
  335. "x-unique":false,
  336. "maxLength":255
  337. },
  338. "status":{
  339. "x-required":false,
  340. "x-keyPath":"",
  341. "x-id":"bc2278d6",
  342. "format":"",
  343. "description":"0-待付款 1-待收货 2-已完成 3-已取消",
  344. "type":"number",
  345. "x-index":26,
  346. "title":"状态",
  347. "x-unique":false
  348. }
  349. }
  350. },
  351. "templateCode":"",
  352. "title":"订单",
  353. "type":"database"
  354. }