wx_school.json 4.0 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208
  1. {
  2. "desc":"",
  3. "id":"data-4XSR2hMyU",
  4. "isNewDataSource":1,
  5. "methods":[],
  6. "name":"wx_school",
  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-76d3qd7m4g",
  25. "required":[],
  26. "properties":{
  27. "owner":{
  28. "default":"",
  29. "x-system":true,
  30. "x-id":"1f712f9",
  31. "name":"owner",
  32. "format":"father-son",
  33. "pattern":"",
  34. "x-hidden":true,
  35. "x-index":12,
  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":"94d9feb",
  48. "format":"father-son",
  49. "name":"_mainDep",
  50. "x-hidden":true,
  51. "title":"所属主管部门",
  52. "type":"string",
  53. "x-index":13,
  54. "x-unique":false,
  55. "x-parent":{
  56. "fatherAction":"judge",
  57. "type":"father-son",
  58. "parentDataSourceName":"sys_department"
  59. }
  60. },
  61. "remark":{
  62. "x-required":false,
  63. "x-keyPath":"",
  64. "minLength":0,
  65. "x-id":"3cdad348",
  66. "format":"",
  67. "description":"",
  68. "type":"string",
  69. "x-index":6,
  70. "title":"备注",
  71. "x-unique":false,
  72. "maxLength":255
  73. },
  74. "adress":{
  75. "x-required":false,
  76. "x-keyPath":"",
  77. "minLength":0,
  78. "x-id":"686e2d38",
  79. "format":"",
  80. "description":"",
  81. "type":"string",
  82. "x-index":8,
  83. "title":"地址",
  84. "x-unique":false,
  85. "maxLength":255
  86. },
  87. "createdAt":{
  88. "default":0,
  89. "x-system":true,
  90. "x-id":"52c41c4",
  91. "format":"datetime",
  92. "x-index":14,
  93. "type":"number",
  94. "title":"创建时间",
  95. "x-unique":false
  96. },
  97. "createBy":{
  98. "default":"",
  99. "x-system":true,
  100. "x-id":"87b196a",
  101. "name":"createBy",
  102. "format":"father-son",
  103. "pattern":"",
  104. "x-hidden":true,
  105. "x-index":15,
  106. "type":"string",
  107. "title":"创建人",
  108. "x-unique":false,
  109. "x-parent":{
  110. "fatherAction":"judge",
  111. "type":"father-son",
  112. "parentDataSourceName":"sys_user"
  113. }
  114. },
  115. "phone":{
  116. "x-required":false,
  117. "x-keyPath":"",
  118. "x-id":"31b4f583",
  119. "format":"phone",
  120. "description":"",
  121. "type":"string",
  122. "x-index":4,
  123. "title":"电话",
  124. "x-unique":false,
  125. "maxLength":32
  126. },
  127. "updateBy":{
  128. "default":"",
  129. "x-system":true,
  130. "x-id":"93a079a",
  131. "name":"updateBy",
  132. "format":"father-son",
  133. "pattern":"",
  134. "x-hidden":true,
  135. "x-index":16,
  136. "type":"string",
  137. "title":"修改人",
  138. "x-unique":false,
  139. "x-parent":{
  140. "fatherAction":"judge",
  141. "type":"father-son",
  142. "parentDataSourceName":"sys_user"
  143. }
  144. },
  145. "_openid":{
  146. "default":"",
  147. "x-system":true,
  148. "x-id":"a6648e3",
  149. "name":"_openid",
  150. "format":"",
  151. "pattern":"",
  152. "description":"仅微信云开发下使用",
  153. "x-index":17,
  154. "title":"记录创建者",
  155. "type":"string",
  156. "x-unique":false
  157. },
  158. "name":{
  159. "x-required":false,
  160. "x-keyPath":"",
  161. "minLength":0,
  162. "x-id":"628eb399",
  163. "format":"",
  164. "description":"",
  165. "type":"string",
  166. "x-index":2,
  167. "title":"学校名称",
  168. "x-unique":false,
  169. "maxLength":255
  170. },
  171. "_id":{
  172. "x-system":true,
  173. "x-id":"5ba49bd",
  174. "format":"",
  175. "x-index":18,
  176. "type":"string",
  177. "title":"数据标识",
  178. "x-unique":true
  179. },
  180. "contacts":{
  181. "x-required":false,
  182. "x-keyPath":"",
  183. "minLength":0,
  184. "x-id":"78ede598",
  185. "format":"",
  186. "description":"",
  187. "type":"string",
  188. "x-index":10,
  189. "title":"联系人",
  190. "x-unique":false,
  191. "maxLength":255
  192. },
  193. "updatedAt":{
  194. "default":0,
  195. "x-system":true,
  196. "x-id":"c9c42e3",
  197. "format":"datetime",
  198. "x-index":19,
  199. "title":"更新时间",
  200. "type":"number",
  201. "x-unique":false
  202. }
  203. }
  204. },
  205. "templateCode":"",
  206. "title":"学校表",
  207. "type":"database"
  208. }