microcode.json 4.0 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205
  1. {
  2. "desc":"",
  3. "id":"data-4XTdHo5w0",
  4. "isNewDataSource":1,
  5. "methods":[],
  6. "name":"microcode",
  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-76db6iom9s",
  25. "required":[],
  26. "properties":{
  27. "owner":{
  28. "default":"",
  29. "x-system":true,
  30. "x-id":"04464e6",
  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":"6f2e0b1",
  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. "visits":{
  62. "x-required":false,
  63. "x-keyPath":"",
  64. "x-id":"357e54df",
  65. "format":"",
  66. "description":"",
  67. "type":"number",
  68. "x-index":2,
  69. "title":"访问量",
  70. "x-unique":false
  71. },
  72. "createdAt":{
  73. "default":0,
  74. "x-system":true,
  75. "x-id":"4cedc07",
  76. "format":"datetime",
  77. "x-index":14,
  78. "type":"number",
  79. "title":"创建时间",
  80. "x-unique":false
  81. },
  82. "download":{
  83. "x-required":false,
  84. "x-keyPath":"",
  85. "x-id":"5edf1683",
  86. "format":"",
  87. "description":"",
  88. "type":"number",
  89. "x-index":4,
  90. "title":"下载量",
  91. "x-unique":false
  92. },
  93. "createBy":{
  94. "default":"",
  95. "x-system":true,
  96. "x-id":"b9890aa",
  97. "name":"createBy",
  98. "format":"father-son",
  99. "pattern":"",
  100. "x-hidden":true,
  101. "x-index":15,
  102. "type":"string",
  103. "title":"创建人",
  104. "x-unique":false,
  105. "x-parent":{
  106. "fatherAction":"judge",
  107. "type":"father-son",
  108. "parentDataSourceName":"sys_user"
  109. }
  110. },
  111. "school_id":{
  112. "x-required":false,
  113. "x-keyPath":"",
  114. "minLength":0,
  115. "x-id":"24a77a49",
  116. "format":"",
  117. "description":"",
  118. "type":"string",
  119. "x-index":10,
  120. "title":"学校_id",
  121. "x-unique":false,
  122. "maxLength":255
  123. },
  124. "user_id":{
  125. "x-required":false,
  126. "x-keyPath":"",
  127. "minLength":0,
  128. "x-id":"8ed8fec2",
  129. "format":"",
  130. "description":"",
  131. "type":"string",
  132. "x-index":8,
  133. "title":"用户_id",
  134. "x-unique":false,
  135. "maxLength":255
  136. },
  137. "updateBy":{
  138. "default":"",
  139. "x-system":true,
  140. "x-id":"93a079a",
  141. "name":"updateBy",
  142. "format":"father-son",
  143. "pattern":"",
  144. "x-hidden":true,
  145. "x-index":16,
  146. "type":"string",
  147. "title":"修改人",
  148. "x-unique":false,
  149. "x-parent":{
  150. "fatherAction":"judge",
  151. "type":"father-son",
  152. "parentDataSourceName":"sys_user"
  153. }
  154. },
  155. "file_id":{
  156. "x-required":false,
  157. "x-keyPath":"",
  158. "minLength":0,
  159. "x-id":"ea451924",
  160. "format":"",
  161. "description":"",
  162. "type":"string",
  163. "x-index":6,
  164. "title":"文件_id",
  165. "x-unique":false,
  166. "maxLength":255
  167. },
  168. "_openid":{
  169. "default":"",
  170. "x-system":true,
  171. "x-id":"fc2cf3d",
  172. "name":"_openid",
  173. "format":"",
  174. "pattern":"",
  175. "description":"仅微信云开发下使用",
  176. "x-index":17,
  177. "title":"记录创建者",
  178. "type":"string",
  179. "x-unique":false
  180. },
  181. "_id":{
  182. "x-system":true,
  183. "x-id":"ecdd15e",
  184. "format":"",
  185. "x-index":18,
  186. "type":"string",
  187. "title":"数据标识",
  188. "x-unique":true
  189. },
  190. "updatedAt":{
  191. "default":0,
  192. "x-system":true,
  193. "x-id":"90209c5",
  194. "format":"datetime",
  195. "x-index":19,
  196. "title":"更新时间",
  197. "type":"number",
  198. "x-unique":false
  199. }
  200. }
  201. },
  202. "templateCode":"",
  203. "title":"下载访问量统计",
  204. "type":"database"
  205. }