wx_teacher_user.json 5.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273
  1. {
  2. "desc":"",
  3. "id":"data-4XSVDS62c",
  4. "isNewDataSource":1,
  5. "methods":[],
  6. "name":"wx_teacher_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-76d58zlb40",
  25. "required":[],
  26. "properties":{
  27. "owner":{
  28. "default":"",
  29. "x-system":true,
  30. "x-id":"b0eb508",
  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":"95b366e",
  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":"45a747ac",
  65. "format":"",
  66. "description":"",
  67. "isEnum":false,
  68. "type":"string",
  69. "x-index":10,
  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. "default":0,
  80. "x-keyPath":"",
  81. "x-id":"6bbc5ad6",
  82. "format":"",
  83. "description":"0-女生 1-男生",
  84. "type":"number",
  85. "x-index":14,
  86. "title":"性别",
  87. "x-unique":false
  88. },
  89. "user_name":{
  90. "x-required":false,
  91. "x-keyPath":"",
  92. "minLength":0,
  93. "x-id":"661eee17",
  94. "format":"",
  95. "description":"",
  96. "type":"string",
  97. "x-index":8,
  98. "title":"用户名",
  99. "x-unique":false,
  100. "maxLength":255
  101. },
  102. "bound":{
  103. "x-required":false,
  104. "default":0,
  105. "x-keyPath":"",
  106. "x-id":"45125337",
  107. "format":"",
  108. "description":"0-未绑定 1-已绑定",
  109. "type":"number",
  110. "x-index":4,
  111. "title":"是否绑定",
  112. "x-unique":false
  113. },
  114. "remark":{
  115. "x-required":false,
  116. "x-keyPath":"",
  117. "minLength":0,
  118. "x-id":"21972bf7",
  119. "format":"",
  120. "description":"",
  121. "type":"string",
  122. "x-index":12,
  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":"8e15b878",
  132. "format":"",
  133. "description":"0-正常 1-删除",
  134. "type":"number",
  135. "x-index":6,
  136. "title":"逻辑删除",
  137. "x-unique":false
  138. },
  139. "createdAt":{
  140. "default":0,
  141. "x-system":true,
  142. "x-id":"8f9507e",
  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":"e3fa3aa",
  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":"a66d292b",
  172. "format":"",
  173. "description":"",
  174. "type":"string",
  175. "x-index":20,
  176. "title":"学校_id",
  177. "x-unique":false,
  178. "maxLength":255
  179. },
  180. "phone":{
  181. "x-required":false,
  182. "x-keyPath":"",
  183. "x-id":"d23a9e8c",
  184. "format":"phone",
  185. "description":"",
  186. "type":"string",
  187. "x-index":16,
  188. "title":"手机号",
  189. "x-unique":false,
  190. "maxLength":32
  191. },
  192. "updateBy":{
  193. "default":"",
  194. "x-system":true,
  195. "x-id":"93a079a",
  196. "name":"updateBy",
  197. "format":"father-son",
  198. "pattern":"",
  199. "x-hidden":true,
  200. "x-index":6,
  201. "type":"string",
  202. "title":"修改人",
  203. "x-unique":false,
  204. "x-parent":{
  205. "fatherAction":"judge",
  206. "type":"father-son",
  207. "parentDataSourceName":"sys_user"
  208. }
  209. },
  210. "log_off":{
  211. "x-required":false,
  212. "x-keyPath":"",
  213. "minLength":0,
  214. "x-id":"7164b55c",
  215. "format":"",
  216. "description":"",
  217. "type":"string",
  218. "x-index":2,
  219. "title":"注销",
  220. "x-unique":false,
  221. "maxLength":255
  222. },
  223. "_openid":{
  224. "default":"",
  225. "x-system":true,
  226. "x-id":"1ba156b",
  227. "name":"_openid",
  228. "format":"",
  229. "pattern":"",
  230. "description":"仅微信云开发下使用",
  231. "x-index":45,
  232. "title":"记录创建者",
  233. "type":"string",
  234. "x-unique":false
  235. },
  236. "name":{
  237. "x-required":false,
  238. "x-keyPath":"",
  239. "minLength":0,
  240. "x-id":"646e98fb",
  241. "format":"",
  242. "description":"",
  243. "type":"string",
  244. "x-index":18,
  245. "title":"姓名",
  246. "x-unique":false,
  247. "maxLength":255
  248. },
  249. "_id":{
  250. "x-system":true,
  251. "x-id":"e7d8aba",
  252. "format":"",
  253. "x-index":1,
  254. "type":"string",
  255. "title":"数据标识",
  256. "x-unique":true
  257. },
  258. "updatedAt":{
  259. "default":0,
  260. "x-system":true,
  261. "x-id":"3c98570",
  262. "format":"datetime",
  263. "x-index":3,
  264. "title":"更新时间",
  265. "type":"number",
  266. "x-unique":false
  267. }
  268. }
  269. },
  270. "templateCode":"",
  271. "title":"老师用户表",
  272. "type":"database"
  273. }