wx_user.json 5.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285
  1. {
  2. "desc":"",
  3. "id":"data-4XSTAb4Ce",
  4. "isNewDataSource":1,
  5. "methods":[],
  6. "name":"wx_user",
  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-76d4klrcsg",
  25. "required":[],
  26. "properties":{
  27. "owner":{
  28. "default":"",
  29. "x-system":true,
  30. "x-id":"7ddd05d",
  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":"a471f7f",
  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. "img":{
  62. "x-keyPath":"",
  63. "minLength":0,
  64. "x-id":"38d356be",
  65. "format":"",
  66. "description":"",
  67. "isEnum":false,
  68. "type":"string",
  69. "x-index":8,
  70. "title":"头像",
  71. "x-unique":false,
  72. "x-required":false,
  73. "default":"cloud://honghgaier-5guiffgcf17a2eea.686f-honghgaier-5guiffgcf17a2eea-1373037829/images/icon/touxiang.png",
  74. "name":"img",
  75. "maxLength":4096
  76. },
  77. "gender":{
  78. "x-required":false,
  79. "x-keyPath":"",
  80. "x-id":"1afa5632",
  81. "format":"",
  82. "description":"0-女生,1-男生",
  83. "type":"number",
  84. "x-index":16,
  85. "title":"性别",
  86. "x-unique":false
  87. },
  88. "user_name":{
  89. "x-required":false,
  90. "x-keyPath":"",
  91. "minLength":0,
  92. "x-id":"95d7488e",
  93. "format":"",
  94. "description":"",
  95. "type":"string",
  96. "x-index":6,
  97. "title":"用户名",
  98. "x-unique":false,
  99. "maxLength":25
  100. },
  101. "teacher_id":{
  102. "x-required":false,
  103. "x-keyPath":"",
  104. "minLength":0,
  105. "x-id":"fdf37b23",
  106. "format":"",
  107. "description":"",
  108. "type":"string",
  109. "x-index":10,
  110. "title":"老师_id",
  111. "x-unique":false,
  112. "maxLength":255
  113. },
  114. "remark":{
  115. "x-required":false,
  116. "x-keyPath":"",
  117. "minLength":0,
  118. "x-id":"1e864758",
  119. "format":"",
  120. "description":"",
  121. "type":"string",
  122. "x-index":14,
  123. "title":"备注",
  124. "x-unique":false,
  125. "maxLength":255
  126. },
  127. "delete":{
  128. "x-required":false,
  129. "default":0,
  130. "x-keyPath":"",
  131. "x-id":"a193d63c",
  132. "format":"",
  133. "description":"0-正常 1-删除",
  134. "type":"number",
  135. "x-index":4,
  136. "title":"逻辑删除",
  137. "x-unique":false
  138. },
  139. "createdAt":{
  140. "default":0,
  141. "x-system":true,
  142. "x-id":"c90d1c4",
  143. "format":"datetime",
  144. "x-index":2,
  145. "type":"number",
  146. "title":"创建时间",
  147. "x-unique":false
  148. },
  149. "createBy":{
  150. "default":"",
  151. "x-system":true,
  152. "x-id":"bd0b475",
  153. "name":"createBy",
  154. "format":"father-son",
  155. "pattern":"",
  156. "x-hidden":true,
  157. "x-index":5,
  158. "type":"string",
  159. "title":"创建人",
  160. "x-unique":false,
  161. "x-parent":{
  162. "fatherAction":"judge",
  163. "type":"father-son",
  164. "parentDataSourceName":"sys_user"
  165. }
  166. },
  167. "school_id":{
  168. "x-required":false,
  169. "x-keyPath":"",
  170. "minLength":0,
  171. "x-id":"bbbdba72",
  172. "format":"",
  173. "description":"",
  174. "type":"string",
  175. "x-index":22,
  176. "title":"学校_id",
  177. "x-unique":false,
  178. "maxLength":255
  179. },
  180. "phone":{
  181. "x-required":false,
  182. "x-keyPath":"",
  183. "x-id":"9ddfc224",
  184. "format":"phone",
  185. "name":"phone",
  186. "description":"",
  187. "type":"string",
  188. "x-index":18,
  189. "title":"手机号",
  190. "x-unique":false,
  191. "maxLength":32
  192. },
  193. "updateBy":{
  194. "default":"",
  195. "x-system":true,
  196. "x-id":"93a079a",
  197. "name":"updateBy",
  198. "format":"father-son",
  199. "pattern":"",
  200. "x-hidden":true,
  201. "x-index":6,
  202. "type":"string",
  203. "title":"修改人",
  204. "x-unique":false,
  205. "x-parent":{
  206. "fatherAction":"judge",
  207. "type":"father-son",
  208. "parentDataSourceName":"sys_user"
  209. }
  210. },
  211. "log_off":{
  212. "x-required":false,
  213. "x-keyPath":"",
  214. "minLength":0,
  215. "x-id":"d67cf2b8",
  216. "format":"",
  217. "description":"",
  218. "type":"string",
  219. "x-index":2,
  220. "title":"注销原因",
  221. "x-unique":false,
  222. "maxLength":555
  223. },
  224. "grade":{
  225. "x-required":false,
  226. "x-keyPath":"",
  227. "x-id":"42189ad8",
  228. "format":"",
  229. "description":"0-小班 1-中班 2-大班",
  230. "type":"number",
  231. "x-index":12,
  232. "title":"班级",
  233. "x-unique":false
  234. },
  235. "_openid":{
  236. "default":"",
  237. "x-system":true,
  238. "x-id":"c2ee31b",
  239. "name":"_openid",
  240. "format":"",
  241. "pattern":"",
  242. "description":"仅微信云开发下使用",
  243. "x-index":45,
  244. "title":"记录创建者",
  245. "type":"string",
  246. "x-unique":false
  247. },
  248. "name":{
  249. "x-required":false,
  250. "x-keyPath":"",
  251. "minLength":0,
  252. "x-id":"c67b3292",
  253. "format":"",
  254. "description":"",
  255. "type":"string",
  256. "x-index":20,
  257. "title":"姓名",
  258. "x-unique":false,
  259. "maxLength":255
  260. },
  261. "_id":{
  262. "x-system":true,
  263. "x-id":"ba5ec2e",
  264. "format":"",
  265. "x-index":1,
  266. "type":"string",
  267. "title":"数据标识",
  268. "x-unique":true
  269. },
  270. "updatedAt":{
  271. "default":0,
  272. "x-system":true,
  273. "x-id":"5a9e2f7",
  274. "format":"datetime",
  275. "x-index":3,
  276. "title":"更新时间",
  277. "type":"number",
  278. "x-unique":false
  279. }
  280. }
  281. },
  282. "templateCode":"",
  283. "title":"家长用户表",
  284. "type":"database"
  285. }