file_manage.json 6.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330
  1. {
  2. "desc":"",
  3. "id":"data-4XT0H9eM3",
  4. "isNewDataSource":1,
  5. "methods":[],
  6. "name":"file_manage",
  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-76d6wrm8v4",
  25. "required":[],
  26. "properties":{
  27. "owner":{
  28. "default":"",
  29. "x-system":true,
  30. "x-id":"0e2e6a3",
  31. "name":"owner",
  32. "format":"father-son",
  33. "pattern":"",
  34. "x-hidden":true,
  35. "x-index":30,
  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":"1d044c1",
  48. "format":"father-son",
  49. "name":"_mainDep",
  50. "x-hidden":true,
  51. "title":"所属主管部门",
  52. "type":"string",
  53. "x-index":31,
  54. "x-unique":false,
  55. "x-parent":{
  56. "fatherAction":"judge",
  57. "type":"father-son",
  58. "parentDataSourceName":"sys_department"
  59. }
  60. },
  61. "level":{
  62. "x-required":false,
  63. "x-keyPath":"",
  64. "x-id":"377216b9",
  65. "format":"",
  66. "description":"全脑智能开发答案1-8 动手动脑图库1-6段",
  67. "type":"number",
  68. "x-index":20,
  69. "title":"级别",
  70. "x-unique":false
  71. },
  72. "range":{
  73. "x-required":false,
  74. "x-keyPath":"",
  75. "x-id":"ade1c1ae",
  76. "format":"",
  77. "description":"",
  78. "type":"array",
  79. "x-index":6,
  80. "title":"适用范围",
  81. "items":{
  82. "minLength":0,
  83. "format":"",
  84. "type":"string",
  85. "maxLength":255
  86. },
  87. "x-unique":false
  88. },
  89. "remark":{
  90. "x-required":false,
  91. "x-keyPath":"",
  92. "minLength":0,
  93. "x-id":"44cddbe5",
  94. "format":"",
  95. "description":"",
  96. "type":"string",
  97. "x-index":8,
  98. "title":"备注",
  99. "x-unique":false,
  100. "maxLength":255
  101. },
  102. "type":{
  103. "x-required":false,
  104. "x-keyPath":"",
  105. "x-id":"6ed7cce9",
  106. "format":"",
  107. "description":"0-视频 1-音频 2-pdf 3-ppt 4-图文",
  108. "type":"number",
  109. "x-index":16,
  110. "title":"文件类型",
  111. "x-unique":false
  112. },
  113. "url":{
  114. "x-required":false,
  115. "x-keyPath":"",
  116. "x-id":"3ff24a95",
  117. "format":"",
  118. "description":"",
  119. "type":"array",
  120. "x-index":14,
  121. "title":"路径",
  122. "items":{
  123. "minLength":0,
  124. "format":"",
  125. "type":"string",
  126. "maxLength":255
  127. },
  128. "x-unique":false
  129. },
  130. "download_count":{
  131. "x-required":false,
  132. "x-keyPath":"",
  133. "x-id":"5eebd4b2",
  134. "format":"",
  135. "description":"",
  136. "type":"number",
  137. "x-index":22,
  138. "title":"下载人数",
  139. "x-unique":false
  140. },
  141. "cover":{
  142. "x-required":false,
  143. "x-keyPath":"",
  144. "minLength":0,
  145. "x-id":"27ca78b7",
  146. "format":"",
  147. "description":"",
  148. "type":"string",
  149. "x-index":10,
  150. "title":"封面",
  151. "x-unique":false,
  152. "maxLength":4096
  153. },
  154. "dan":{
  155. "x-required":false,
  156. "x-keyPath":"",
  157. "x-id":"d92521bf",
  158. "format":"",
  159. "description":"0-初级 1-中级 2-高级",
  160. "type":"number",
  161. "x-index":18,
  162. "title":"段位",
  163. "x-unique":false
  164. },
  165. "createdAt":{
  166. "default":0,
  167. "x-system":true,
  168. "x-id":"9ab6248",
  169. "format":"datetime",
  170. "x-index":32,
  171. "type":"number",
  172. "title":"创建时间",
  173. "x-unique":false
  174. },
  175. "createBy":{
  176. "default":"",
  177. "x-system":true,
  178. "x-id":"cf57d1f",
  179. "name":"createBy",
  180. "format":"father-son",
  181. "pattern":"",
  182. "x-hidden":true,
  183. "x-index":33,
  184. "type":"string",
  185. "title":"创建人",
  186. "x-unique":false,
  187. "x-parent":{
  188. "fatherAction":"judge",
  189. "type":"father-son",
  190. "parentDataSourceName":"sys_user"
  191. }
  192. },
  193. "size":{
  194. "x-required":false,
  195. "x-keyPath":"",
  196. "minLength":0,
  197. "x-id":"63942a81",
  198. "format":"",
  199. "description":"",
  200. "type":"string",
  201. "x-index":12,
  202. "title":"文件大小",
  203. "x-unique":false,
  204. "maxLength":255
  205. },
  206. "updateBy":{
  207. "default":"",
  208. "x-system":true,
  209. "x-id":"93a079a",
  210. "name":"updateBy",
  211. "format":"father-son",
  212. "pattern":"",
  213. "x-hidden":true,
  214. "x-index":34,
  215. "type":"string",
  216. "title":"修改人",
  217. "x-unique":false,
  218. "x-parent":{
  219. "fatherAction":"judge",
  220. "type":"father-son",
  221. "parentDataSourceName":"sys_user"
  222. }
  223. },
  224. "_openid":{
  225. "default":"",
  226. "x-system":true,
  227. "x-id":"3ce0774",
  228. "name":"_openid",
  229. "format":"",
  230. "pattern":"",
  231. "description":"仅微信云开发下使用",
  232. "x-index":35,
  233. "title":"记录创建者",
  234. "type":"string",
  235. "x-unique":false
  236. },
  237. "name":{
  238. "x-required":false,
  239. "x-keyPath":"",
  240. "minLength":0,
  241. "x-id":"1ff6d61d",
  242. "format":"",
  243. "description":"",
  244. "type":"string",
  245. "x-index":28,
  246. "title":"文件名",
  247. "x-unique":false,
  248. "maxLength":255
  249. },
  250. "publisher":{
  251. "x-required":false,
  252. "x-keyPath":"",
  253. "minLength":0,
  254. "x-id":"53afcd38",
  255. "format":"",
  256. "description":"",
  257. "type":"string",
  258. "x-index":2,
  259. "title":"发布者",
  260. "x-unique":false,
  261. "maxLength":25
  262. },
  263. "tag_id":{
  264. "x-required":false,
  265. "x-keyPath":"",
  266. "minLength":0,
  267. "x-id":"942ed37e",
  268. "format":"",
  269. "description":"",
  270. "type":"string",
  271. "x-index":24,
  272. "title":"标签_id",
  273. "x-unique":false,
  274. "maxLength":255
  275. },
  276. "rangee":{
  277. "x-required":false,
  278. "x-keyPath":"",
  279. "x-id":"4c2d8337",
  280. "format":"",
  281. "description":"",
  282. "type":"array",
  283. "x-index":4,
  284. "title":"范围",
  285. "items":{
  286. "minLength":0,
  287. "format":"",
  288. "type":"string",
  289. "maxLength":255
  290. },
  291. "x-unique":false
  292. },
  293. "describe":{
  294. "x-required":false,
  295. "x-keyPath":"",
  296. "minLength":0,
  297. "x-id":"9b24cbf5",
  298. "format":"",
  299. "description":"",
  300. "type":"string",
  301. "x-index":26,
  302. "title":"描述",
  303. "x-unique":false,
  304. "maxLength":255
  305. },
  306. "_id":{
  307. "x-system":true,
  308. "x-id":"63a3219",
  309. "format":"",
  310. "x-index":36,
  311. "type":"string",
  312. "title":"数据标识",
  313. "x-unique":true
  314. },
  315. "updatedAt":{
  316. "default":0,
  317. "x-system":true,
  318. "x-id":"4fd72bb",
  319. "format":"datetime",
  320. "x-index":37,
  321. "title":"更新时间",
  322. "type":"number",
  323. "x-unique":false
  324. }
  325. }
  326. },
  327. "templateCode":"",
  328. "title":"文件管理",
  329. "type":"database"
  330. }