adresses.json 5.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272
  1. {
  2. "desc":"",
  3. "id":"data-4XT8oCGB5",
  4. "isNewDataSource":1,
  5. "methods":[],
  6. "name":"adresses",
  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-76d9fn5lds",
  25. "required":[],
  26. "properties":{
  27. "owner":{
  28. "default":"",
  29. "x-system":true,
  30. "x-id":"f7425b8",
  31. "name":"owner",
  32. "format":"father-son",
  33. "pattern":"",
  34. "x-hidden":true,
  35. "x-index":22,
  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":"b1a4078",
  48. "format":"father-son",
  49. "name":"_mainDep",
  50. "x-hidden":true,
  51. "title":"所属主管部门",
  52. "type":"string",
  53. "x-index":23,
  54. "x-unique":false,
  55. "x-parent":{
  56. "fatherAction":"judge",
  57. "type":"father-son",
  58. "parentDataSourceName":"sys_department"
  59. }
  60. },
  61. "detailed_address":{
  62. "x-required":false,
  63. "x-keyPath":"",
  64. "minLength":0,
  65. "x-id":"9d693f42",
  66. "format":"",
  67. "description":"",
  68. "type":"string",
  69. "x-index":6,
  70. "title":"详细地址",
  71. "x-unique":false,
  72. "maxLength":255
  73. },
  74. "address":{
  75. "x-required":false,
  76. "x-keyPath":"",
  77. "minLength":0,
  78. "x-id":"3aa17d75",
  79. "format":"",
  80. "description":"",
  81. "type":"string",
  82. "x-index":8,
  83. "title":"地址",
  84. "x-unique":false,
  85. "maxLength":255
  86. },
  87. "municipality":{
  88. "x-required":false,
  89. "x-keyPath":"",
  90. "minLength":0,
  91. "x-id":"95b49fb6",
  92. "format":"",
  93. "description":"",
  94. "type":"string",
  95. "x-index":14,
  96. "title":"市",
  97. "x-unique":false,
  98. "maxLength":255
  99. },
  100. "createdAt":{
  101. "default":0,
  102. "x-system":true,
  103. "x-id":"26a6344",
  104. "format":"datetime",
  105. "x-index":24,
  106. "type":"number",
  107. "title":"创建时间",
  108. "x-unique":false
  109. },
  110. "default":{
  111. "x-required":false,
  112. "default":1,
  113. "x-keyPath":"",
  114. "x-id":"8cbbaf1c",
  115. "format":"",
  116. "description":"0-默认 1-非默认",
  117. "type":"number",
  118. "x-index":4,
  119. "title":"默认",
  120. "x-unique":false
  121. },
  122. "createBy":{
  123. "default":"",
  124. "x-system":true,
  125. "x-id":"ac83e1a",
  126. "name":"createBy",
  127. "format":"father-son",
  128. "pattern":"",
  129. "x-hidden":true,
  130. "x-index":25,
  131. "type":"string",
  132. "title":"创建人",
  133. "x-unique":false,
  134. "x-parent":{
  135. "fatherAction":"judge",
  136. "type":"father-son",
  137. "parentDataSourceName":"sys_user"
  138. }
  139. },
  140. "wx_user_id":{
  141. "x-required":false,
  142. "x-keyPath":"",
  143. "minLength":0,
  144. "x-id":"94e89284",
  145. "format":"",
  146. "description":"",
  147. "type":"string",
  148. "x-index":2,
  149. "title":"用户_id",
  150. "x-unique":false,
  151. "maxLength":255
  152. },
  153. "province":{
  154. "x-required":false,
  155. "x-keyPath":"",
  156. "minLength":0,
  157. "x-id":"b6b6dcf1",
  158. "format":"",
  159. "description":"",
  160. "type":"string",
  161. "x-index":16,
  162. "title":"省",
  163. "x-unique":false,
  164. "maxLength":255
  165. },
  166. "phone":{
  167. "x-required":false,
  168. "x-keyPath":"",
  169. "x-id":"c29eb8db",
  170. "format":"phone",
  171. "description":"",
  172. "type":"string",
  173. "x-index":18,
  174. "title":"手机号",
  175. "x-unique":false,
  176. "maxLength":32
  177. },
  178. "updateBy":{
  179. "default":"",
  180. "x-system":true,
  181. "x-id":"93a079a",
  182. "name":"updateBy",
  183. "format":"father-son",
  184. "pattern":"",
  185. "x-hidden":true,
  186. "x-index":26,
  187. "type":"string",
  188. "title":"修改人",
  189. "x-unique":false,
  190. "x-parent":{
  191. "fatherAction":"judge",
  192. "type":"father-son",
  193. "parentDataSourceName":"sys_user"
  194. }
  195. },
  196. "street":{
  197. "x-required":false,
  198. "x-keyPath":"",
  199. "minLength":0,
  200. "x-id":"3236a363",
  201. "format":"",
  202. "description":"",
  203. "type":"string",
  204. "x-index":10,
  205. "title":"街道",
  206. "x-unique":false,
  207. "maxLength":255
  208. },
  209. "district":{
  210. "x-required":false,
  211. "x-keyPath":"",
  212. "minLength":0,
  213. "x-id":"db8421a9",
  214. "format":"",
  215. "description":"",
  216. "type":"string",
  217. "x-index":12,
  218. "title":"区县",
  219. "x-unique":false,
  220. "maxLength":255
  221. },
  222. "_openid":{
  223. "default":"",
  224. "x-system":true,
  225. "x-id":"e4b9684",
  226. "name":"_openid",
  227. "format":"",
  228. "pattern":"",
  229. "description":"仅微信云开发下使用",
  230. "x-index":27,
  231. "title":"记录创建者",
  232. "type":"string",
  233. "x-unique":false
  234. },
  235. "name":{
  236. "x-required":false,
  237. "x-keyPath":"",
  238. "minLength":0,
  239. "x-id":"9be77592",
  240. "format":"",
  241. "description":"",
  242. "type":"string",
  243. "x-index":20,
  244. "title":"收货人",
  245. "x-unique":false,
  246. "maxLength":25
  247. },
  248. "_id":{
  249. "x-system":true,
  250. "x-id":"3f30e71",
  251. "format":"",
  252. "x-index":28,
  253. "type":"string",
  254. "title":"数据标识",
  255. "x-unique":true
  256. },
  257. "updatedAt":{
  258. "default":0,
  259. "x-system":true,
  260. "x-id":"cd9937e",
  261. "format":"datetime",
  262. "x-index":29,
  263. "title":"更新时间",
  264. "type":"number",
  265. "x-unique":false
  266. }
  267. }
  268. },
  269. "templateCode":"",
  270. "title":"地址",
  271. "type":"database"
  272. }