@k3000/s1 0.1.0 → 0.1.5

Sign up to get free protection for your applications and to get access to all the features.
Files changed (278) hide show
  1. package/bin.mjs +16 -3
  2. package/files/menuIndex.vue +36 -12
  3. package/package.json +6 -2
  4. package/store1/store/1/data +0 -0
  5. package/store1/store/1/index +0 -0
  6. package//350/260/250/346/205/216/346/211/223/345/274/200//350/256/251/344/273/226/347/273/247/347/273/255/350/202/235.jpg +0 -0
  7. package//350/260/250/346/205/216/346/211/223/345/274/200//350/257/267/344/273/226/345/226/235/345/222/226/345/225/241.jpg +0 -0
  8. package/store1/store/1/data-LAPTOP-S8G0S6EH +0 -0
  9. package/store1/store/1/index-LAPTOP-S8G0S6EH +0 -0
  10. package/store1/store2/0/data +0 -0
  11. package/store1/store2/0/index +0 -0
  12. package/store1/store2/0/index.mjs +0 -15
  13. package/store1/store2/1/buffer/464135 +0 -1
  14. package/store1/store2/1/buffer/464587 +0 -1
  15. package/store1/store2/1/data +0 -0
  16. package/store1/store2/1/data-LAPTOP-S8G0S6EH +0 -0
  17. package/store1/store2/1/index +0 -0
  18. package/store1/store2/1/index-LAPTOP-S8G0S6EH +0 -0
  19. package/store1/store2/1/index.mjs +0 -4045
  20. package/store1/store2/1/type.ts +0 -1492
  21. package/store1/store2/index.mjs +0 -23
  22. /package/{RuoYi-Vue3 → ui-dev}/.env.development +0 -0
  23. /package/{RuoYi-Vue3 → ui-dev}/.env.production +0 -0
  24. /package/{RuoYi-Vue3 → ui-dev}/.env.staging +0 -0
  25. /package/{RuoYi-Vue3 → ui-dev}/.github/FUNDING.yml +0 -0
  26. /package/{RuoYi-Vue3 → ui-dev}/LICENSE +0 -0
  27. /package/{RuoYi-Vue3 → ui-dev}/README.md +0 -0
  28. /package/{RuoYi-Vue3 → ui-dev}/bin/build.bat +0 -0
  29. /package/{RuoYi-Vue3 → ui-dev}/bin/package.bat +0 -0
  30. /package/{RuoYi-Vue3 → ui-dev}/bin/run-web.bat +0 -0
  31. /package/{RuoYi-Vue3 → ui-dev}/html/ie.html +0 -0
  32. /package/{RuoYi-Vue3 → ui-dev}/index.html +0 -0
  33. /package/{RuoYi-Vue3 → ui-dev}/package.json +0 -0
  34. /package/{RuoYi-Vue3 → ui-dev}/public/favicon.ico +0 -0
  35. /package/{RuoYi-Vue3 → ui-dev}/src/App.vue +0 -0
  36. /package/{RuoYi-Vue3 → ui-dev}/src/api/login.js +0 -0
  37. /package/{RuoYi-Vue3 → ui-dev}/src/api/menu.js +0 -0
  38. /package/{RuoYi-Vue3 → ui-dev}/src/api/monitor/cache.js +0 -0
  39. /package/{RuoYi-Vue3 → ui-dev}/src/api/monitor/job.js +0 -0
  40. /package/{RuoYi-Vue3 → ui-dev}/src/api/monitor/jobLog.js +0 -0
  41. /package/{RuoYi-Vue3 → ui-dev}/src/api/monitor/logininfor.js +0 -0
  42. /package/{RuoYi-Vue3 → ui-dev}/src/api/monitor/online.js +0 -0
  43. /package/{RuoYi-Vue3 → ui-dev}/src/api/monitor/operlog.js +0 -0
  44. /package/{RuoYi-Vue3 → ui-dev}/src/api/monitor/server.js +0 -0
  45. /package/{RuoYi-Vue3 → ui-dev}/src/api/system/config.js +0 -0
  46. /package/{RuoYi-Vue3 → ui-dev}/src/api/system/dept.js +0 -0
  47. /package/{RuoYi-Vue3 → ui-dev}/src/api/system/dict/data.js +0 -0
  48. /package/{RuoYi-Vue3 → ui-dev}/src/api/system/dict/type.js +0 -0
  49. /package/{RuoYi-Vue3 → ui-dev}/src/api/system/menu.js +0 -0
  50. /package/{RuoYi-Vue3 → ui-dev}/src/api/system/notice.js +0 -0
  51. /package/{RuoYi-Vue3 → ui-dev}/src/api/system/post.js +0 -0
  52. /package/{RuoYi-Vue3 → ui-dev}/src/api/system/role.js +0 -0
  53. /package/{RuoYi-Vue3 → ui-dev}/src/api/system/user.js +0 -0
  54. /package/{RuoYi-Vue3 → ui-dev}/src/api/tool/gen.js +0 -0
  55. /package/{RuoYi-Vue3 → ui-dev}/src/assets/401_images/401.gif +0 -0
  56. /package/{RuoYi-Vue3 → ui-dev}/src/assets/404_images/404.png +0 -0
  57. /package/{RuoYi-Vue3 → ui-dev}/src/assets/404_images/404_cloud.png +0 -0
  58. /package/{RuoYi-Vue3 → ui-dev}/src/assets/icons/svg/404.svg +0 -0
  59. /package/{RuoYi-Vue3 → ui-dev}/src/assets/icons/svg/bug.svg +0 -0
  60. /package/{RuoYi-Vue3 → ui-dev}/src/assets/icons/svg/build.svg +0 -0
  61. /package/{RuoYi-Vue3 → ui-dev}/src/assets/icons/svg/button.svg +0 -0
  62. /package/{RuoYi-Vue3 → ui-dev}/src/assets/icons/svg/cascader.svg +0 -0
  63. /package/{RuoYi-Vue3 → ui-dev}/src/assets/icons/svg/chart.svg +0 -0
  64. /package/{RuoYi-Vue3 → ui-dev}/src/assets/icons/svg/checkbox.svg +0 -0
  65. /package/{RuoYi-Vue3 → ui-dev}/src/assets/icons/svg/clipboard.svg +0 -0
  66. /package/{RuoYi-Vue3 → ui-dev}/src/assets/icons/svg/code.svg +0 -0
  67. /package/{RuoYi-Vue3 → ui-dev}/src/assets/icons/svg/color.svg +0 -0
  68. /package/{RuoYi-Vue3 → ui-dev}/src/assets/icons/svg/component.svg +0 -0
  69. /package/{RuoYi-Vue3 → ui-dev}/src/assets/icons/svg/dashboard.svg +0 -0
  70. /package/{RuoYi-Vue3 → ui-dev}/src/assets/icons/svg/date-range.svg +0 -0
  71. /package/{RuoYi-Vue3 → ui-dev}/src/assets/icons/svg/date.svg +0 -0
  72. /package/{RuoYi-Vue3 → ui-dev}/src/assets/icons/svg/dict.svg +0 -0
  73. /package/{RuoYi-Vue3 → ui-dev}/src/assets/icons/svg/documentation.svg +0 -0
  74. /package/{RuoYi-Vue3 → ui-dev}/src/assets/icons/svg/download.svg +0 -0
  75. /package/{RuoYi-Vue3 → ui-dev}/src/assets/icons/svg/drag.svg +0 -0
  76. /package/{RuoYi-Vue3 → ui-dev}/src/assets/icons/svg/druid.svg +0 -0
  77. /package/{RuoYi-Vue3 → ui-dev}/src/assets/icons/svg/edit.svg +0 -0
  78. /package/{RuoYi-Vue3 → ui-dev}/src/assets/icons/svg/education.svg +0 -0
  79. /package/{RuoYi-Vue3 → ui-dev}/src/assets/icons/svg/email.svg +0 -0
  80. /package/{RuoYi-Vue3 → ui-dev}/src/assets/icons/svg/example.svg +0 -0
  81. /package/{RuoYi-Vue3 → ui-dev}/src/assets/icons/svg/excel.svg +0 -0
  82. /package/{RuoYi-Vue3 → ui-dev}/src/assets/icons/svg/exit-fullscreen.svg +0 -0
  83. /package/{RuoYi-Vue3 → ui-dev}/src/assets/icons/svg/eye-open.svg +0 -0
  84. /package/{RuoYi-Vue3 → ui-dev}/src/assets/icons/svg/eye.svg +0 -0
  85. /package/{RuoYi-Vue3 → ui-dev}/src/assets/icons/svg/form.svg +0 -0
  86. /package/{RuoYi-Vue3 → ui-dev}/src/assets/icons/svg/fullscreen.svg +0 -0
  87. /package/{RuoYi-Vue3 → ui-dev}/src/assets/icons/svg/github.svg +0 -0
  88. /package/{RuoYi-Vue3 → ui-dev}/src/assets/icons/svg/guide.svg +0 -0
  89. /package/{RuoYi-Vue3 → ui-dev}/src/assets/icons/svg/icon.svg +0 -0
  90. /package/{RuoYi-Vue3 → ui-dev}/src/assets/icons/svg/input.svg +0 -0
  91. /package/{RuoYi-Vue3 → ui-dev}/src/assets/icons/svg/international.svg +0 -0
  92. /package/{RuoYi-Vue3 → ui-dev}/src/assets/icons/svg/job.svg +0 -0
  93. /package/{RuoYi-Vue3 → ui-dev}/src/assets/icons/svg/language.svg +0 -0
  94. /package/{RuoYi-Vue3 → ui-dev}/src/assets/icons/svg/link.svg +0 -0
  95. /package/{RuoYi-Vue3 → ui-dev}/src/assets/icons/svg/list.svg +0 -0
  96. /package/{RuoYi-Vue3 → ui-dev}/src/assets/icons/svg/lock.svg +0 -0
  97. /package/{RuoYi-Vue3 → ui-dev}/src/assets/icons/svg/log.svg +0 -0
  98. /package/{RuoYi-Vue3 → ui-dev}/src/assets/icons/svg/logininfor.svg +0 -0
  99. /package/{RuoYi-Vue3 → ui-dev}/src/assets/icons/svg/message.svg +0 -0
  100. /package/{RuoYi-Vue3 → ui-dev}/src/assets/icons/svg/money.svg +0 -0
  101. /package/{RuoYi-Vue3 → ui-dev}/src/assets/icons/svg/monitor.svg +0 -0
  102. /package/{RuoYi-Vue3 → ui-dev}/src/assets/icons/svg/nested.svg +0 -0
  103. /package/{RuoYi-Vue3 → ui-dev}/src/assets/icons/svg/number.svg +0 -0
  104. /package/{RuoYi-Vue3 → ui-dev}/src/assets/icons/svg/online.svg +0 -0
  105. /package/{RuoYi-Vue3 → ui-dev}/src/assets/icons/svg/password.svg +0 -0
  106. /package/{RuoYi-Vue3 → ui-dev}/src/assets/icons/svg/pdf.svg +0 -0
  107. /package/{RuoYi-Vue3 → ui-dev}/src/assets/icons/svg/people.svg +0 -0
  108. /package/{RuoYi-Vue3 → ui-dev}/src/assets/icons/svg/peoples.svg +0 -0
  109. /package/{RuoYi-Vue3 → ui-dev}/src/assets/icons/svg/phone.svg +0 -0
  110. /package/{RuoYi-Vue3 → ui-dev}/src/assets/icons/svg/post.svg +0 -0
  111. /package/{RuoYi-Vue3 → ui-dev}/src/assets/icons/svg/qq.svg +0 -0
  112. /package/{RuoYi-Vue3 → ui-dev}/src/assets/icons/svg/question.svg +0 -0
  113. /package/{RuoYi-Vue3 → ui-dev}/src/assets/icons/svg/radio.svg +0 -0
  114. /package/{RuoYi-Vue3 → ui-dev}/src/assets/icons/svg/rate.svg +0 -0
  115. /package/{RuoYi-Vue3 → ui-dev}/src/assets/icons/svg/redis-list.svg +0 -0
  116. /package/{RuoYi-Vue3 → ui-dev}/src/assets/icons/svg/redis.svg +0 -0
  117. /package/{RuoYi-Vue3 → ui-dev}/src/assets/icons/svg/row.svg +0 -0
  118. /package/{RuoYi-Vue3 → ui-dev}/src/assets/icons/svg/search.svg +0 -0
  119. /package/{RuoYi-Vue3 → ui-dev}/src/assets/icons/svg/select.svg +0 -0
  120. /package/{RuoYi-Vue3 → ui-dev}/src/assets/icons/svg/server.svg +0 -0
  121. /package/{RuoYi-Vue3 → ui-dev}/src/assets/icons/svg/shopping.svg +0 -0
  122. /package/{RuoYi-Vue3 → ui-dev}/src/assets/icons/svg/size.svg +0 -0
  123. /package/{RuoYi-Vue3 → ui-dev}/src/assets/icons/svg/skill.svg +0 -0
  124. /package/{RuoYi-Vue3 → ui-dev}/src/assets/icons/svg/slider.svg +0 -0
  125. /package/{RuoYi-Vue3 → ui-dev}/src/assets/icons/svg/star.svg +0 -0
  126. /package/{RuoYi-Vue3 → ui-dev}/src/assets/icons/svg/swagger.svg +0 -0
  127. /package/{RuoYi-Vue3 → ui-dev}/src/assets/icons/svg/switch.svg +0 -0
  128. /package/{RuoYi-Vue3 → ui-dev}/src/assets/icons/svg/system.svg +0 -0
  129. /package/{RuoYi-Vue3 → ui-dev}/src/assets/icons/svg/tab.svg +0 -0
  130. /package/{RuoYi-Vue3 → ui-dev}/src/assets/icons/svg/table.svg +0 -0
  131. /package/{RuoYi-Vue3 → ui-dev}/src/assets/icons/svg/textarea.svg +0 -0
  132. /package/{RuoYi-Vue3 → ui-dev}/src/assets/icons/svg/theme.svg +0 -0
  133. /package/{RuoYi-Vue3 → ui-dev}/src/assets/icons/svg/time-range.svg +0 -0
  134. /package/{RuoYi-Vue3 → ui-dev}/src/assets/icons/svg/time.svg +0 -0
  135. /package/{RuoYi-Vue3 → ui-dev}/src/assets/icons/svg/tool.svg +0 -0
  136. /package/{RuoYi-Vue3 → ui-dev}/src/assets/icons/svg/tree-table.svg +0 -0
  137. /package/{RuoYi-Vue3 → ui-dev}/src/assets/icons/svg/tree.svg +0 -0
  138. /package/{RuoYi-Vue3 → ui-dev}/src/assets/icons/svg/upload.svg +0 -0
  139. /package/{RuoYi-Vue3 → ui-dev}/src/assets/icons/svg/user.svg +0 -0
  140. /package/{RuoYi-Vue3 → ui-dev}/src/assets/icons/svg/validCode.svg +0 -0
  141. /package/{RuoYi-Vue3 → ui-dev}/src/assets/icons/svg/wechat.svg +0 -0
  142. /package/{RuoYi-Vue3 → ui-dev}/src/assets/icons/svg/zip.svg +0 -0
  143. /package/{RuoYi-Vue3 → ui-dev}/src/assets/images/dark.svg +0 -0
  144. /package/{RuoYi-Vue3 → ui-dev}/src/assets/images/light.svg +0 -0
  145. /package/{RuoYi-Vue3 → ui-dev}/src/assets/images/login-background.jpg +0 -0
  146. /package/{RuoYi-Vue3 → ui-dev}/src/assets/images/pay.png +0 -0
  147. /package/{RuoYi-Vue3 → ui-dev}/src/assets/images/profile.jpg +0 -0
  148. /package/{RuoYi-Vue3 → ui-dev}/src/assets/logo/logo.png +0 -0
  149. /package/{RuoYi-Vue3 → ui-dev}/src/assets/styles/btn.scss +0 -0
  150. /package/{RuoYi-Vue3 → ui-dev}/src/assets/styles/element-ui.scss +0 -0
  151. /package/{RuoYi-Vue3 → ui-dev}/src/assets/styles/index.scss +0 -0
  152. /package/{RuoYi-Vue3 → ui-dev}/src/assets/styles/mixin.scss +0 -0
  153. /package/{RuoYi-Vue3 → ui-dev}/src/assets/styles/ruoyi.scss +0 -0
  154. /package/{RuoYi-Vue3 → ui-dev}/src/assets/styles/sidebar.scss +0 -0
  155. /package/{RuoYi-Vue3 → ui-dev}/src/assets/styles/transition.scss +0 -0
  156. /package/{RuoYi-Vue3 → ui-dev}/src/assets/styles/variables.module.scss +0 -0
  157. /package/{RuoYi-Vue3 → ui-dev}/src/components/Breadcrumb/index.vue +0 -0
  158. /package/{RuoYi-Vue3 → ui-dev}/src/components/Crontab/day.vue +0 -0
  159. /package/{RuoYi-Vue3 → ui-dev}/src/components/Crontab/hour.vue +0 -0
  160. /package/{RuoYi-Vue3 → ui-dev}/src/components/Crontab/index.vue +0 -0
  161. /package/{RuoYi-Vue3 → ui-dev}/src/components/Crontab/min.vue +0 -0
  162. /package/{RuoYi-Vue3 → ui-dev}/src/components/Crontab/month.vue +0 -0
  163. /package/{RuoYi-Vue3 → ui-dev}/src/components/Crontab/result.vue +0 -0
  164. /package/{RuoYi-Vue3 → ui-dev}/src/components/Crontab/second.vue +0 -0
  165. /package/{RuoYi-Vue3 → ui-dev}/src/components/Crontab/week.vue +0 -0
  166. /package/{RuoYi-Vue3 → ui-dev}/src/components/Crontab/year.vue +0 -0
  167. /package/{RuoYi-Vue3 → ui-dev}/src/components/DictTag/index.vue +0 -0
  168. /package/{RuoYi-Vue3 → ui-dev}/src/components/Editor/index.vue +0 -0
  169. /package/{RuoYi-Vue3 → ui-dev}/src/components/FileUpload/index.vue +0 -0
  170. /package/{RuoYi-Vue3 → ui-dev}/src/components/Hamburger/index.vue +0 -0
  171. /package/{RuoYi-Vue3 → ui-dev}/src/components/HeaderSearch/index.vue +0 -0
  172. /package/{RuoYi-Vue3 → ui-dev}/src/components/IconSelect/index.vue +0 -0
  173. /package/{RuoYi-Vue3 → ui-dev}/src/components/IconSelect/requireIcons.js +0 -0
  174. /package/{RuoYi-Vue3 → ui-dev}/src/components/ImagePreview/index.vue +0 -0
  175. /package/{RuoYi-Vue3 → ui-dev}/src/components/ImageUpload/index.vue +0 -0
  176. /package/{RuoYi-Vue3 → ui-dev}/src/components/Pagination/index.vue +0 -0
  177. /package/{RuoYi-Vue3 → ui-dev}/src/components/ParentView/index.vue +0 -0
  178. /package/{RuoYi-Vue3 → ui-dev}/src/components/RightToolbar/index.vue +0 -0
  179. /package/{RuoYi-Vue3 → ui-dev}/src/components/RuoYi/Doc/index.vue +0 -0
  180. /package/{RuoYi-Vue3 → ui-dev}/src/components/RuoYi/Git/index.vue +0 -0
  181. /package/{RuoYi-Vue3 → ui-dev}/src/components/Screenfull/index.vue +0 -0
  182. /package/{RuoYi-Vue3 → ui-dev}/src/components/SizeSelect/index.vue +0 -0
  183. /package/{RuoYi-Vue3 → ui-dev}/src/components/SvgIcon/index.vue +0 -0
  184. /package/{RuoYi-Vue3 → ui-dev}/src/components/SvgIcon/svgicon.js +0 -0
  185. /package/{RuoYi-Vue3 → ui-dev}/src/components/TopNav/index.vue +0 -0
  186. /package/{RuoYi-Vue3 → ui-dev}/src/components/TreeSelect/index.vue +0 -0
  187. /package/{RuoYi-Vue3 → ui-dev}/src/components/iFrame/index.vue +0 -0
  188. /package/{RuoYi-Vue3 → ui-dev}/src/directive/common/copyText.js +0 -0
  189. /package/{RuoYi-Vue3 → ui-dev}/src/directive/index.js +0 -0
  190. /package/{RuoYi-Vue3 → ui-dev}/src/directive/permission/hasPermi.js +0 -0
  191. /package/{RuoYi-Vue3 → ui-dev}/src/directive/permission/hasRole.js +0 -0
  192. /package/{RuoYi-Vue3 → ui-dev}/src/layout/components/AppMain.vue +0 -0
  193. /package/{RuoYi-Vue3 → ui-dev}/src/layout/components/IframeToggle/index.vue +0 -0
  194. /package/{RuoYi-Vue3 → ui-dev}/src/layout/components/InnerLink/index.vue +0 -0
  195. /package/{RuoYi-Vue3 → ui-dev}/src/layout/components/Navbar.vue +0 -0
  196. /package/{RuoYi-Vue3 → ui-dev}/src/layout/components/Settings/index.vue +0 -0
  197. /package/{RuoYi-Vue3 → ui-dev}/src/layout/components/Sidebar/Link.vue +0 -0
  198. /package/{RuoYi-Vue3 → ui-dev}/src/layout/components/Sidebar/Logo.vue +0 -0
  199. /package/{RuoYi-Vue3 → ui-dev}/src/layout/components/Sidebar/SidebarItem.vue +0 -0
  200. /package/{RuoYi-Vue3 → ui-dev}/src/layout/components/Sidebar/index.vue +0 -0
  201. /package/{RuoYi-Vue3 → ui-dev}/src/layout/components/TagsView/ScrollPane.vue +0 -0
  202. /package/{RuoYi-Vue3 → ui-dev}/src/layout/components/TagsView/index.vue +0 -0
  203. /package/{RuoYi-Vue3 → ui-dev}/src/layout/components/index.js +0 -0
  204. /package/{RuoYi-Vue3 → ui-dev}/src/layout/index.vue +0 -0
  205. /package/{RuoYi-Vue3 → ui-dev}/src/main.js +0 -0
  206. /package/{RuoYi-Vue3 → ui-dev}/src/permission.js +0 -0
  207. /package/{RuoYi-Vue3 → ui-dev}/src/plugins/auth.js +0 -0
  208. /package/{RuoYi-Vue3 → ui-dev}/src/plugins/cache.js +0 -0
  209. /package/{RuoYi-Vue3 → ui-dev}/src/plugins/download.js +0 -0
  210. /package/{RuoYi-Vue3 → ui-dev}/src/plugins/index.js +0 -0
  211. /package/{RuoYi-Vue3 → ui-dev}/src/plugins/modal.js +0 -0
  212. /package/{RuoYi-Vue3 → ui-dev}/src/plugins/tab.js +0 -0
  213. /package/{RuoYi-Vue3 → ui-dev}/src/router/index.js +0 -0
  214. /package/{RuoYi-Vue3 → ui-dev}/src/settings.js +0 -0
  215. /package/{RuoYi-Vue3 → ui-dev}/src/store/index.js +0 -0
  216. /package/{RuoYi-Vue3 → ui-dev}/src/store/modules/app.js +0 -0
  217. /package/{RuoYi-Vue3 → ui-dev}/src/store/modules/dict.js +0 -0
  218. /package/{RuoYi-Vue3 → ui-dev}/src/store/modules/permission.js +0 -0
  219. /package/{RuoYi-Vue3 → ui-dev}/src/store/modules/settings.js +0 -0
  220. /package/{RuoYi-Vue3 → ui-dev}/src/store/modules/tagsView.js +0 -0
  221. /package/{RuoYi-Vue3 → ui-dev}/src/store/modules/user.js +0 -0
  222. /package/{RuoYi-Vue3 → ui-dev}/src/utils/auth.js +0 -0
  223. /package/{RuoYi-Vue3 → ui-dev}/src/utils/dict.js +0 -0
  224. /package/{RuoYi-Vue3 → ui-dev}/src/utils/dynamicTitle.js +0 -0
  225. /package/{RuoYi-Vue3 → ui-dev}/src/utils/errorCode.js +0 -0
  226. /package/{RuoYi-Vue3 → ui-dev}/src/utils/index.js +0 -0
  227. /package/{RuoYi-Vue3 → ui-dev}/src/utils/jsencrypt.js +0 -0
  228. /package/{RuoYi-Vue3 → ui-dev}/src/utils/permission.js +0 -0
  229. /package/{RuoYi-Vue3 → ui-dev}/src/utils/request.js +0 -0
  230. /package/{RuoYi-Vue3 → ui-dev}/src/utils/ruoyi.js +0 -0
  231. /package/{RuoYi-Vue3 → ui-dev}/src/utils/scroll-to.js +0 -0
  232. /package/{RuoYi-Vue3 → ui-dev}/src/utils/theme.js +0 -0
  233. /package/{RuoYi-Vue3 → ui-dev}/src/utils/validate.js +0 -0
  234. /package/{RuoYi-Vue3 → ui-dev}/src/views/error/401.vue +0 -0
  235. /package/{RuoYi-Vue3 → ui-dev}/src/views/error/404.vue +0 -0
  236. /package/{RuoYi-Vue3 → ui-dev}/src/views/index.vue +0 -0
  237. /package/{RuoYi-Vue3 → ui-dev}/src/views/login.vue +0 -0
  238. /package/{RuoYi-Vue3 → ui-dev}/src/views/monitor/cache/index.vue +0 -0
  239. /package/{RuoYi-Vue3 → ui-dev}/src/views/monitor/cache/list.vue +0 -0
  240. /package/{RuoYi-Vue3 → ui-dev}/src/views/monitor/druid/index.vue +0 -0
  241. /package/{RuoYi-Vue3 → ui-dev}/src/views/monitor/job/index.vue +0 -0
  242. /package/{RuoYi-Vue3 → ui-dev}/src/views/monitor/job/log.vue +0 -0
  243. /package/{RuoYi-Vue3 → ui-dev}/src/views/monitor/logininfor/index.vue +0 -0
  244. /package/{RuoYi-Vue3 → ui-dev}/src/views/monitor/online/index.vue +0 -0
  245. /package/{RuoYi-Vue3 → ui-dev}/src/views/monitor/operlog/index.vue +0 -0
  246. /package/{RuoYi-Vue3 → ui-dev}/src/views/monitor/server/index.vue +0 -0
  247. /package/{RuoYi-Vue3 → ui-dev}/src/views/redirect/index.vue +0 -0
  248. /package/{RuoYi-Vue3 → ui-dev}/src/views/register.vue +0 -0
  249. /package/{RuoYi-Vue3 → ui-dev}/src/views/system/config/index.vue +0 -0
  250. /package/{RuoYi-Vue3 → ui-dev}/src/views/system/dept/index.vue +0 -0
  251. /package/{RuoYi-Vue3 → ui-dev}/src/views/system/dict/data.vue +0 -0
  252. /package/{RuoYi-Vue3 → ui-dev}/src/views/system/dict/index.vue +0 -0
  253. /package/{RuoYi-Vue3 → ui-dev}/src/views/system/menu/index.vue +0 -0
  254. /package/{RuoYi-Vue3 → ui-dev}/src/views/system/notice/index.vue +0 -0
  255. /package/{RuoYi-Vue3 → ui-dev}/src/views/system/post/index.vue +0 -0
  256. /package/{RuoYi-Vue3 → ui-dev}/src/views/system/role/authUser.vue +0 -0
  257. /package/{RuoYi-Vue3 → ui-dev}/src/views/system/role/index.vue +0 -0
  258. /package/{RuoYi-Vue3 → ui-dev}/src/views/system/role/selectUser.vue +0 -0
  259. /package/{RuoYi-Vue3 → ui-dev}/src/views/system/user/authRole.vue +0 -0
  260. /package/{RuoYi-Vue3 → ui-dev}/src/views/system/user/index.vue +0 -0
  261. /package/{RuoYi-Vue3 → ui-dev}/src/views/system/user/profile/index.vue +0 -0
  262. /package/{RuoYi-Vue3 → ui-dev}/src/views/system/user/profile/resetPwd.vue +0 -0
  263. /package/{RuoYi-Vue3 → ui-dev}/src/views/system/user/profile/userAvatar.vue +0 -0
  264. /package/{RuoYi-Vue3 → ui-dev}/src/views/system/user/profile/userInfo.vue +0 -0
  265. /package/{RuoYi-Vue3 → ui-dev}/src/views/tool/build/index.vue +0 -0
  266. /package/{RuoYi-Vue3 → ui-dev}/src/views/tool/gen/basicInfoForm.vue +0 -0
  267. /package/{RuoYi-Vue3 → ui-dev}/src/views/tool/gen/createTable.vue +0 -0
  268. /package/{RuoYi-Vue3 → ui-dev}/src/views/tool/gen/editTable.vue +0 -0
  269. /package/{RuoYi-Vue3 → ui-dev}/src/views/tool/gen/genInfoForm.vue +0 -0
  270. /package/{RuoYi-Vue3 → ui-dev}/src/views/tool/gen/importTable.vue +0 -0
  271. /package/{RuoYi-Vue3 → ui-dev}/src/views/tool/gen/index.vue +0 -0
  272. /package/{RuoYi-Vue3 → ui-dev}/src/views/tool/swagger/index.vue +0 -0
  273. /package/{RuoYi-Vue3 → ui-dev}/vite/plugins/auto-import.js +0 -0
  274. /package/{RuoYi-Vue3 → ui-dev}/vite/plugins/compression.js +0 -0
  275. /package/{RuoYi-Vue3 → ui-dev}/vite/plugins/index.js +0 -0
  276. /package/{RuoYi-Vue3 → ui-dev}/vite/plugins/setup-extend.js +0 -0
  277. /package/{RuoYi-Vue3 → ui-dev}/vite/plugins/svg-icon.js +0 -0
  278. /package/{RuoYi-Vue3 → ui-dev}/vite.config.js +0 -0
@@ -1,4045 +0,0 @@
1
-
2
- import {Entities, Entity, Storage, b2d, d2b, b2s, position, uInt32BEToBuffer, int32BEToBuffer,
3
- doubleBEToBuffer, bigint32BEToBuffer, bigUint32BEToBuffer, readInt24BE, readUint24BE, Store} from '@k3000/store/architect.mjs'
4
- import {struct} from '@k3000/store'
5
-
6
- const storage = new Storage(import.meta.url)
7
-
8
- const $deptId = 'deptId'
9
- const $parentId = 'parentId'
10
- const $ancestors = 'ancestors'
11
- const $deptName = 'deptName'
12
- const $orderNum = 'orderNum'
13
- const $leader = 'leader'
14
- const $phone = 'phone'
15
- const $email = 'email'
16
- const $status = 'status'
17
- const $delFlag = 'delFlag'
18
- const $createBy = 'createBy'
19
- const $createTime = 'createTime'
20
- const $updateBy = 'updateBy'
21
- const $updateTime = 'updateTime'
22
- const $userId = 'userId'
23
- const $userName = 'userName'
24
- const $nickName = 'nickName'
25
- const $userType = 'userType'
26
- const $phonenumber = 'phonenumber'
27
- const $sex = 'sex'
28
- const $avatar = 'avatar'
29
- const $password = 'password'
30
- const $loginIp = 'loginIp'
31
- const $loginDate = 'loginDate'
32
- const $remark = 'remark'
33
- const $jti = 'jti'
34
- const $postId = 'postId'
35
- const $postCode = 'postCode'
36
- const $postName = 'postName'
37
- const $postSort = 'postSort'
38
- const $roleId = 'roleId'
39
- const $roleName = 'roleName'
40
- const $roleKey = 'roleKey'
41
- const $roleSort = 'roleSort'
42
- const $dataScope = 'dataScope'
43
- const $menuCheckStrictly = 'menuCheckStrictly'
44
- const $deptCheckStrictly = 'deptCheckStrictly'
45
- const $menuId = 'menuId'
46
- const $menuName = 'menuName'
47
- const $path = 'path'
48
- const $component = 'component'
49
- const $query = 'query'
50
- const $isFrame = 'isFrame'
51
- const $isCache = 'isCache'
52
- const $menuType = 'menuType'
53
- const $visible = 'visible'
54
- const $perms = 'perms'
55
- const $icon = 'icon'
56
- const $operId = 'operId'
57
- const $title = 'title'
58
- const $businessType = 'businessType'
59
- const $method = 'method'
60
- const $requestMethod = 'requestMethod'
61
- const $operatorType = 'operatorType'
62
- const $operName = 'operName'
63
- const $operUrl = 'operUrl'
64
- const $operIp = 'operIp'
65
- const $operLocation = 'operLocation'
66
- const $operParam = 'operParam'
67
- const $jsonResult = 'jsonResult'
68
- const $errorMsg = 'errorMsg'
69
- const $operTime = 'operTime'
70
- const $costTime = 'costTime'
71
- const $dictId = 'dictId'
72
- const $dictName = 'dictName'
73
- const $dictType = 'dictType'
74
- const $dictCode = 'dictCode'
75
- const $dictSort = 'dictSort'
76
- const $dictLabel = 'dictLabel'
77
- const $dictValue = 'dictValue'
78
- const $cssClass = 'cssClass'
79
- const $listClass = 'listClass'
80
- const $isDefault = 'isDefault'
81
- const $configId = 'configId'
82
- const $configName = 'configName'
83
- const $configKey = 'configKey'
84
- const $configValue = 'configValue'
85
- const $configType = 'configType'
86
- const $infoId = 'infoId'
87
- const $ipaddr = 'ipaddr'
88
- const $loginLocation = 'loginLocation'
89
- const $browser = 'browser'
90
- const $os = 'os'
91
- const $msg = 'msg'
92
- const $loginTime = 'loginTime'
93
- const $jobId = 'jobId'
94
- const $jobName = 'jobName'
95
- const $jobGroup = 'jobGroup'
96
- const $invokeTarget = 'invokeTarget'
97
- const $cronExpression = 'cronExpression'
98
- const $misfirePolicy = 'misfirePolicy'
99
- const $concurrent = 'concurrent'
100
- const $jobLogId = 'jobLogId'
101
- const $jobMessage = 'jobMessage'
102
- const $exceptionInfo = 'exceptionInfo'
103
- const $noticeId = 'noticeId'
104
- const $noticeTitle = 'noticeTitle'
105
- const $noticeType = 'noticeType'
106
- const $noticeContent = 'noticeContent'
107
- const $tableId = 'tableId'
108
- const $tableName = 'tableName'
109
- const $tableComment = 'tableComment'
110
- const $subTableName = 'subTableName'
111
- const $subTableFkName = 'subTableFkName'
112
- const $className = 'className'
113
- const $tplCategory = 'tplCategory'
114
- const $tplWebType = 'tplWebType'
115
- const $packageName = 'packageName'
116
- const $moduleName = 'moduleName'
117
- const $businessName = 'businessName'
118
- const $functionName = 'functionName'
119
- const $functionAuthor = 'functionAuthor'
120
- const $genType = 'genType'
121
- const $genPath = 'genPath'
122
- const $options = 'options'
123
- const $columnId = 'columnId'
124
- const $columnName = 'columnName'
125
- const $columnComment = 'columnComment'
126
- const $columnType = 'columnType'
127
- const $javaType = 'javaType'
128
- const $javaField = 'javaField'
129
- const $isPk = 'isPk'
130
- const $isIncrement = 'isIncrement'
131
- const $isRequired = 'isRequired'
132
- const $isInsert = 'isInsert'
133
- const $isEdit = 'isEdit'
134
- const $isList = 'isList'
135
- const $isQuery = 'isQuery'
136
- const $queryType = 'queryType'
137
- const $htmlType = 'htmlType'
138
- const $sort = 'sort'
139
- const $id = 'id'
140
- const $permissions = 'permissions'
141
- const $name = 'name'
142
- const $host = 'host'
143
- const $port = 'port'
144
- const $param1 = 'param1'
145
- const $param2 = 'param2'
146
- const $type = 'type'
147
-
148
- class SysDept extends Entity {
149
-
150
- static name = 'sysDept'
151
-
152
- static create({
153
- ancestors,
154
- createBy,
155
- createTime,
156
- delFlag,
157
- deptId,
158
- deptName,
159
- email,
160
- leader,
161
- orderNum,
162
- parentId,
163
- phone,
164
- status,
165
- updateBy,
166
- updateTime
167
- }) {
168
-
169
- return {
170
- ancestors,
171
- createBy,
172
- createTime: createTime || new Date(),
173
- delFlag: delFlag || '0',
174
- deptId: storage.updateValue(deptId, SysDept.name, $deptId),
175
- deptName,
176
- email,
177
- leader,
178
- orderNum,
179
- parentId,
180
- phone,
181
- status: status || '0',
182
- updateBy,
183
- updateTime: updateTime || new Date(),
184
- }
185
- }
186
-
187
- constructor(...arg) {
188
-
189
- super(storage, ...arg)
190
-
191
- return Object.defineProperties({}, {
192
- [position]: {
193
- enumerable: false,
194
- configurable: false,
195
- get: () => this[position],
196
- },
197
- ancestors: {
198
- enumerable: true,
199
- configurable: false,
200
- get: () => b2s(super.get($ancestors)),
201
- set: ancestors => {
202
- super.set($ancestors, super.s2b(ancestors, $ancestors))
203
- this.#update()
204
- },
205
- },
206
- createBy: {
207
- enumerable: true,
208
- configurable: false,
209
- get: () => b2s(super.get($createBy)),
210
- set: createBy => {
211
- super.set($createBy, super.s2b(createBy, $createBy))
212
- this.#update()
213
- },
214
- },
215
- createTime: {
216
- enumerable: true,
217
- configurable: false,
218
- get: () => b2d(super.get($createTime)),
219
- set: createTime => {
220
- super.set($createTime, d2b(createTime))
221
- this.#update()
222
- },
223
- },
224
- delFlag: {
225
- enumerable: true,
226
- configurable: false,
227
- get: () => b2s(super.get($delFlag)),
228
- set: delFlag => {
229
- super.set($delFlag, super.s2b(delFlag, $delFlag))
230
- this.#update()
231
- },
232
- },
233
- deptId: {
234
- enumerable: true,
235
- configurable: false,
236
- get: () => super.get($deptId).readInt32BE(0),
237
- set: deptId => {
238
- super.set($deptId, super.intToBuffer(deptId, $deptId))
239
- this.#update()
240
- },
241
- },
242
- deptName: {
243
- enumerable: true,
244
- configurable: false,
245
- get: () => b2s(super.get($deptName)),
246
- set: deptName => {
247
- super.set($deptName, super.s2b(deptName, $deptName))
248
- this.#update()
249
- },
250
- },
251
- email: {
252
- enumerable: true,
253
- configurable: false,
254
- get: () => b2s(super.get($email)),
255
- set: email => {
256
- super.set($email, super.s2b(email, $email))
257
- this.#update()
258
- },
259
- },
260
- leader: {
261
- enumerable: true,
262
- configurable: false,
263
- get: () => b2s(super.get($leader)),
264
- set: leader => {
265
- super.set($leader, super.s2b(leader, $leader))
266
- this.#update()
267
- },
268
- },
269
- orderNum: {
270
- enumerable: true,
271
- configurable: false,
272
- get: () => super.get($orderNum).readInt32BE(0),
273
- set: orderNum => {
274
- super.set($orderNum, super.intToBuffer(orderNum, $orderNum))
275
- this.#update()
276
- },
277
- },
278
- parentId: {
279
- enumerable: true,
280
- configurable: false,
281
- get: () => super.get($parentId).readInt32BE(0),
282
- set: parentId => {
283
- super.set($parentId, super.intToBuffer(parentId, $parentId))
284
- this.#update()
285
- },
286
- },
287
- phone: {
288
- enumerable: true,
289
- configurable: false,
290
- get: () => b2s(super.get($phone)),
291
- set: phone => {
292
- super.set($phone, super.s2b(phone, $phone))
293
- this.#update()
294
- },
295
- },
296
- status: {
297
- enumerable: true,
298
- configurable: false,
299
- get: () => b2s(super.get($status)),
300
- set: status => {
301
- super.set($status, super.s2b(status, $status))
302
- this.#update()
303
- },
304
- },
305
- updateBy: {
306
- enumerable: true,
307
- configurable: false,
308
- get: () => b2s(super.get($updateBy)),
309
- set: updateBy => {
310
- super.set($updateBy, super.s2b(updateBy, $updateBy))
311
- this.#update()
312
- },
313
- },
314
- updateTime: {
315
- enumerable: true,
316
- configurable: false,
317
- get: () => b2d(super.get($updateTime)),
318
- set: updateTime => super.set($updateTime, d2b(updateTime)),
319
- },
320
- })
321
- }
322
-
323
-
324
- #update() {
325
-
326
- this.updateTime = Date.now()
327
- }
328
- }
329
-
330
- class SysUser extends Entity {
331
-
332
- static name = 'sysUser'
333
-
334
- static create({
335
- avatar,
336
- createBy,
337
- createTime,
338
- delFlag,
339
- deptId,
340
- email,
341
- jti,
342
- loginDate,
343
- loginIp,
344
- nickName,
345
- password,
346
- phonenumber,
347
- remark,
348
- sex,
349
- status,
350
- updateBy,
351
- updateTime,
352
- userId,
353
- userName,
354
- userType
355
- }) {
356
-
357
- return {
358
- avatar,
359
- createBy,
360
- createTime: createTime || new Date(),
361
- delFlag: delFlag || '0',
362
- deptId,
363
- email,
364
- jti,
365
- loginDate,
366
- loginIp,
367
- nickName,
368
- password,
369
- phonenumber,
370
- remark,
371
- sex,
372
- status: status || '0',
373
- updateBy,
374
- updateTime: updateTime || new Date(),
375
- userId: storage.updateValue(userId, SysUser.name, $userId),
376
- userName,
377
- userType,
378
- }
379
- }
380
-
381
- constructor(...arg) {
382
-
383
- super(storage, ...arg)
384
-
385
- return Object.defineProperties({}, {
386
- [position]: {
387
- enumerable: false,
388
- configurable: false,
389
- get: () => this[position],
390
- },
391
- avatar: {
392
- enumerable: true,
393
- configurable: false,
394
- get: () => b2s(super.get($avatar)),
395
- set: avatar => {
396
- super.set($avatar, super.s2b(avatar, $avatar))
397
- this.#update()
398
- },
399
- },
400
- createBy: {
401
- enumerable: true,
402
- configurable: false,
403
- get: () => b2s(super.get($createBy)),
404
- set: createBy => {
405
- super.set($createBy, super.s2b(createBy, $createBy))
406
- this.#update()
407
- },
408
- },
409
- createTime: {
410
- enumerable: true,
411
- configurable: false,
412
- get: () => b2d(super.get($createTime)),
413
- set: createTime => {
414
- super.set($createTime, d2b(createTime))
415
- this.#update()
416
- },
417
- },
418
- delFlag: {
419
- enumerable: true,
420
- configurable: false,
421
- get: () => b2s(super.get($delFlag)),
422
- set: delFlag => {
423
- super.set($delFlag, super.s2b(delFlag, $delFlag))
424
- this.#update()
425
- },
426
- },
427
- deptId: {
428
- enumerable: true,
429
- configurable: false,
430
- get: () => super.get($deptId).readInt32BE(0),
431
- set: deptId => {
432
- super.set($deptId, super.intToBuffer(deptId, $deptId))
433
- this.#update()
434
- },
435
- },
436
- email: {
437
- enumerable: true,
438
- configurable: false,
439
- get: () => b2s(super.get($email)),
440
- set: email => {
441
- super.set($email, super.s2b(email, $email))
442
- this.#update()
443
- },
444
- },
445
- jti: {
446
- enumerable: true,
447
- configurable: false,
448
- get: () => super.get($jti).readUInt32BE(0),
449
- set: jti => {
450
- super.set($jti, super.uintToBuffer(jti, $jti))
451
- this.#update()
452
- },
453
- },
454
- loginDate: {
455
- enumerable: true,
456
- configurable: false,
457
- get: () => b2d(super.get($loginDate)),
458
- set: loginDate => {
459
- super.set($loginDate, d2b(loginDate))
460
- this.#update()
461
- },
462
- },
463
- loginIp: {
464
- enumerable: true,
465
- configurable: false,
466
- get: () => b2s(super.get($loginIp)),
467
- set: loginIp => {
468
- super.set($loginIp, super.s2b(loginIp, $loginIp))
469
- this.#update()
470
- },
471
- },
472
- nickName: {
473
- enumerable: true,
474
- configurable: false,
475
- get: () => b2s(super.get($nickName)),
476
- set: nickName => {
477
- super.set($nickName, super.s2b(nickName, $nickName))
478
- this.#update()
479
- },
480
- },
481
- password: {
482
- enumerable: true,
483
- configurable: false,
484
- get: () => b2s(super.get($password)),
485
- set: password => {
486
- super.set($password, super.s2b(password, $password))
487
- this.#update()
488
- },
489
- },
490
- phonenumber: {
491
- enumerable: true,
492
- configurable: false,
493
- get: () => b2s(super.get($phonenumber)),
494
- set: phonenumber => {
495
- super.set($phonenumber, super.s2b(phonenumber, $phonenumber))
496
- this.#update()
497
- },
498
- },
499
- remark: {
500
- enumerable: true,
501
- configurable: false,
502
- get: () => b2s(super.get($remark)),
503
- set: remark => {
504
- super.set($remark, super.s2b(remark, $remark))
505
- this.#update()
506
- },
507
- },
508
- sex: {
509
- enumerable: true,
510
- configurable: false,
511
- get: () => b2s(super.get($sex)),
512
- set: sex => {
513
- super.set($sex, super.s2b(sex, $sex))
514
- this.#update()
515
- },
516
- },
517
- status: {
518
- enumerable: true,
519
- configurable: false,
520
- get: () => b2s(super.get($status)),
521
- set: status => {
522
- super.set($status, super.s2b(status, $status))
523
- this.#update()
524
- },
525
- },
526
- updateBy: {
527
- enumerable: true,
528
- configurable: false,
529
- get: () => b2s(super.get($updateBy)),
530
- set: updateBy => {
531
- super.set($updateBy, super.s2b(updateBy, $updateBy))
532
- this.#update()
533
- },
534
- },
535
- updateTime: {
536
- enumerable: true,
537
- configurable: false,
538
- get: () => b2d(super.get($updateTime)),
539
- set: updateTime => super.set($updateTime, d2b(updateTime)),
540
- },
541
- userId: {
542
- enumerable: true,
543
- configurable: false,
544
- get: () => super.get($userId).readInt32BE(0),
545
- set: userId => {
546
- super.set($userId, super.intToBuffer(userId, $userId))
547
- this.#update()
548
- },
549
- },
550
- userName: {
551
- enumerable: true,
552
- configurable: false,
553
- get: () => b2s(super.get($userName)),
554
- set: userName => {
555
- super.set($userName, super.s2b(userName, $userName))
556
- this.#update()
557
- },
558
- },
559
- userType: {
560
- enumerable: true,
561
- configurable: false,
562
- get: () => b2s(super.get($userType)),
563
- set: userType => {
564
- super.set($userType, super.s2b(userType, $userType))
565
- this.#update()
566
- },
567
- },
568
- })
569
- }
570
-
571
-
572
- #update() {
573
-
574
- this.updateTime = Date.now()
575
- }
576
- }
577
-
578
- class SysPost extends Entity {
579
-
580
- static name = 'sysPost'
581
-
582
- static create({
583
- createBy,
584
- createTime,
585
- postCode,
586
- postId,
587
- postName,
588
- postSort,
589
- remark,
590
- status,
591
- updateBy,
592
- updateTime
593
- }) {
594
-
595
- return {
596
- createBy,
597
- createTime: createTime || new Date(),
598
- postCode,
599
- postId: storage.updateValue(postId, SysPost.name, $postId),
600
- postName,
601
- postSort,
602
- remark,
603
- status: status || '0',
604
- updateBy,
605
- updateTime: updateTime || new Date(),
606
- }
607
- }
608
-
609
- constructor(...arg) {
610
-
611
- super(storage, ...arg)
612
-
613
- return Object.defineProperties({}, {
614
- [position]: {
615
- enumerable: false,
616
- configurable: false,
617
- get: () => this[position],
618
- },
619
- createBy: {
620
- enumerable: true,
621
- configurable: false,
622
- get: () => b2s(super.get($createBy)),
623
- set: createBy => {
624
- super.set($createBy, super.s2b(createBy, $createBy))
625
- this.#update()
626
- },
627
- },
628
- createTime: {
629
- enumerable: true,
630
- configurable: false,
631
- get: () => b2d(super.get($createTime)),
632
- set: createTime => {
633
- super.set($createTime, d2b(createTime))
634
- this.#update()
635
- },
636
- },
637
- postCode: {
638
- enumerable: true,
639
- configurable: false,
640
- get: () => b2s(super.get($postCode)),
641
- set: postCode => {
642
- super.set($postCode, super.s2b(postCode, $postCode))
643
- this.#update()
644
- },
645
- },
646
- postId: {
647
- enumerable: true,
648
- configurable: false,
649
- get: () => super.get($postId).readInt32BE(0),
650
- set: postId => {
651
- super.set($postId, super.intToBuffer(postId, $postId))
652
- this.#update()
653
- },
654
- },
655
- postName: {
656
- enumerable: true,
657
- configurable: false,
658
- get: () => b2s(super.get($postName)),
659
- set: postName => {
660
- super.set($postName, super.s2b(postName, $postName))
661
- this.#update()
662
- },
663
- },
664
- postSort: {
665
- enumerable: true,
666
- configurable: false,
667
- get: () => super.get($postSort).readInt32BE(0),
668
- set: postSort => {
669
- super.set($postSort, super.intToBuffer(postSort, $postSort))
670
- this.#update()
671
- },
672
- },
673
- remark: {
674
- enumerable: true,
675
- configurable: false,
676
- get: () => b2s(super.get($remark)),
677
- set: remark => {
678
- super.set($remark, super.s2b(remark, $remark))
679
- this.#update()
680
- },
681
- },
682
- status: {
683
- enumerable: true,
684
- configurable: false,
685
- get: () => b2s(super.get($status)),
686
- set: status => {
687
- super.set($status, super.s2b(status, $status))
688
- this.#update()
689
- },
690
- },
691
- updateBy: {
692
- enumerable: true,
693
- configurable: false,
694
- get: () => b2s(super.get($updateBy)),
695
- set: updateBy => {
696
- super.set($updateBy, super.s2b(updateBy, $updateBy))
697
- this.#update()
698
- },
699
- },
700
- updateTime: {
701
- enumerable: true,
702
- configurable: false,
703
- get: () => b2d(super.get($updateTime)),
704
- set: updateTime => super.set($updateTime, d2b(updateTime)),
705
- },
706
- })
707
- }
708
-
709
-
710
- #update() {
711
-
712
- this.updateTime = Date.now()
713
- }
714
- }
715
-
716
- class SysRole extends Entity {
717
-
718
- static name = 'sysRole'
719
-
720
- static create({
721
- createBy,
722
- createTime,
723
- dataScope,
724
- delFlag,
725
- deptCheckStrictly,
726
- menuCheckStrictly,
727
- remark,
728
- roleId,
729
- roleKey,
730
- roleName,
731
- roleSort,
732
- status,
733
- updateBy,
734
- updateTime
735
- }) {
736
-
737
- return {
738
- createBy,
739
- createTime: createTime || new Date(),
740
- dataScope,
741
- delFlag: delFlag || '0',
742
- deptCheckStrictly,
743
- menuCheckStrictly,
744
- remark,
745
- roleId: storage.updateValue(roleId, SysRole.name, $roleId),
746
- roleKey,
747
- roleName,
748
- roleSort,
749
- status: status || '0',
750
- updateBy,
751
- updateTime: updateTime || new Date(),
752
- }
753
- }
754
-
755
- constructor(...arg) {
756
-
757
- super(storage, ...arg)
758
-
759
- return Object.defineProperties({}, {
760
- [position]: {
761
- enumerable: false,
762
- configurable: false,
763
- get: () => this[position],
764
- },
765
- createBy: {
766
- enumerable: true,
767
- configurable: false,
768
- get: () => b2s(super.get($createBy)),
769
- set: createBy => {
770
- super.set($createBy, super.s2b(createBy, $createBy))
771
- this.#update()
772
- },
773
- },
774
- createTime: {
775
- enumerable: true,
776
- configurable: false,
777
- get: () => b2d(super.get($createTime)),
778
- set: createTime => {
779
- super.set($createTime, d2b(createTime))
780
- this.#update()
781
- },
782
- },
783
- dataScope: {
784
- enumerable: true,
785
- configurable: false,
786
- get: () => b2s(super.get($dataScope)),
787
- set: dataScope => {
788
- super.set($dataScope, super.s2b(dataScope, $dataScope))
789
- this.#update()
790
- },
791
- },
792
- delFlag: {
793
- enumerable: true,
794
- configurable: false,
795
- get: () => b2s(super.get($delFlag)),
796
- set: delFlag => {
797
- super.set($delFlag, super.s2b(delFlag, $delFlag))
798
- this.#update()
799
- },
800
- },
801
- deptCheckStrictly: {
802
- enumerable: true,
803
- configurable: false,
804
- get: () => super.get($deptCheckStrictly).readInt8(0),
805
- set: deptCheckStrictly => {
806
- super.set($deptCheckStrictly, super.intToBuffer(deptCheckStrictly, $deptCheckStrictly))
807
- this.#update()
808
- },
809
- },
810
- menuCheckStrictly: {
811
- enumerable: true,
812
- configurable: false,
813
- get: () => super.get($menuCheckStrictly).readInt8(0),
814
- set: menuCheckStrictly => {
815
- super.set($menuCheckStrictly, super.intToBuffer(menuCheckStrictly, $menuCheckStrictly))
816
- this.#update()
817
- },
818
- },
819
- remark: {
820
- enumerable: true,
821
- configurable: false,
822
- get: () => b2s(super.get($remark)),
823
- set: remark => {
824
- super.set($remark, super.s2b(remark, $remark))
825
- this.#update()
826
- },
827
- },
828
- roleId: {
829
- enumerable: true,
830
- configurable: false,
831
- get: () => super.get($roleId).readInt32BE(0),
832
- set: roleId => {
833
- super.set($roleId, super.intToBuffer(roleId, $roleId))
834
- this.#update()
835
- },
836
- },
837
- roleKey: {
838
- enumerable: true,
839
- configurable: false,
840
- get: () => b2s(super.get($roleKey)),
841
- set: roleKey => {
842
- super.set($roleKey, super.s2b(roleKey, $roleKey))
843
- this.#update()
844
- },
845
- },
846
- roleName: {
847
- enumerable: true,
848
- configurable: false,
849
- get: () => b2s(super.get($roleName)),
850
- set: roleName => {
851
- super.set($roleName, super.s2b(roleName, $roleName))
852
- this.#update()
853
- },
854
- },
855
- roleSort: {
856
- enumerable: true,
857
- configurable: false,
858
- get: () => super.get($roleSort).readInt32BE(0),
859
- set: roleSort => {
860
- super.set($roleSort, super.intToBuffer(roleSort, $roleSort))
861
- this.#update()
862
- },
863
- },
864
- status: {
865
- enumerable: true,
866
- configurable: false,
867
- get: () => b2s(super.get($status)),
868
- set: status => {
869
- super.set($status, super.s2b(status, $status))
870
- this.#update()
871
- },
872
- },
873
- updateBy: {
874
- enumerable: true,
875
- configurable: false,
876
- get: () => b2s(super.get($updateBy)),
877
- set: updateBy => {
878
- super.set($updateBy, super.s2b(updateBy, $updateBy))
879
- this.#update()
880
- },
881
- },
882
- updateTime: {
883
- enumerable: true,
884
- configurable: false,
885
- get: () => b2d(super.get($updateTime)),
886
- set: updateTime => super.set($updateTime, d2b(updateTime)),
887
- },
888
- })
889
- }
890
-
891
-
892
- #update() {
893
-
894
- this.updateTime = Date.now()
895
- }
896
- }
897
-
898
- class SysMenu extends Entity {
899
-
900
- static name = 'sysMenu'
901
-
902
- static create({
903
- component,
904
- createBy,
905
- createTime,
906
- icon,
907
- isCache,
908
- isFrame,
909
- menuId,
910
- menuName,
911
- menuType,
912
- orderNum,
913
- parentId,
914
- path,
915
- perms,
916
- query,
917
- remark,
918
- status,
919
- updateBy,
920
- updateTime,
921
- visible
922
- }) {
923
-
924
- return {
925
- component: component || '',
926
- createBy,
927
- createTime: createTime || new Date(),
928
- icon,
929
- isCache,
930
- isFrame,
931
- menuId: storage.updateValue(menuId, SysMenu.name, $menuId),
932
- menuName,
933
- menuType,
934
- orderNum,
935
- parentId,
936
- path,
937
- perms,
938
- query,
939
- remark,
940
- status: status || '0',
941
- updateBy,
942
- updateTime: updateTime || new Date(),
943
- visible,
944
- }
945
- }
946
-
947
- constructor(...arg) {
948
-
949
- super(storage, ...arg)
950
-
951
- return Object.defineProperties({}, {
952
- [position]: {
953
- enumerable: false,
954
- configurable: false,
955
- get: () => this[position],
956
- },
957
- component: {
958
- enumerable: true,
959
- configurable: false,
960
- get: () => b2s(super.get($component)),
961
- set: component => {
962
- super.set($component, super.s2b(component, $component))
963
- this.#update()
964
- },
965
- },
966
- createBy: {
967
- enumerable: true,
968
- configurable: false,
969
- get: () => b2s(super.get($createBy)),
970
- set: createBy => {
971
- super.set($createBy, super.s2b(createBy, $createBy))
972
- this.#update()
973
- },
974
- },
975
- createTime: {
976
- enumerable: true,
977
- configurable: false,
978
- get: () => b2d(super.get($createTime)),
979
- set: createTime => {
980
- super.set($createTime, d2b(createTime))
981
- this.#update()
982
- },
983
- },
984
- icon: {
985
- enumerable: true,
986
- configurable: false,
987
- get: () => b2s(super.get($icon)),
988
- set: icon => {
989
- super.set($icon, super.s2b(icon, $icon))
990
- this.#update()
991
- },
992
- },
993
- isCache: {
994
- enumerable: true,
995
- configurable: false,
996
- get: () => super.get($isCache).readInt8(0),
997
- set: isCache => {
998
- super.set($isCache, super.intToBuffer(isCache, $isCache))
999
- this.#update()
1000
- },
1001
- },
1002
- isFrame: {
1003
- enumerable: true,
1004
- configurable: false,
1005
- get: () => super.get($isFrame).readInt8(0),
1006
- set: isFrame => {
1007
- super.set($isFrame, super.intToBuffer(isFrame, $isFrame))
1008
- this.#update()
1009
- },
1010
- },
1011
- menuId: {
1012
- enumerable: true,
1013
- configurable: false,
1014
- get: () => super.get($menuId).readInt32BE(0),
1015
- set: menuId => {
1016
- super.set($menuId, super.intToBuffer(menuId, $menuId))
1017
- this.#update()
1018
- },
1019
- },
1020
- menuName: {
1021
- enumerable: true,
1022
- configurable: false,
1023
- get: () => b2s(super.get($menuName)),
1024
- set: menuName => {
1025
- super.set($menuName, super.s2b(menuName, $menuName))
1026
- this.#update()
1027
- },
1028
- },
1029
- menuType: {
1030
- enumerable: true,
1031
- configurable: false,
1032
- get: () => b2s(super.get($menuType)),
1033
- set: menuType => {
1034
- super.set($menuType, super.s2b(menuType, $menuType))
1035
- this.#update()
1036
- },
1037
- },
1038
- orderNum: {
1039
- enumerable: true,
1040
- configurable: false,
1041
- get: () => super.get($orderNum).readInt32BE(0),
1042
- set: orderNum => {
1043
- super.set($orderNum, super.intToBuffer(orderNum, $orderNum))
1044
- this.#update()
1045
- },
1046
- },
1047
- parentId: {
1048
- enumerable: true,
1049
- configurable: false,
1050
- get: () => super.get($parentId).readInt32BE(0),
1051
- set: parentId => {
1052
- super.set($parentId, super.intToBuffer(parentId, $parentId))
1053
- this.#update()
1054
- },
1055
- },
1056
- path: {
1057
- enumerable: true,
1058
- configurable: false,
1059
- get: () => b2s(super.get($path)),
1060
- set: path => {
1061
- super.set($path, super.s2b(path, $path))
1062
- this.#update()
1063
- },
1064
- },
1065
- perms: {
1066
- enumerable: true,
1067
- configurable: false,
1068
- get: () => b2s(super.get($perms)),
1069
- set: perms => {
1070
- super.set($perms, super.s2b(perms, $perms))
1071
- this.#update()
1072
- },
1073
- },
1074
- query: {
1075
- enumerable: true,
1076
- configurable: false,
1077
- get: () => b2s(super.get($query)),
1078
- set: query => {
1079
- super.set($query, super.s2b(query, $query))
1080
- this.#update()
1081
- },
1082
- },
1083
- remark: {
1084
- enumerable: true,
1085
- configurable: false,
1086
- get: () => b2s(super.get($remark)),
1087
- set: remark => {
1088
- super.set($remark, super.s2b(remark, $remark))
1089
- this.#update()
1090
- },
1091
- },
1092
- status: {
1093
- enumerable: true,
1094
- configurable: false,
1095
- get: () => b2s(super.get($status)),
1096
- set: status => {
1097
- super.set($status, super.s2b(status, $status))
1098
- this.#update()
1099
- },
1100
- },
1101
- updateBy: {
1102
- enumerable: true,
1103
- configurable: false,
1104
- get: () => b2s(super.get($updateBy)),
1105
- set: updateBy => {
1106
- super.set($updateBy, super.s2b(updateBy, $updateBy))
1107
- this.#update()
1108
- },
1109
- },
1110
- updateTime: {
1111
- enumerable: true,
1112
- configurable: false,
1113
- get: () => b2d(super.get($updateTime)),
1114
- set: updateTime => super.set($updateTime, d2b(updateTime)),
1115
- },
1116
- visible: {
1117
- enumerable: true,
1118
- configurable: false,
1119
- get: () => b2s(super.get($visible)),
1120
- set: visible => {
1121
- super.set($visible, super.s2b(visible, $visible))
1122
- this.#update()
1123
- },
1124
- },
1125
- })
1126
- }
1127
-
1128
-
1129
- #update() {
1130
-
1131
- this.updateTime = Date.now()
1132
- }
1133
- }
1134
-
1135
- class SysUserRole extends Entity {
1136
-
1137
- static name = 'sysUserRole'
1138
-
1139
- static create({
1140
- roleId,
1141
- userId
1142
- }) {
1143
-
1144
- return {
1145
- roleId,
1146
- userId,
1147
- }
1148
- }
1149
-
1150
- constructor(...arg) {
1151
-
1152
- super(storage, ...arg)
1153
-
1154
- return Object.defineProperties({}, {
1155
- [position]: {
1156
- enumerable: false,
1157
- configurable: false,
1158
- get: () => this[position],
1159
- },
1160
- roleId: {
1161
- enumerable: true,
1162
- configurable: false,
1163
- get: () => super.get($roleId).readInt32BE(0),
1164
- set: roleId => super.set($roleId, super.intToBuffer(roleId, $roleId)),
1165
- },
1166
- userId: {
1167
- enumerable: true,
1168
- configurable: false,
1169
- get: () => super.get($userId).readInt32BE(0),
1170
- set: userId => super.set($userId, super.intToBuffer(userId, $userId)),
1171
- },
1172
- })
1173
- }
1174
-
1175
- }
1176
-
1177
- class SysRoleMenu extends Entity {
1178
-
1179
- static name = 'sysRoleMenu'
1180
-
1181
- static create({
1182
- menuId,
1183
- roleId
1184
- }) {
1185
-
1186
- return {
1187
- menuId,
1188
- roleId,
1189
- }
1190
- }
1191
-
1192
- constructor(...arg) {
1193
-
1194
- super(storage, ...arg)
1195
-
1196
- return Object.defineProperties({}, {
1197
- [position]: {
1198
- enumerable: false,
1199
- configurable: false,
1200
- get: () => this[position],
1201
- },
1202
- menuId: {
1203
- enumerable: true,
1204
- configurable: false,
1205
- get: () => super.get($menuId).readInt32BE(0),
1206
- set: menuId => super.set($menuId, super.intToBuffer(menuId, $menuId)),
1207
- },
1208
- roleId: {
1209
- enumerable: true,
1210
- configurable: false,
1211
- get: () => super.get($roleId).readInt32BE(0),
1212
- set: roleId => super.set($roleId, super.intToBuffer(roleId, $roleId)),
1213
- },
1214
- })
1215
- }
1216
-
1217
- }
1218
-
1219
- class SysRoleDept extends Entity {
1220
-
1221
- static name = 'sysRoleDept'
1222
-
1223
- static create({
1224
- deptId,
1225
- roleId
1226
- }) {
1227
-
1228
- return {
1229
- deptId,
1230
- roleId,
1231
- }
1232
- }
1233
-
1234
- constructor(...arg) {
1235
-
1236
- super(storage, ...arg)
1237
-
1238
- return Object.defineProperties({}, {
1239
- [position]: {
1240
- enumerable: false,
1241
- configurable: false,
1242
- get: () => this[position],
1243
- },
1244
- deptId: {
1245
- enumerable: true,
1246
- configurable: false,
1247
- get: () => super.get($deptId).readInt32BE(0),
1248
- set: deptId => super.set($deptId, super.intToBuffer(deptId, $deptId)),
1249
- },
1250
- roleId: {
1251
- enumerable: true,
1252
- configurable: false,
1253
- get: () => super.get($roleId).readInt32BE(0),
1254
- set: roleId => super.set($roleId, super.intToBuffer(roleId, $roleId)),
1255
- },
1256
- })
1257
- }
1258
-
1259
- }
1260
-
1261
- class SysUserPost extends Entity {
1262
-
1263
- static name = 'sysUserPost'
1264
-
1265
- static create({
1266
- postId,
1267
- userId
1268
- }) {
1269
-
1270
- return {
1271
- postId,
1272
- userId,
1273
- }
1274
- }
1275
-
1276
- constructor(...arg) {
1277
-
1278
- super(storage, ...arg)
1279
-
1280
- return Object.defineProperties({}, {
1281
- [position]: {
1282
- enumerable: false,
1283
- configurable: false,
1284
- get: () => this[position],
1285
- },
1286
- postId: {
1287
- enumerable: true,
1288
- configurable: false,
1289
- get: () => super.get($postId).readInt32BE(0),
1290
- set: postId => super.set($postId, super.intToBuffer(postId, $postId)),
1291
- },
1292
- userId: {
1293
- enumerable: true,
1294
- configurable: false,
1295
- get: () => super.get($userId).readInt32BE(0),
1296
- set: userId => super.set($userId, super.intToBuffer(userId, $userId)),
1297
- },
1298
- })
1299
- }
1300
-
1301
- }
1302
-
1303
- class SysOperLog extends Entity {
1304
-
1305
- static name = 'sysOperLog'
1306
-
1307
- static create({
1308
- businessType,
1309
- costTime,
1310
- deptName,
1311
- errorMsg,
1312
- jsonResult,
1313
- method,
1314
- operId,
1315
- operIp,
1316
- operLocation,
1317
- operName,
1318
- operParam,
1319
- operTime,
1320
- operUrl,
1321
- operatorType,
1322
- requestMethod,
1323
- status,
1324
- title
1325
- }) {
1326
-
1327
- return {
1328
- businessType,
1329
- costTime,
1330
- deptName,
1331
- errorMsg,
1332
- jsonResult,
1333
- method,
1334
- operId: storage.updateValue(operId, SysOperLog.name, $operId),
1335
- operIp,
1336
- operLocation,
1337
- operName,
1338
- operParam,
1339
- operTime,
1340
- operUrl,
1341
- operatorType,
1342
- requestMethod,
1343
- status,
1344
- title,
1345
- }
1346
- }
1347
-
1348
- constructor(...arg) {
1349
-
1350
- super(storage, ...arg)
1351
-
1352
- return Object.defineProperties({}, {
1353
- [position]: {
1354
- enumerable: false,
1355
- configurable: false,
1356
- get: () => this[position],
1357
- },
1358
- businessType: {
1359
- enumerable: true,
1360
- configurable: false,
1361
- get: () => super.get($businessType).readInt32BE(0),
1362
- set: businessType => super.set($businessType, super.intToBuffer(businessType, $businessType)),
1363
- },
1364
- costTime: {
1365
- enumerable: true,
1366
- configurable: false,
1367
- get: () => super.get($costTime).readInt32BE(0),
1368
- set: costTime => super.set($costTime, super.intToBuffer(costTime, $costTime)),
1369
- },
1370
- deptName: {
1371
- enumerable: true,
1372
- configurable: false,
1373
- get: () => b2s(super.get($deptName)),
1374
- set: deptName => super.set($deptName, super.s2b(deptName, $deptName)),
1375
- },
1376
- errorMsg: {
1377
- enumerable: true,
1378
- configurable: false,
1379
- get: () => b2s(super.get($errorMsg)),
1380
- set: errorMsg => super.set($errorMsg, super.s2b(errorMsg, $errorMsg)),
1381
- },
1382
- jsonResult: {
1383
- enumerable: true,
1384
- configurable: false,
1385
- get: () => b2s(super.get($jsonResult)),
1386
- set: jsonResult => super.set($jsonResult, super.s2b(jsonResult, $jsonResult)),
1387
- },
1388
- method: {
1389
- enumerable: true,
1390
- configurable: false,
1391
- get: () => b2s(super.get($method)),
1392
- set: method => super.set($method, super.s2b(method, $method)),
1393
- },
1394
- operId: {
1395
- enumerable: true,
1396
- configurable: false,
1397
- get: () => super.get($operId).readInt32BE(0),
1398
- set: operId => super.set($operId, super.intToBuffer(operId, $operId)),
1399
- },
1400
- operIp: {
1401
- enumerable: true,
1402
- configurable: false,
1403
- get: () => b2s(super.get($operIp)),
1404
- set: operIp => super.set($operIp, super.s2b(operIp, $operIp)),
1405
- },
1406
- operLocation: {
1407
- enumerable: true,
1408
- configurable: false,
1409
- get: () => b2s(super.get($operLocation)),
1410
- set: operLocation => super.set($operLocation, super.s2b(operLocation, $operLocation)),
1411
- },
1412
- operName: {
1413
- enumerable: true,
1414
- configurable: false,
1415
- get: () => b2s(super.get($operName)),
1416
- set: operName => super.set($operName, super.s2b(operName, $operName)),
1417
- },
1418
- operParam: {
1419
- enumerable: true,
1420
- configurable: false,
1421
- get: () => b2s(super.get($operParam)),
1422
- set: operParam => super.set($operParam, super.s2b(operParam, $operParam)),
1423
- },
1424
- operTime: {
1425
- enumerable: true,
1426
- configurable: false,
1427
- get: () => b2d(super.get($operTime)),
1428
- set: operTime => super.set($operTime, d2b(operTime)),
1429
- },
1430
- operUrl: {
1431
- enumerable: true,
1432
- configurable: false,
1433
- get: () => b2s(super.get($operUrl)),
1434
- set: operUrl => super.set($operUrl, super.s2b(operUrl, $operUrl)),
1435
- },
1436
- operatorType: {
1437
- enumerable: true,
1438
- configurable: false,
1439
- get: () => super.get($operatorType).readInt8(0),
1440
- set: operatorType => super.set($operatorType, super.intToBuffer(operatorType, $operatorType)),
1441
- },
1442
- requestMethod: {
1443
- enumerable: true,
1444
- configurable: false,
1445
- get: () => b2s(super.get($requestMethod)),
1446
- set: requestMethod => super.set($requestMethod, super.s2b(requestMethod, $requestMethod)),
1447
- },
1448
- status: {
1449
- enumerable: true,
1450
- configurable: false,
1451
- get: () => super.get($status).readInt8(0),
1452
- set: status => super.set($status, super.intToBuffer(status, $status)),
1453
- },
1454
- title: {
1455
- enumerable: true,
1456
- configurable: false,
1457
- get: () => b2s(super.get($title)),
1458
- set: title => super.set($title, super.s2b(title, $title)),
1459
- },
1460
- })
1461
- }
1462
-
1463
- }
1464
-
1465
- class SysDictType extends Entity {
1466
-
1467
- static name = 'sysDictType'
1468
-
1469
- static create({
1470
- createBy,
1471
- createTime,
1472
- dictId,
1473
- dictName,
1474
- dictType,
1475
- remark,
1476
- status,
1477
- updateBy,
1478
- updateTime
1479
- }) {
1480
-
1481
- return {
1482
- createBy,
1483
- createTime: createTime || new Date(),
1484
- dictId: storage.updateValue(dictId, SysDictType.name, $dictId),
1485
- dictName,
1486
- dictType,
1487
- remark,
1488
- status: status || '0',
1489
- updateBy,
1490
- updateTime: updateTime || new Date(),
1491
- }
1492
- }
1493
-
1494
- constructor(...arg) {
1495
-
1496
- super(storage, ...arg)
1497
-
1498
- return Object.defineProperties({}, {
1499
- [position]: {
1500
- enumerable: false,
1501
- configurable: false,
1502
- get: () => this[position],
1503
- },
1504
- createBy: {
1505
- enumerable: true,
1506
- configurable: false,
1507
- get: () => b2s(super.get($createBy)),
1508
- set: createBy => {
1509
- super.set($createBy, super.s2b(createBy, $createBy))
1510
- this.#update()
1511
- },
1512
- },
1513
- createTime: {
1514
- enumerable: true,
1515
- configurable: false,
1516
- get: () => b2d(super.get($createTime)),
1517
- set: createTime => {
1518
- super.set($createTime, d2b(createTime))
1519
- this.#update()
1520
- },
1521
- },
1522
- dictId: {
1523
- enumerable: true,
1524
- configurable: false,
1525
- get: () => super.get($dictId).readInt32BE(0),
1526
- set: dictId => {
1527
- super.set($dictId, super.intToBuffer(dictId, $dictId))
1528
- this.#update()
1529
- },
1530
- },
1531
- dictName: {
1532
- enumerable: true,
1533
- configurable: false,
1534
- get: () => b2s(super.get($dictName)),
1535
- set: dictName => {
1536
- super.set($dictName, super.s2b(dictName, $dictName))
1537
- this.#update()
1538
- },
1539
- },
1540
- dictType: {
1541
- enumerable: true,
1542
- configurable: false,
1543
- get: () => b2s(super.get($dictType)),
1544
- set: dictType => {
1545
- super.set($dictType, super.s2b(dictType, $dictType))
1546
- this.#update()
1547
- },
1548
- },
1549
- remark: {
1550
- enumerable: true,
1551
- configurable: false,
1552
- get: () => b2s(super.get($remark)),
1553
- set: remark => {
1554
- super.set($remark, super.s2b(remark, $remark))
1555
- this.#update()
1556
- },
1557
- },
1558
- status: {
1559
- enumerable: true,
1560
- configurable: false,
1561
- get: () => b2s(super.get($status)),
1562
- set: status => {
1563
- super.set($status, super.s2b(status, $status))
1564
- this.#update()
1565
- },
1566
- },
1567
- updateBy: {
1568
- enumerable: true,
1569
- configurable: false,
1570
- get: () => b2s(super.get($updateBy)),
1571
- set: updateBy => {
1572
- super.set($updateBy, super.s2b(updateBy, $updateBy))
1573
- this.#update()
1574
- },
1575
- },
1576
- updateTime: {
1577
- enumerable: true,
1578
- configurable: false,
1579
- get: () => b2d(super.get($updateTime)),
1580
- set: updateTime => super.set($updateTime, d2b(updateTime)),
1581
- },
1582
- })
1583
- }
1584
-
1585
-
1586
- #update() {
1587
-
1588
- this.updateTime = Date.now()
1589
- }
1590
- }
1591
-
1592
- class SysDictData extends Entity {
1593
-
1594
- static name = 'sysDictData'
1595
-
1596
- static create({
1597
- createBy,
1598
- createTime,
1599
- cssClass,
1600
- dictCode,
1601
- dictLabel,
1602
- dictSort,
1603
- dictType,
1604
- dictValue,
1605
- isDefault,
1606
- listClass,
1607
- remark,
1608
- status,
1609
- updateBy,
1610
- updateTime
1611
- }) {
1612
-
1613
- return {
1614
- createBy,
1615
- createTime: createTime || new Date(),
1616
- cssClass,
1617
- dictCode: storage.updateValue(dictCode, SysDictData.name, $dictCode),
1618
- dictLabel,
1619
- dictSort,
1620
- dictType,
1621
- dictValue,
1622
- isDefault,
1623
- listClass,
1624
- remark,
1625
- status: status || '0',
1626
- updateBy,
1627
- updateTime: updateTime || new Date(),
1628
- }
1629
- }
1630
-
1631
- constructor(...arg) {
1632
-
1633
- super(storage, ...arg)
1634
-
1635
- return Object.defineProperties({}, {
1636
- [position]: {
1637
- enumerable: false,
1638
- configurable: false,
1639
- get: () => this[position],
1640
- },
1641
- createBy: {
1642
- enumerable: true,
1643
- configurable: false,
1644
- get: () => b2s(super.get($createBy)),
1645
- set: createBy => {
1646
- super.set($createBy, super.s2b(createBy, $createBy))
1647
- this.#update()
1648
- },
1649
- },
1650
- createTime: {
1651
- enumerable: true,
1652
- configurable: false,
1653
- get: () => b2d(super.get($createTime)),
1654
- set: createTime => {
1655
- super.set($createTime, d2b(createTime))
1656
- this.#update()
1657
- },
1658
- },
1659
- cssClass: {
1660
- enumerable: true,
1661
- configurable: false,
1662
- get: () => b2s(super.get($cssClass)),
1663
- set: cssClass => {
1664
- super.set($cssClass, super.s2b(cssClass, $cssClass))
1665
- this.#update()
1666
- },
1667
- },
1668
- dictCode: {
1669
- enumerable: true,
1670
- configurable: false,
1671
- get: () => super.get($dictCode).readInt32BE(0),
1672
- set: dictCode => {
1673
- super.set($dictCode, super.intToBuffer(dictCode, $dictCode))
1674
- this.#update()
1675
- },
1676
- },
1677
- dictLabel: {
1678
- enumerable: true,
1679
- configurable: false,
1680
- get: () => b2s(super.get($dictLabel)),
1681
- set: dictLabel => {
1682
- super.set($dictLabel, super.s2b(dictLabel, $dictLabel))
1683
- this.#update()
1684
- },
1685
- },
1686
- dictSort: {
1687
- enumerable: true,
1688
- configurable: false,
1689
- get: () => super.get($dictSort).readInt32BE(0),
1690
- set: dictSort => {
1691
- super.set($dictSort, super.intToBuffer(dictSort, $dictSort))
1692
- this.#update()
1693
- },
1694
- },
1695
- dictType: {
1696
- enumerable: true,
1697
- configurable: false,
1698
- get: () => b2s(super.get($dictType)),
1699
- set: dictType => {
1700
- super.set($dictType, super.s2b(dictType, $dictType))
1701
- this.#update()
1702
- },
1703
- },
1704
- dictValue: {
1705
- enumerable: true,
1706
- configurable: false,
1707
- get: () => b2s(super.get($dictValue)),
1708
- set: dictValue => {
1709
- super.set($dictValue, super.s2b(dictValue, $dictValue))
1710
- this.#update()
1711
- },
1712
- },
1713
- isDefault: {
1714
- enumerable: true,
1715
- configurable: false,
1716
- get: () => b2s(super.get($isDefault)),
1717
- set: isDefault => {
1718
- super.set($isDefault, super.s2b(isDefault, $isDefault))
1719
- this.#update()
1720
- },
1721
- },
1722
- listClass: {
1723
- enumerable: true,
1724
- configurable: false,
1725
- get: () => b2s(super.get($listClass)),
1726
- set: listClass => {
1727
- super.set($listClass, super.s2b(listClass, $listClass))
1728
- this.#update()
1729
- },
1730
- },
1731
- remark: {
1732
- enumerable: true,
1733
- configurable: false,
1734
- get: () => b2s(super.get($remark)),
1735
- set: remark => {
1736
- super.set($remark, super.s2b(remark, $remark))
1737
- this.#update()
1738
- },
1739
- },
1740
- status: {
1741
- enumerable: true,
1742
- configurable: false,
1743
- get: () => b2s(super.get($status)),
1744
- set: status => {
1745
- super.set($status, super.s2b(status, $status))
1746
- this.#update()
1747
- },
1748
- },
1749
- updateBy: {
1750
- enumerable: true,
1751
- configurable: false,
1752
- get: () => b2s(super.get($updateBy)),
1753
- set: updateBy => {
1754
- super.set($updateBy, super.s2b(updateBy, $updateBy))
1755
- this.#update()
1756
- },
1757
- },
1758
- updateTime: {
1759
- enumerable: true,
1760
- configurable: false,
1761
- get: () => b2d(super.get($updateTime)),
1762
- set: updateTime => super.set($updateTime, d2b(updateTime)),
1763
- },
1764
- })
1765
- }
1766
-
1767
-
1768
- #update() {
1769
-
1770
- this.updateTime = Date.now()
1771
- }
1772
- }
1773
-
1774
- class SysConfig extends Entity {
1775
-
1776
- static name = 'sysConfig'
1777
-
1778
- static create({
1779
- configId,
1780
- configKey,
1781
- configName,
1782
- configType,
1783
- configValue,
1784
- createBy,
1785
- createTime,
1786
- remark,
1787
- updateBy,
1788
- updateTime
1789
- }) {
1790
-
1791
- return {
1792
- configId: storage.updateValue(configId, SysConfig.name, $configId),
1793
- configKey,
1794
- configName,
1795
- configType,
1796
- configValue,
1797
- createBy,
1798
- createTime: createTime || new Date(),
1799
- remark,
1800
- updateBy,
1801
- updateTime: updateTime || new Date(),
1802
- }
1803
- }
1804
-
1805
- constructor(...arg) {
1806
-
1807
- super(storage, ...arg)
1808
-
1809
- return Object.defineProperties({}, {
1810
- [position]: {
1811
- enumerable: false,
1812
- configurable: false,
1813
- get: () => this[position],
1814
- },
1815
- configId: {
1816
- enumerable: true,
1817
- configurable: false,
1818
- get: () => super.get($configId).readInt32BE(0),
1819
- set: configId => {
1820
- super.set($configId, super.intToBuffer(configId, $configId))
1821
- this.#update()
1822
- },
1823
- },
1824
- configKey: {
1825
- enumerable: true,
1826
- configurable: false,
1827
- get: () => b2s(super.get($configKey)),
1828
- set: configKey => {
1829
- super.set($configKey, super.s2b(configKey, $configKey))
1830
- this.#update()
1831
- },
1832
- },
1833
- configName: {
1834
- enumerable: true,
1835
- configurable: false,
1836
- get: () => b2s(super.get($configName)),
1837
- set: configName => {
1838
- super.set($configName, super.s2b(configName, $configName))
1839
- this.#update()
1840
- },
1841
- },
1842
- configType: {
1843
- enumerable: true,
1844
- configurable: false,
1845
- get: () => b2s(super.get($configType)),
1846
- set: configType => {
1847
- super.set($configType, super.s2b(configType, $configType))
1848
- this.#update()
1849
- },
1850
- },
1851
- configValue: {
1852
- enumerable: true,
1853
- configurable: false,
1854
- get: () => b2s(super.get($configValue)),
1855
- set: configValue => {
1856
- super.set($configValue, super.s2b(configValue, $configValue))
1857
- this.#update()
1858
- },
1859
- },
1860
- createBy: {
1861
- enumerable: true,
1862
- configurable: false,
1863
- get: () => b2s(super.get($createBy)),
1864
- set: createBy => {
1865
- super.set($createBy, super.s2b(createBy, $createBy))
1866
- this.#update()
1867
- },
1868
- },
1869
- createTime: {
1870
- enumerable: true,
1871
- configurable: false,
1872
- get: () => b2d(super.get($createTime)),
1873
- set: createTime => {
1874
- super.set($createTime, d2b(createTime))
1875
- this.#update()
1876
- },
1877
- },
1878
- remark: {
1879
- enumerable: true,
1880
- configurable: false,
1881
- get: () => b2s(super.get($remark)),
1882
- set: remark => {
1883
- super.set($remark, super.s2b(remark, $remark))
1884
- this.#update()
1885
- },
1886
- },
1887
- updateBy: {
1888
- enumerable: true,
1889
- configurable: false,
1890
- get: () => b2s(super.get($updateBy)),
1891
- set: updateBy => {
1892
- super.set($updateBy, super.s2b(updateBy, $updateBy))
1893
- this.#update()
1894
- },
1895
- },
1896
- updateTime: {
1897
- enumerable: true,
1898
- configurable: false,
1899
- get: () => b2d(super.get($updateTime)),
1900
- set: updateTime => super.set($updateTime, d2b(updateTime)),
1901
- },
1902
- })
1903
- }
1904
-
1905
-
1906
- #update() {
1907
-
1908
- this.updateTime = Date.now()
1909
- }
1910
- }
1911
-
1912
- class SysLogininfor extends Entity {
1913
-
1914
- static name = 'sysLogininfor'
1915
-
1916
- static create({
1917
- browser,
1918
- infoId,
1919
- ipaddr,
1920
- loginLocation,
1921
- loginTime,
1922
- msg,
1923
- os,
1924
- status,
1925
- userName
1926
- }) {
1927
-
1928
- return {
1929
- browser,
1930
- infoId: storage.updateValue(infoId, SysLogininfor.name, $infoId),
1931
- ipaddr,
1932
- loginLocation,
1933
- loginTime,
1934
- msg,
1935
- os,
1936
- status: status || '0',
1937
- userName,
1938
- }
1939
- }
1940
-
1941
- constructor(...arg) {
1942
-
1943
- super(storage, ...arg)
1944
-
1945
- return Object.defineProperties({}, {
1946
- [position]: {
1947
- enumerable: false,
1948
- configurable: false,
1949
- get: () => this[position],
1950
- },
1951
- browser: {
1952
- enumerable: true,
1953
- configurable: false,
1954
- get: () => b2s(super.get($browser)),
1955
- set: browser => super.set($browser, super.s2b(browser, $browser)),
1956
- },
1957
- infoId: {
1958
- enumerable: true,
1959
- configurable: false,
1960
- get: () => super.get($infoId).readInt32BE(0),
1961
- set: infoId => super.set($infoId, super.intToBuffer(infoId, $infoId)),
1962
- },
1963
- ipaddr: {
1964
- enumerable: true,
1965
- configurable: false,
1966
- get: () => b2s(super.get($ipaddr)),
1967
- set: ipaddr => super.set($ipaddr, super.s2b(ipaddr, $ipaddr)),
1968
- },
1969
- loginLocation: {
1970
- enumerable: true,
1971
- configurable: false,
1972
- get: () => b2s(super.get($loginLocation)),
1973
- set: loginLocation => super.set($loginLocation, super.s2b(loginLocation, $loginLocation)),
1974
- },
1975
- loginTime: {
1976
- enumerable: true,
1977
- configurable: false,
1978
- get: () => b2d(super.get($loginTime)),
1979
- set: loginTime => super.set($loginTime, d2b(loginTime)),
1980
- },
1981
- msg: {
1982
- enumerable: true,
1983
- configurable: false,
1984
- get: () => b2s(super.get($msg)),
1985
- set: msg => super.set($msg, super.s2b(msg, $msg)),
1986
- },
1987
- os: {
1988
- enumerable: true,
1989
- configurable: false,
1990
- get: () => b2s(super.get($os)),
1991
- set: os => super.set($os, super.s2b(os, $os)),
1992
- },
1993
- status: {
1994
- enumerable: true,
1995
- configurable: false,
1996
- get: () => b2s(super.get($status)),
1997
- set: status => super.set($status, super.s2b(status, $status)),
1998
- },
1999
- userName: {
2000
- enumerable: true,
2001
- configurable: false,
2002
- get: () => b2s(super.get($userName)),
2003
- set: userName => super.set($userName, super.s2b(userName, $userName)),
2004
- },
2005
- })
2006
- }
2007
-
2008
- }
2009
-
2010
- class SysJob extends Entity {
2011
-
2012
- static name = 'sysJob'
2013
-
2014
- static create({
2015
- concurrent,
2016
- createBy,
2017
- createTime,
2018
- cronExpression,
2019
- invokeTarget,
2020
- jobGroup,
2021
- jobId,
2022
- jobName,
2023
- misfirePolicy,
2024
- remark,
2025
- status,
2026
- updateBy,
2027
- updateTime
2028
- }) {
2029
-
2030
- return {
2031
- concurrent,
2032
- createBy,
2033
- createTime: createTime || new Date(),
2034
- cronExpression,
2035
- invokeTarget,
2036
- jobGroup,
2037
- jobId: storage.updateValue(jobId, SysJob.name, $jobId),
2038
- jobName,
2039
- misfirePolicy,
2040
- remark,
2041
- status: status || '0',
2042
- updateBy,
2043
- updateTime: updateTime || new Date(),
2044
- }
2045
- }
2046
-
2047
- constructor(...arg) {
2048
-
2049
- super(storage, ...arg)
2050
-
2051
- return Object.defineProperties({}, {
2052
- [position]: {
2053
- enumerable: false,
2054
- configurable: false,
2055
- get: () => this[position],
2056
- },
2057
- concurrent: {
2058
- enumerable: true,
2059
- configurable: false,
2060
- get: () => b2s(super.get($concurrent)),
2061
- set: concurrent => {
2062
- super.set($concurrent, super.s2b(concurrent, $concurrent))
2063
- this.#update()
2064
- },
2065
- },
2066
- createBy: {
2067
- enumerable: true,
2068
- configurable: false,
2069
- get: () => b2s(super.get($createBy)),
2070
- set: createBy => {
2071
- super.set($createBy, super.s2b(createBy, $createBy))
2072
- this.#update()
2073
- },
2074
- },
2075
- createTime: {
2076
- enumerable: true,
2077
- configurable: false,
2078
- get: () => b2d(super.get($createTime)),
2079
- set: createTime => {
2080
- super.set($createTime, d2b(createTime))
2081
- this.#update()
2082
- },
2083
- },
2084
- cronExpression: {
2085
- enumerable: true,
2086
- configurable: false,
2087
- get: () => b2s(super.get($cronExpression)),
2088
- set: cronExpression => {
2089
- super.set($cronExpression, super.s2b(cronExpression, $cronExpression))
2090
- this.#update()
2091
- },
2092
- },
2093
- invokeTarget: {
2094
- enumerable: true,
2095
- configurable: false,
2096
- get: () => b2s(super.get($invokeTarget)),
2097
- set: invokeTarget => {
2098
- super.set($invokeTarget, super.s2b(invokeTarget, $invokeTarget))
2099
- this.#update()
2100
- },
2101
- },
2102
- jobGroup: {
2103
- enumerable: true,
2104
- configurable: false,
2105
- get: () => b2s(super.get($jobGroup)),
2106
- set: jobGroup => {
2107
- super.set($jobGroup, super.s2b(jobGroup, $jobGroup))
2108
- this.#update()
2109
- },
2110
- },
2111
- jobId: {
2112
- enumerable: true,
2113
- configurable: false,
2114
- get: () => super.get($jobId).readInt32BE(0),
2115
- set: jobId => {
2116
- super.set($jobId, super.intToBuffer(jobId, $jobId))
2117
- this.#update()
2118
- },
2119
- },
2120
- jobName: {
2121
- enumerable: true,
2122
- configurable: false,
2123
- get: () => b2s(super.get($jobName)),
2124
- set: jobName => {
2125
- super.set($jobName, super.s2b(jobName, $jobName))
2126
- this.#update()
2127
- },
2128
- },
2129
- misfirePolicy: {
2130
- enumerable: true,
2131
- configurable: false,
2132
- get: () => b2s(super.get($misfirePolicy)),
2133
- set: misfirePolicy => {
2134
- super.set($misfirePolicy, super.s2b(misfirePolicy, $misfirePolicy))
2135
- this.#update()
2136
- },
2137
- },
2138
- remark: {
2139
- enumerable: true,
2140
- configurable: false,
2141
- get: () => b2s(super.get($remark)),
2142
- set: remark => {
2143
- super.set($remark, super.s2b(remark, $remark))
2144
- this.#update()
2145
- },
2146
- },
2147
- status: {
2148
- enumerable: true,
2149
- configurable: false,
2150
- get: () => b2s(super.get($status)),
2151
- set: status => {
2152
- super.set($status, super.s2b(status, $status))
2153
- this.#update()
2154
- },
2155
- },
2156
- updateBy: {
2157
- enumerable: true,
2158
- configurable: false,
2159
- get: () => b2s(super.get($updateBy)),
2160
- set: updateBy => {
2161
- super.set($updateBy, super.s2b(updateBy, $updateBy))
2162
- this.#update()
2163
- },
2164
- },
2165
- updateTime: {
2166
- enumerable: true,
2167
- configurable: false,
2168
- get: () => b2d(super.get($updateTime)),
2169
- set: updateTime => super.set($updateTime, d2b(updateTime)),
2170
- },
2171
- })
2172
- }
2173
-
2174
-
2175
- #update() {
2176
-
2177
- this.updateTime = Date.now()
2178
- }
2179
- }
2180
-
2181
- class SysJobLog extends Entity {
2182
-
2183
- static name = 'sysJobLog'
2184
-
2185
- static create({
2186
- createTime,
2187
- exceptionInfo,
2188
- invokeTarget,
2189
- jobGroup,
2190
- jobLogId,
2191
- jobMessage,
2192
- jobName,
2193
- status
2194
- }) {
2195
-
2196
- return {
2197
- createTime: createTime || new Date(),
2198
- exceptionInfo,
2199
- invokeTarget,
2200
- jobGroup,
2201
- jobLogId: storage.updateValue(jobLogId, SysJobLog.name, $jobLogId),
2202
- jobMessage,
2203
- jobName,
2204
- status: status || '0',
2205
- }
2206
- }
2207
-
2208
- constructor(...arg) {
2209
-
2210
- super(storage, ...arg)
2211
-
2212
- return Object.defineProperties({}, {
2213
- [position]: {
2214
- enumerable: false,
2215
- configurable: false,
2216
- get: () => this[position],
2217
- },
2218
- createTime: {
2219
- enumerable: true,
2220
- configurable: false,
2221
- get: () => b2d(super.get($createTime)),
2222
- set: createTime => super.set($createTime, d2b(createTime)),
2223
- },
2224
- exceptionInfo: {
2225
- enumerable: true,
2226
- configurable: false,
2227
- get: () => b2s(super.get($exceptionInfo)),
2228
- set: exceptionInfo => super.set($exceptionInfo, super.s2b(exceptionInfo, $exceptionInfo)),
2229
- },
2230
- invokeTarget: {
2231
- enumerable: true,
2232
- configurable: false,
2233
- get: () => b2s(super.get($invokeTarget)),
2234
- set: invokeTarget => super.set($invokeTarget, super.s2b(invokeTarget, $invokeTarget)),
2235
- },
2236
- jobGroup: {
2237
- enumerable: true,
2238
- configurable: false,
2239
- get: () => b2s(super.get($jobGroup)),
2240
- set: jobGroup => super.set($jobGroup, super.s2b(jobGroup, $jobGroup)),
2241
- },
2242
- jobLogId: {
2243
- enumerable: true,
2244
- configurable: false,
2245
- get: () => super.get($jobLogId).readInt32BE(0),
2246
- set: jobLogId => super.set($jobLogId, super.intToBuffer(jobLogId, $jobLogId)),
2247
- },
2248
- jobMessage: {
2249
- enumerable: true,
2250
- configurable: false,
2251
- get: () => b2s(super.get($jobMessage)),
2252
- set: jobMessage => super.set($jobMessage, super.s2b(jobMessage, $jobMessage)),
2253
- },
2254
- jobName: {
2255
- enumerable: true,
2256
- configurable: false,
2257
- get: () => b2s(super.get($jobName)),
2258
- set: jobName => super.set($jobName, super.s2b(jobName, $jobName)),
2259
- },
2260
- status: {
2261
- enumerable: true,
2262
- configurable: false,
2263
- get: () => b2s(super.get($status)),
2264
- set: status => super.set($status, super.s2b(status, $status)),
2265
- },
2266
- })
2267
- }
2268
-
2269
- }
2270
-
2271
- class SysNotice extends Entity {
2272
-
2273
- static name = 'sysNotice'
2274
-
2275
- static create({
2276
- createBy,
2277
- createTime,
2278
- noticeContent,
2279
- noticeId,
2280
- noticeTitle,
2281
- noticeType,
2282
- remark,
2283
- status,
2284
- updateBy,
2285
- updateTime
2286
- }) {
2287
-
2288
- return {
2289
- createBy,
2290
- createTime: createTime || new Date(),
2291
- noticeContent,
2292
- noticeId: storage.updateValue(noticeId, SysNotice.name, $noticeId),
2293
- noticeTitle,
2294
- noticeType,
2295
- remark,
2296
- status: status || '0',
2297
- updateBy,
2298
- updateTime: updateTime || new Date(),
2299
- }
2300
- }
2301
-
2302
- constructor(...arg) {
2303
-
2304
- super(storage, ...arg)
2305
-
2306
- return Object.defineProperties({}, {
2307
- [position]: {
2308
- enumerable: false,
2309
- configurable: false,
2310
- get: () => this[position],
2311
- },
2312
- createBy: {
2313
- enumerable: true,
2314
- configurable: false,
2315
- get: () => b2s(super.get($createBy)),
2316
- set: createBy => {
2317
- super.set($createBy, super.s2b(createBy, $createBy))
2318
- this.#update()
2319
- },
2320
- },
2321
- createTime: {
2322
- enumerable: true,
2323
- configurable: false,
2324
- get: () => b2d(super.get($createTime)),
2325
- set: createTime => {
2326
- super.set($createTime, d2b(createTime))
2327
- this.#update()
2328
- },
2329
- },
2330
- noticeContent: {
2331
- enumerable: true,
2332
- configurable: false,
2333
- get: () => super.get($noticeContent)[0] ? super.readFileSync($noticeContent).toString() : '',
2334
- set: noticeContent => {
2335
- super.set($noticeContent, super.textToBuffer(noticeContent, $noticeContent))
2336
- this.#update()
2337
- },
2338
- },
2339
- noticeId: {
2340
- enumerable: true,
2341
- configurable: false,
2342
- get: () => super.get($noticeId).readInt32BE(0),
2343
- set: noticeId => {
2344
- super.set($noticeId, super.intToBuffer(noticeId, $noticeId))
2345
- this.#update()
2346
- },
2347
- },
2348
- noticeTitle: {
2349
- enumerable: true,
2350
- configurable: false,
2351
- get: () => b2s(super.get($noticeTitle)),
2352
- set: noticeTitle => {
2353
- super.set($noticeTitle, super.s2b(noticeTitle, $noticeTitle))
2354
- this.#update()
2355
- },
2356
- },
2357
- noticeType: {
2358
- enumerable: true,
2359
- configurable: false,
2360
- get: () => b2s(super.get($noticeType)),
2361
- set: noticeType => {
2362
- super.set($noticeType, super.s2b(noticeType, $noticeType))
2363
- this.#update()
2364
- },
2365
- },
2366
- remark: {
2367
- enumerable: true,
2368
- configurable: false,
2369
- get: () => b2s(super.get($remark)),
2370
- set: remark => {
2371
- super.set($remark, super.s2b(remark, $remark))
2372
- this.#update()
2373
- },
2374
- },
2375
- status: {
2376
- enumerable: true,
2377
- configurable: false,
2378
- get: () => b2s(super.get($status)),
2379
- set: status => {
2380
- super.set($status, super.s2b(status, $status))
2381
- this.#update()
2382
- },
2383
- },
2384
- updateBy: {
2385
- enumerable: true,
2386
- configurable: false,
2387
- get: () => b2s(super.get($updateBy)),
2388
- set: updateBy => {
2389
- super.set($updateBy, super.s2b(updateBy, $updateBy))
2390
- this.#update()
2391
- },
2392
- },
2393
- updateTime: {
2394
- enumerable: true,
2395
- configurable: false,
2396
- get: () => b2d(super.get($updateTime)),
2397
- set: updateTime => super.set($updateTime, d2b(updateTime)),
2398
- },
2399
- })
2400
- }
2401
-
2402
-
2403
- #update() {
2404
-
2405
- this.updateTime = Date.now()
2406
- }
2407
- }
2408
-
2409
- class GenTable extends Entity {
2410
-
2411
- static name = 'genTable'
2412
-
2413
- static create({
2414
- businessName,
2415
- className,
2416
- createBy,
2417
- createTime,
2418
- functionAuthor,
2419
- functionName,
2420
- genPath,
2421
- genType,
2422
- moduleName,
2423
- options,
2424
- packageName,
2425
- remark,
2426
- subTableFkName,
2427
- subTableName,
2428
- tableComment,
2429
- tableId,
2430
- tableName,
2431
- tplCategory,
2432
- tplWebType,
2433
- updateBy,
2434
- updateTime
2435
- }) {
2436
-
2437
- return {
2438
- businessName,
2439
- className,
2440
- createBy,
2441
- createTime: createTime || new Date(),
2442
- functionAuthor,
2443
- functionName,
2444
- genPath,
2445
- genType,
2446
- moduleName,
2447
- options,
2448
- packageName,
2449
- remark,
2450
- subTableFkName,
2451
- subTableName,
2452
- tableComment,
2453
- tableId: storage.updateValue(tableId, GenTable.name, $tableId),
2454
- tableName,
2455
- tplCategory,
2456
- tplWebType,
2457
- updateBy,
2458
- updateTime: updateTime || new Date(),
2459
- }
2460
- }
2461
-
2462
- constructor(...arg) {
2463
-
2464
- super(storage, ...arg)
2465
-
2466
- return Object.defineProperties({}, {
2467
- [position]: {
2468
- enumerable: false,
2469
- configurable: false,
2470
- get: () => this[position],
2471
- },
2472
- businessName: {
2473
- enumerable: true,
2474
- configurable: false,
2475
- get: () => b2s(super.get($businessName)),
2476
- set: businessName => {
2477
- super.set($businessName, super.s2b(businessName, $businessName))
2478
- this.#update()
2479
- },
2480
- },
2481
- className: {
2482
- enumerable: true,
2483
- configurable: false,
2484
- get: () => b2s(super.get($className)),
2485
- set: className => {
2486
- super.set($className, super.s2b(className, $className))
2487
- this.#update()
2488
- },
2489
- },
2490
- createBy: {
2491
- enumerable: true,
2492
- configurable: false,
2493
- get: () => b2s(super.get($createBy)),
2494
- set: createBy => {
2495
- super.set($createBy, super.s2b(createBy, $createBy))
2496
- this.#update()
2497
- },
2498
- },
2499
- createTime: {
2500
- enumerable: true,
2501
- configurable: false,
2502
- get: () => b2d(super.get($createTime)),
2503
- set: createTime => {
2504
- super.set($createTime, d2b(createTime))
2505
- this.#update()
2506
- },
2507
- },
2508
- functionAuthor: {
2509
- enumerable: true,
2510
- configurable: false,
2511
- get: () => b2s(super.get($functionAuthor)),
2512
- set: functionAuthor => {
2513
- super.set($functionAuthor, super.s2b(functionAuthor, $functionAuthor))
2514
- this.#update()
2515
- },
2516
- },
2517
- functionName: {
2518
- enumerable: true,
2519
- configurable: false,
2520
- get: () => b2s(super.get($functionName)),
2521
- set: functionName => {
2522
- super.set($functionName, super.s2b(functionName, $functionName))
2523
- this.#update()
2524
- },
2525
- },
2526
- genPath: {
2527
- enumerable: true,
2528
- configurable: false,
2529
- get: () => b2s(super.get($genPath)),
2530
- set: genPath => {
2531
- super.set($genPath, super.s2b(genPath, $genPath))
2532
- this.#update()
2533
- },
2534
- },
2535
- genType: {
2536
- enumerable: true,
2537
- configurable: false,
2538
- get: () => b2s(super.get($genType)),
2539
- set: genType => {
2540
- super.set($genType, super.s2b(genType, $genType))
2541
- this.#update()
2542
- },
2543
- },
2544
- moduleName: {
2545
- enumerable: true,
2546
- configurable: false,
2547
- get: () => b2s(super.get($moduleName)),
2548
- set: moduleName => {
2549
- super.set($moduleName, super.s2b(moduleName, $moduleName))
2550
- this.#update()
2551
- },
2552
- },
2553
- options: {
2554
- enumerable: true,
2555
- configurable: false,
2556
- get: () => b2s(super.get($options)),
2557
- set: options => {
2558
- super.set($options, super.s2b(options, $options))
2559
- this.#update()
2560
- },
2561
- },
2562
- packageName: {
2563
- enumerable: true,
2564
- configurable: false,
2565
- get: () => b2s(super.get($packageName)),
2566
- set: packageName => {
2567
- super.set($packageName, super.s2b(packageName, $packageName))
2568
- this.#update()
2569
- },
2570
- },
2571
- remark: {
2572
- enumerable: true,
2573
- configurable: false,
2574
- get: () => b2s(super.get($remark)),
2575
- set: remark => {
2576
- super.set($remark, super.s2b(remark, $remark))
2577
- this.#update()
2578
- },
2579
- },
2580
- subTableFkName: {
2581
- enumerable: true,
2582
- configurable: false,
2583
- get: () => b2s(super.get($subTableFkName)),
2584
- set: subTableFkName => {
2585
- super.set($subTableFkName, super.s2b(subTableFkName, $subTableFkName))
2586
- this.#update()
2587
- },
2588
- },
2589
- subTableName: {
2590
- enumerable: true,
2591
- configurable: false,
2592
- get: () => b2s(super.get($subTableName)),
2593
- set: subTableName => {
2594
- super.set($subTableName, super.s2b(subTableName, $subTableName))
2595
- this.#update()
2596
- },
2597
- },
2598
- tableComment: {
2599
- enumerable: true,
2600
- configurable: false,
2601
- get: () => b2s(super.get($tableComment)),
2602
- set: tableComment => {
2603
- super.set($tableComment, super.s2b(tableComment, $tableComment))
2604
- this.#update()
2605
- },
2606
- },
2607
- tableId: {
2608
- enumerable: true,
2609
- configurable: false,
2610
- get: () => super.get($tableId).readInt32BE(0),
2611
- set: tableId => {
2612
- super.set($tableId, super.intToBuffer(tableId, $tableId))
2613
- this.#update()
2614
- },
2615
- },
2616
- tableName: {
2617
- enumerable: true,
2618
- configurable: false,
2619
- get: () => b2s(super.get($tableName)),
2620
- set: tableName => {
2621
- super.set($tableName, super.s2b(tableName, $tableName))
2622
- this.#update()
2623
- },
2624
- },
2625
- tplCategory: {
2626
- enumerable: true,
2627
- configurable: false,
2628
- get: () => b2s(super.get($tplCategory)),
2629
- set: tplCategory => {
2630
- super.set($tplCategory, super.s2b(tplCategory, $tplCategory))
2631
- this.#update()
2632
- },
2633
- },
2634
- tplWebType: {
2635
- enumerable: true,
2636
- configurable: false,
2637
- get: () => b2s(super.get($tplWebType)),
2638
- set: tplWebType => {
2639
- super.set($tplWebType, super.s2b(tplWebType, $tplWebType))
2640
- this.#update()
2641
- },
2642
- },
2643
- updateBy: {
2644
- enumerable: true,
2645
- configurable: false,
2646
- get: () => b2s(super.get($updateBy)),
2647
- set: updateBy => {
2648
- super.set($updateBy, super.s2b(updateBy, $updateBy))
2649
- this.#update()
2650
- },
2651
- },
2652
- updateTime: {
2653
- enumerable: true,
2654
- configurable: false,
2655
- get: () => b2d(super.get($updateTime)),
2656
- set: updateTime => super.set($updateTime, d2b(updateTime)),
2657
- },
2658
- })
2659
- }
2660
-
2661
-
2662
- #update() {
2663
-
2664
- this.updateTime = Date.now()
2665
- }
2666
- }
2667
-
2668
- class GenTableColumn extends Entity {
2669
-
2670
- static name = 'genTableColumn'
2671
-
2672
- static create({
2673
- columnComment,
2674
- columnId,
2675
- columnName,
2676
- columnType,
2677
- createBy,
2678
- createTime,
2679
- dictType,
2680
- htmlType,
2681
- isEdit,
2682
- isIncrement,
2683
- isInsert,
2684
- isList,
2685
- isPk,
2686
- isQuery,
2687
- isRequired,
2688
- javaField,
2689
- javaType,
2690
- queryType,
2691
- sort,
2692
- tableId,
2693
- updateBy,
2694
- updateTime
2695
- }) {
2696
-
2697
- return {
2698
- columnComment,
2699
- columnId: storage.updateValue(columnId, GenTableColumn.name, $columnId),
2700
- columnName,
2701
- columnType,
2702
- createBy,
2703
- createTime: createTime || new Date(),
2704
- dictType,
2705
- htmlType,
2706
- isEdit,
2707
- isIncrement,
2708
- isInsert,
2709
- isList,
2710
- isPk,
2711
- isQuery,
2712
- isRequired,
2713
- javaField,
2714
- javaType,
2715
- queryType,
2716
- sort,
2717
- tableId,
2718
- updateBy,
2719
- updateTime: updateTime || new Date(),
2720
- }
2721
- }
2722
-
2723
- constructor(...arg) {
2724
-
2725
- super(storage, ...arg)
2726
-
2727
- return Object.defineProperties({}, {
2728
- [position]: {
2729
- enumerable: false,
2730
- configurable: false,
2731
- get: () => this[position],
2732
- },
2733
- columnComment: {
2734
- enumerable: true,
2735
- configurable: false,
2736
- get: () => b2s(super.get($columnComment)),
2737
- set: columnComment => {
2738
- super.set($columnComment, super.s2b(columnComment, $columnComment))
2739
- this.#update()
2740
- },
2741
- },
2742
- columnId: {
2743
- enumerable: true,
2744
- configurable: false,
2745
- get: () => super.get($columnId).readInt32BE(0),
2746
- set: columnId => {
2747
- super.set($columnId, super.intToBuffer(columnId, $columnId))
2748
- this.#update()
2749
- },
2750
- },
2751
- columnName: {
2752
- enumerable: true,
2753
- configurable: false,
2754
- get: () => b2s(super.get($columnName)),
2755
- set: columnName => {
2756
- super.set($columnName, super.s2b(columnName, $columnName))
2757
- this.#update()
2758
- },
2759
- },
2760
- columnType: {
2761
- enumerable: true,
2762
- configurable: false,
2763
- get: () => b2s(super.get($columnType)),
2764
- set: columnType => {
2765
- super.set($columnType, super.s2b(columnType, $columnType))
2766
- this.#update()
2767
- },
2768
- },
2769
- createBy: {
2770
- enumerable: true,
2771
- configurable: false,
2772
- get: () => b2s(super.get($createBy)),
2773
- set: createBy => {
2774
- super.set($createBy, super.s2b(createBy, $createBy))
2775
- this.#update()
2776
- },
2777
- },
2778
- createTime: {
2779
- enumerable: true,
2780
- configurable: false,
2781
- get: () => b2d(super.get($createTime)),
2782
- set: createTime => {
2783
- super.set($createTime, d2b(createTime))
2784
- this.#update()
2785
- },
2786
- },
2787
- dictType: {
2788
- enumerable: true,
2789
- configurable: false,
2790
- get: () => b2s(super.get($dictType)),
2791
- set: dictType => {
2792
- super.set($dictType, super.s2b(dictType, $dictType))
2793
- this.#update()
2794
- },
2795
- },
2796
- htmlType: {
2797
- enumerable: true,
2798
- configurable: false,
2799
- get: () => b2s(super.get($htmlType)),
2800
- set: htmlType => {
2801
- super.set($htmlType, super.s2b(htmlType, $htmlType))
2802
- this.#update()
2803
- },
2804
- },
2805
- isEdit: {
2806
- enumerable: true,
2807
- configurable: false,
2808
- get: () => b2s(super.get($isEdit)),
2809
- set: isEdit => {
2810
- super.set($isEdit, super.s2b(isEdit, $isEdit))
2811
- this.#update()
2812
- },
2813
- },
2814
- isIncrement: {
2815
- enumerable: true,
2816
- configurable: false,
2817
- get: () => b2s(super.get($isIncrement)),
2818
- set: isIncrement => {
2819
- super.set($isIncrement, super.s2b(isIncrement, $isIncrement))
2820
- this.#update()
2821
- },
2822
- },
2823
- isInsert: {
2824
- enumerable: true,
2825
- configurable: false,
2826
- get: () => b2s(super.get($isInsert)),
2827
- set: isInsert => {
2828
- super.set($isInsert, super.s2b(isInsert, $isInsert))
2829
- this.#update()
2830
- },
2831
- },
2832
- isList: {
2833
- enumerable: true,
2834
- configurable: false,
2835
- get: () => b2s(super.get($isList)),
2836
- set: isList => {
2837
- super.set($isList, super.s2b(isList, $isList))
2838
- this.#update()
2839
- },
2840
- },
2841
- isPk: {
2842
- enumerable: true,
2843
- configurable: false,
2844
- get: () => b2s(super.get($isPk)),
2845
- set: isPk => {
2846
- super.set($isPk, super.s2b(isPk, $isPk))
2847
- this.#update()
2848
- },
2849
- },
2850
- isQuery: {
2851
- enumerable: true,
2852
- configurable: false,
2853
- get: () => b2s(super.get($isQuery)),
2854
- set: isQuery => {
2855
- super.set($isQuery, super.s2b(isQuery, $isQuery))
2856
- this.#update()
2857
- },
2858
- },
2859
- isRequired: {
2860
- enumerable: true,
2861
- configurable: false,
2862
- get: () => b2s(super.get($isRequired)),
2863
- set: isRequired => {
2864
- super.set($isRequired, super.s2b(isRequired, $isRequired))
2865
- this.#update()
2866
- },
2867
- },
2868
- javaField: {
2869
- enumerable: true,
2870
- configurable: false,
2871
- get: () => b2s(super.get($javaField)),
2872
- set: javaField => {
2873
- super.set($javaField, super.s2b(javaField, $javaField))
2874
- this.#update()
2875
- },
2876
- },
2877
- javaType: {
2878
- enumerable: true,
2879
- configurable: false,
2880
- get: () => b2s(super.get($javaType)),
2881
- set: javaType => {
2882
- super.set($javaType, super.s2b(javaType, $javaType))
2883
- this.#update()
2884
- },
2885
- },
2886
- queryType: {
2887
- enumerable: true,
2888
- configurable: false,
2889
- get: () => b2s(super.get($queryType)),
2890
- set: queryType => {
2891
- super.set($queryType, super.s2b(queryType, $queryType))
2892
- this.#update()
2893
- },
2894
- },
2895
- sort: {
2896
- enumerable: true,
2897
- configurable: false,
2898
- get: () => super.get($sort).readInt32BE(0),
2899
- set: sort => {
2900
- super.set($sort, super.intToBuffer(sort, $sort))
2901
- this.#update()
2902
- },
2903
- },
2904
- tableId: {
2905
- enumerable: true,
2906
- configurable: false,
2907
- get: () => super.get($tableId).readInt32BE(0),
2908
- set: tableId => {
2909
- super.set($tableId, super.intToBuffer(tableId, $tableId))
2910
- this.#update()
2911
- },
2912
- },
2913
- updateBy: {
2914
- enumerable: true,
2915
- configurable: false,
2916
- get: () => b2s(super.get($updateBy)),
2917
- set: updateBy => {
2918
- super.set($updateBy, super.s2b(updateBy, $updateBy))
2919
- this.#update()
2920
- },
2921
- },
2922
- updateTime: {
2923
- enumerable: true,
2924
- configurable: false,
2925
- get: () => b2d(super.get($updateTime)),
2926
- set: updateTime => super.set($updateTime, d2b(updateTime)),
2927
- },
2928
- })
2929
- }
2930
-
2931
-
2932
- #update() {
2933
-
2934
- this.updateTime = Date.now()
2935
- }
2936
- }
2937
-
2938
- class Permissions extends Entity {
2939
-
2940
- static name = 'permissions'
2941
-
2942
- static create({
2943
- id,
2944
- permissions
2945
- }) {
2946
-
2947
- return {
2948
- id,
2949
- permissions,
2950
- }
2951
- }
2952
-
2953
- constructor(...arg) {
2954
-
2955
- super(storage, ...arg)
2956
-
2957
- return Object.defineProperties({}, {
2958
- [position]: {
2959
- enumerable: false,
2960
- configurable: false,
2961
- get: () => this[position],
2962
- },
2963
- id: {
2964
- enumerable: true,
2965
- configurable: false,
2966
- get: () => super.get($id).readInt32BE(0),
2967
- set: id => super.set($id, super.intToBuffer(id, $id)),
2968
- },
2969
- permissions: {
2970
- enumerable: true,
2971
- configurable: false,
2972
- get: () => b2s(super.get($permissions)),
2973
- set: permissions => super.set($permissions, super.s2b(permissions, $permissions)),
2974
- },
2975
- })
2976
- }
2977
-
2978
- }
2979
-
2980
- class Service extends Entity {
2981
-
2982
- static name = 'service'
2983
-
2984
- static create({
2985
- host,
2986
- id,
2987
- name,
2988
- param1,
2989
- param2,
2990
- path,
2991
- port,
2992
- remark,
2993
- status,
2994
- type
2995
- }) {
2996
-
2997
- return {
2998
- host,
2999
- id: storage.updateValue(id, Service.name, $id),
3000
- name,
3001
- param1,
3002
- param2,
3003
- path,
3004
- port,
3005
- remark,
3006
- status,
3007
- type,
3008
- }
3009
- }
3010
-
3011
- constructor(...arg) {
3012
-
3013
- super(storage, ...arg)
3014
-
3015
- return Object.defineProperties({}, {
3016
- [position]: {
3017
- enumerable: false,
3018
- configurable: false,
3019
- get: () => this[position],
3020
- },
3021
- host: {
3022
- enumerable: true,
3023
- configurable: false,
3024
- get: () => b2s(super.get($host)),
3025
- set: host => super.set($host, super.s2b(host, $host)),
3026
- },
3027
- id: {
3028
- enumerable: true,
3029
- configurable: false,
3030
- get: () => super.get($id).readUInt32BE(0),
3031
- set: id => super.set2($id, uInt32BEToBuffer(id)),
3032
- },
3033
- name: {
3034
- enumerable: true,
3035
- configurable: false,
3036
- get: () => b2s(super.get($name)),
3037
- set: name => super.set($name, super.s2b(name, $name)),
3038
- },
3039
- param1: {
3040
- enumerable: true,
3041
- configurable: false,
3042
- get: () => b2s(super.get($param1)),
3043
- set: param1 => super.set($param1, super.s2b(param1, $param1)),
3044
- },
3045
- param2: {
3046
- enumerable: true,
3047
- configurable: false,
3048
- get: () => b2s(super.get($param2)),
3049
- set: param2 => super.set($param2, super.s2b(param2, $param2)),
3050
- },
3051
- path: {
3052
- enumerable: true,
3053
- configurable: false,
3054
- get: () => b2s(super.get($path)),
3055
- set: path => super.set($path, super.s2b(path, $path)),
3056
- },
3057
- port: {
3058
- enumerable: true,
3059
- configurable: false,
3060
- get: () => super.get($port).readInt32BE(0),
3061
- set: port => super.set($port, super.intToBuffer(port, $port)),
3062
- },
3063
- remark: {
3064
- enumerable: true,
3065
- configurable: false,
3066
- get: () => b2s(super.get($remark)),
3067
- set: remark => super.set($remark, super.s2b(remark, $remark)),
3068
- },
3069
- status: {
3070
- enumerable: true,
3071
- configurable: false,
3072
- get: () => super.get($status).readInt8(0),
3073
- set: status => super.set($status, super.intToBuffer(status, $status)),
3074
- },
3075
- type: {
3076
- enumerable: true,
3077
- configurable: false,
3078
- get: () => super.get($type).readInt8(0),
3079
- set: type => super.set($type, super.intToBuffer(type, $type)),
3080
- },
3081
- })
3082
- }
3083
-
3084
- }
3085
-
3086
- class ServiceData extends Entity {
3087
-
3088
- static name = 'serviceData'
3089
-
3090
- static create({
3091
- id,
3092
- method,
3093
- name,
3094
- remark
3095
- }) {
3096
-
3097
- return {
3098
- id: storage.updateValue(id, ServiceData.name, $id),
3099
- method,
3100
- name,
3101
- remark,
3102
- }
3103
- }
3104
-
3105
- constructor(...arg) {
3106
-
3107
- super(storage, ...arg)
3108
-
3109
- return Object.defineProperties({}, {
3110
- [position]: {
3111
- enumerable: false,
3112
- configurable: false,
3113
- get: () => this[position],
3114
- },
3115
- id: {
3116
- enumerable: true,
3117
- configurable: false,
3118
- get: () => super.get($id).readUInt32BE(0),
3119
- set: id => super.set2($id, uInt32BEToBuffer(id)),
3120
- },
3121
- method: {
3122
- enumerable: true,
3123
- configurable: false,
3124
- get: () => b2s(super.get($method)),
3125
- set: method => super.set($method, super.s2b(method, $method)),
3126
- },
3127
- name: {
3128
- enumerable: true,
3129
- configurable: false,
3130
- get: () => b2s(super.get($name)),
3131
- set: name => super.set($name, super.s2b(name, $name)),
3132
- },
3133
- remark: {
3134
- enumerable: true,
3135
- configurable: false,
3136
- get: () => b2s(super.get($remark)),
3137
- set: remark => super.set($remark, super.s2b(remark, $remark)),
3138
- },
3139
- })
3140
- }
3141
-
3142
- }
3143
-
3144
-
3145
- class SysDeptSet extends Entities {
3146
-
3147
- constructor() {
3148
-
3149
- super(storage, SysDept)
3150
- }
3151
- /**
3152
- * 内部方法
3153
- */
3154
- s2b() {
3155
-
3156
- throw new TypeError('s2b is not a function')
3157
- }
3158
- /**
3159
- * 内部方法
3160
- */
3161
- findByValue() {
3162
-
3163
- throw new TypeError('findByValue is not a function')
3164
- }
3165
- /**
3166
- * 内部方法
3167
- */
3168
- findByTime() {
3169
-
3170
- throw new TypeError('findByTime is not a function')
3171
- }
3172
- /**
3173
- * 内部方法
3174
- */
3175
- stringToBuffer() {
3176
-
3177
- throw new TypeError('stringToBuffer is not a function')
3178
- }
3179
-
3180
- }
3181
-
3182
- class SysUserSet extends Entities {
3183
-
3184
- constructor() {
3185
-
3186
- super(storage, SysUser)
3187
- }
3188
- /**
3189
- * 内部方法
3190
- */
3191
- s2b() {
3192
-
3193
- throw new TypeError('s2b is not a function')
3194
- }
3195
- /**
3196
- * 内部方法
3197
- */
3198
- findByValue() {
3199
-
3200
- throw new TypeError('findByValue is not a function')
3201
- }
3202
- /**
3203
- * 内部方法
3204
- */
3205
- findByTime() {
3206
-
3207
- throw new TypeError('findByTime is not a function')
3208
- }
3209
- /**
3210
- * 内部方法
3211
- */
3212
- stringToBuffer() {
3213
-
3214
- throw new TypeError('stringToBuffer is not a function')
3215
- }
3216
-
3217
- }
3218
-
3219
- class SysPostSet extends Entities {
3220
-
3221
- constructor() {
3222
-
3223
- super(storage, SysPost)
3224
- }
3225
- /**
3226
- * 内部方法
3227
- */
3228
- s2b() {
3229
-
3230
- throw new TypeError('s2b is not a function')
3231
- }
3232
- /**
3233
- * 内部方法
3234
- */
3235
- findByValue() {
3236
-
3237
- throw new TypeError('findByValue is not a function')
3238
- }
3239
- /**
3240
- * 内部方法
3241
- */
3242
- findByTime() {
3243
-
3244
- throw new TypeError('findByTime is not a function')
3245
- }
3246
- /**
3247
- * 内部方法
3248
- */
3249
- stringToBuffer() {
3250
-
3251
- throw new TypeError('stringToBuffer is not a function')
3252
- }
3253
-
3254
- }
3255
-
3256
- class SysRoleSet extends Entities {
3257
-
3258
- constructor() {
3259
-
3260
- super(storage, SysRole)
3261
- }
3262
- /**
3263
- * 内部方法
3264
- */
3265
- s2b() {
3266
-
3267
- throw new TypeError('s2b is not a function')
3268
- }
3269
- /**
3270
- * 内部方法
3271
- */
3272
- findByValue() {
3273
-
3274
- throw new TypeError('findByValue is not a function')
3275
- }
3276
- /**
3277
- * 内部方法
3278
- */
3279
- findByTime() {
3280
-
3281
- throw new TypeError('findByTime is not a function')
3282
- }
3283
- /**
3284
- * 内部方法
3285
- */
3286
- stringToBuffer() {
3287
-
3288
- throw new TypeError('stringToBuffer is not a function')
3289
- }
3290
-
3291
- }
3292
-
3293
- class SysMenuSet extends Entities {
3294
-
3295
- constructor() {
3296
-
3297
- super(storage, SysMenu)
3298
- }
3299
- /**
3300
- * 内部方法
3301
- */
3302
- s2b() {
3303
-
3304
- throw new TypeError('s2b is not a function')
3305
- }
3306
- /**
3307
- * 内部方法
3308
- */
3309
- findByValue() {
3310
-
3311
- throw new TypeError('findByValue is not a function')
3312
- }
3313
- /**
3314
- * 内部方法
3315
- */
3316
- findByTime() {
3317
-
3318
- throw new TypeError('findByTime is not a function')
3319
- }
3320
- /**
3321
- * 内部方法
3322
- */
3323
- stringToBuffer() {
3324
-
3325
- throw new TypeError('stringToBuffer is not a function')
3326
- }
3327
-
3328
- }
3329
-
3330
- class SysUserRoleSet extends Entities {
3331
-
3332
- constructor() {
3333
-
3334
- super(storage, SysUserRole)
3335
- }
3336
- /**
3337
- * 内部方法
3338
- */
3339
- s2b() {
3340
-
3341
- throw new TypeError('s2b is not a function')
3342
- }
3343
- /**
3344
- * 内部方法
3345
- */
3346
- findByValue() {
3347
-
3348
- throw new TypeError('findByValue is not a function')
3349
- }
3350
- /**
3351
- * 内部方法
3352
- */
3353
- findByTime() {
3354
-
3355
- throw new TypeError('findByTime is not a function')
3356
- }
3357
- /**
3358
- * 内部方法
3359
- */
3360
- stringToBuffer() {
3361
-
3362
- throw new TypeError('stringToBuffer is not a function')
3363
- }
3364
-
3365
- }
3366
-
3367
- class SysRoleMenuSet extends Entities {
3368
-
3369
- constructor() {
3370
-
3371
- super(storage, SysRoleMenu)
3372
- }
3373
- /**
3374
- * 内部方法
3375
- */
3376
- s2b() {
3377
-
3378
- throw new TypeError('s2b is not a function')
3379
- }
3380
- /**
3381
- * 内部方法
3382
- */
3383
- findByValue() {
3384
-
3385
- throw new TypeError('findByValue is not a function')
3386
- }
3387
- /**
3388
- * 内部方法
3389
- */
3390
- findByTime() {
3391
-
3392
- throw new TypeError('findByTime is not a function')
3393
- }
3394
- /**
3395
- * 内部方法
3396
- */
3397
- stringToBuffer() {
3398
-
3399
- throw new TypeError('stringToBuffer is not a function')
3400
- }
3401
-
3402
- }
3403
-
3404
- class SysRoleDeptSet extends Entities {
3405
-
3406
- constructor() {
3407
-
3408
- super(storage, SysRoleDept)
3409
- }
3410
- /**
3411
- * 内部方法
3412
- */
3413
- s2b() {
3414
-
3415
- throw new TypeError('s2b is not a function')
3416
- }
3417
- /**
3418
- * 内部方法
3419
- */
3420
- findByValue() {
3421
-
3422
- throw new TypeError('findByValue is not a function')
3423
- }
3424
- /**
3425
- * 内部方法
3426
- */
3427
- findByTime() {
3428
-
3429
- throw new TypeError('findByTime is not a function')
3430
- }
3431
- /**
3432
- * 内部方法
3433
- */
3434
- stringToBuffer() {
3435
-
3436
- throw new TypeError('stringToBuffer is not a function')
3437
- }
3438
-
3439
- }
3440
-
3441
- class SysUserPostSet extends Entities {
3442
-
3443
- constructor() {
3444
-
3445
- super(storage, SysUserPost)
3446
- }
3447
- /**
3448
- * 内部方法
3449
- */
3450
- s2b() {
3451
-
3452
- throw new TypeError('s2b is not a function')
3453
- }
3454
- /**
3455
- * 内部方法
3456
- */
3457
- findByValue() {
3458
-
3459
- throw new TypeError('findByValue is not a function')
3460
- }
3461
- /**
3462
- * 内部方法
3463
- */
3464
- findByTime() {
3465
-
3466
- throw new TypeError('findByTime is not a function')
3467
- }
3468
- /**
3469
- * 内部方法
3470
- */
3471
- stringToBuffer() {
3472
-
3473
- throw new TypeError('stringToBuffer is not a function')
3474
- }
3475
-
3476
- }
3477
-
3478
- class SysOperLogSet extends Entities {
3479
-
3480
- constructor() {
3481
-
3482
- super(storage, SysOperLog)
3483
- }
3484
- /**
3485
- * 内部方法
3486
- */
3487
- s2b() {
3488
-
3489
- throw new TypeError('s2b is not a function')
3490
- }
3491
- /**
3492
- * 内部方法
3493
- */
3494
- findByValue() {
3495
-
3496
- throw new TypeError('findByValue is not a function')
3497
- }
3498
- /**
3499
- * 内部方法
3500
- */
3501
- findByTime() {
3502
-
3503
- throw new TypeError('findByTime is not a function')
3504
- }
3505
- /**
3506
- * 内部方法
3507
- */
3508
- stringToBuffer() {
3509
-
3510
- throw new TypeError('stringToBuffer is not a function')
3511
- }
3512
-
3513
- }
3514
-
3515
- class SysDictTypeSet extends Entities {
3516
-
3517
- constructor() {
3518
-
3519
- super(storage, SysDictType)
3520
- }
3521
- /**
3522
- * 内部方法
3523
- */
3524
- s2b() {
3525
-
3526
- throw new TypeError('s2b is not a function')
3527
- }
3528
- /**
3529
- * 内部方法
3530
- */
3531
- findByValue() {
3532
-
3533
- throw new TypeError('findByValue is not a function')
3534
- }
3535
- /**
3536
- * 内部方法
3537
- */
3538
- findByTime() {
3539
-
3540
- throw new TypeError('findByTime is not a function')
3541
- }
3542
- /**
3543
- * 内部方法
3544
- */
3545
- stringToBuffer() {
3546
-
3547
- throw new TypeError('stringToBuffer is not a function')
3548
- }
3549
-
3550
- }
3551
-
3552
- class SysDictDataSet extends Entities {
3553
-
3554
- constructor() {
3555
-
3556
- super(storage, SysDictData)
3557
- }
3558
- /**
3559
- * 内部方法
3560
- */
3561
- s2b() {
3562
-
3563
- throw new TypeError('s2b is not a function')
3564
- }
3565
- /**
3566
- * 内部方法
3567
- */
3568
- findByValue() {
3569
-
3570
- throw new TypeError('findByValue is not a function')
3571
- }
3572
- /**
3573
- * 内部方法
3574
- */
3575
- findByTime() {
3576
-
3577
- throw new TypeError('findByTime is not a function')
3578
- }
3579
- /**
3580
- * 内部方法
3581
- */
3582
- stringToBuffer() {
3583
-
3584
- throw new TypeError('stringToBuffer is not a function')
3585
- }
3586
-
3587
- }
3588
-
3589
- class SysConfigSet extends Entities {
3590
-
3591
- constructor() {
3592
-
3593
- super(storage, SysConfig)
3594
- }
3595
- /**
3596
- * 内部方法
3597
- */
3598
- s2b() {
3599
-
3600
- throw new TypeError('s2b is not a function')
3601
- }
3602
- /**
3603
- * 内部方法
3604
- */
3605
- findByValue() {
3606
-
3607
- throw new TypeError('findByValue is not a function')
3608
- }
3609
- /**
3610
- * 内部方法
3611
- */
3612
- findByTime() {
3613
-
3614
- throw new TypeError('findByTime is not a function')
3615
- }
3616
- /**
3617
- * 内部方法
3618
- */
3619
- stringToBuffer() {
3620
-
3621
- throw new TypeError('stringToBuffer is not a function')
3622
- }
3623
-
3624
- }
3625
-
3626
- class SysLogininforSet extends Entities {
3627
-
3628
- constructor() {
3629
-
3630
- super(storage, SysLogininfor)
3631
- }
3632
- /**
3633
- * 内部方法
3634
- */
3635
- s2b() {
3636
-
3637
- throw new TypeError('s2b is not a function')
3638
- }
3639
- /**
3640
- * 内部方法
3641
- */
3642
- findByValue() {
3643
-
3644
- throw new TypeError('findByValue is not a function')
3645
- }
3646
- /**
3647
- * 内部方法
3648
- */
3649
- findByTime() {
3650
-
3651
- throw new TypeError('findByTime is not a function')
3652
- }
3653
- /**
3654
- * 内部方法
3655
- */
3656
- stringToBuffer() {
3657
-
3658
- throw new TypeError('stringToBuffer is not a function')
3659
- }
3660
-
3661
- }
3662
-
3663
- class SysJobSet extends Entities {
3664
-
3665
- constructor() {
3666
-
3667
- super(storage, SysJob)
3668
- }
3669
- /**
3670
- * 内部方法
3671
- */
3672
- s2b() {
3673
-
3674
- throw new TypeError('s2b is not a function')
3675
- }
3676
- /**
3677
- * 内部方法
3678
- */
3679
- findByValue() {
3680
-
3681
- throw new TypeError('findByValue is not a function')
3682
- }
3683
- /**
3684
- * 内部方法
3685
- */
3686
- findByTime() {
3687
-
3688
- throw new TypeError('findByTime is not a function')
3689
- }
3690
- /**
3691
- * 内部方法
3692
- */
3693
- stringToBuffer() {
3694
-
3695
- throw new TypeError('stringToBuffer is not a function')
3696
- }
3697
-
3698
- }
3699
-
3700
- class SysJobLogSet extends Entities {
3701
-
3702
- constructor() {
3703
-
3704
- super(storage, SysJobLog)
3705
- }
3706
- /**
3707
- * 内部方法
3708
- */
3709
- s2b() {
3710
-
3711
- throw new TypeError('s2b is not a function')
3712
- }
3713
- /**
3714
- * 内部方法
3715
- */
3716
- findByValue() {
3717
-
3718
- throw new TypeError('findByValue is not a function')
3719
- }
3720
- /**
3721
- * 内部方法
3722
- */
3723
- findByTime() {
3724
-
3725
- throw new TypeError('findByTime is not a function')
3726
- }
3727
- /**
3728
- * 内部方法
3729
- */
3730
- stringToBuffer() {
3731
-
3732
- throw new TypeError('stringToBuffer is not a function')
3733
- }
3734
-
3735
- }
3736
-
3737
- class SysNoticeSet extends Entities {
3738
-
3739
- constructor() {
3740
-
3741
- super(storage, SysNotice)
3742
- }
3743
- /**
3744
- * 内部方法
3745
- */
3746
- s2b() {
3747
-
3748
- throw new TypeError('s2b is not a function')
3749
- }
3750
- /**
3751
- * 内部方法
3752
- */
3753
- findByValue() {
3754
-
3755
- throw new TypeError('findByValue is not a function')
3756
- }
3757
- /**
3758
- * 内部方法
3759
- */
3760
- findByTime() {
3761
-
3762
- throw new TypeError('findByTime is not a function')
3763
- }
3764
- /**
3765
- * 内部方法
3766
- */
3767
- stringToBuffer() {
3768
-
3769
- throw new TypeError('stringToBuffer is not a function')
3770
- }
3771
-
3772
- }
3773
-
3774
- class GenTableSet extends Entities {
3775
-
3776
- constructor() {
3777
-
3778
- super(storage, GenTable)
3779
- }
3780
- /**
3781
- * 内部方法
3782
- */
3783
- s2b() {
3784
-
3785
- throw new TypeError('s2b is not a function')
3786
- }
3787
- /**
3788
- * 内部方法
3789
- */
3790
- findByValue() {
3791
-
3792
- throw new TypeError('findByValue is not a function')
3793
- }
3794
- /**
3795
- * 内部方法
3796
- */
3797
- findByTime() {
3798
-
3799
- throw new TypeError('findByTime is not a function')
3800
- }
3801
- /**
3802
- * 内部方法
3803
- */
3804
- stringToBuffer() {
3805
-
3806
- throw new TypeError('stringToBuffer is not a function')
3807
- }
3808
-
3809
- }
3810
-
3811
- class GenTableColumnSet extends Entities {
3812
-
3813
- constructor() {
3814
-
3815
- super(storage, GenTableColumn)
3816
- }
3817
- /**
3818
- * 内部方法
3819
- */
3820
- s2b() {
3821
-
3822
- throw new TypeError('s2b is not a function')
3823
- }
3824
- /**
3825
- * 内部方法
3826
- */
3827
- findByValue() {
3828
-
3829
- throw new TypeError('findByValue is not a function')
3830
- }
3831
- /**
3832
- * 内部方法
3833
- */
3834
- findByTime() {
3835
-
3836
- throw new TypeError('findByTime is not a function')
3837
- }
3838
- /**
3839
- * 内部方法
3840
- */
3841
- stringToBuffer() {
3842
-
3843
- throw new TypeError('stringToBuffer is not a function')
3844
- }
3845
-
3846
- }
3847
-
3848
- class PermissionsSet extends Entities {
3849
-
3850
- constructor() {
3851
-
3852
- super(storage, Permissions)
3853
- }
3854
- /**
3855
- * 内部方法
3856
- */
3857
- s2b() {
3858
-
3859
- throw new TypeError('s2b is not a function')
3860
- }
3861
- /**
3862
- * 内部方法
3863
- */
3864
- findByValue() {
3865
-
3866
- throw new TypeError('findByValue is not a function')
3867
- }
3868
- /**
3869
- * 内部方法
3870
- */
3871
- findByTime() {
3872
-
3873
- throw new TypeError('findByTime is not a function')
3874
- }
3875
- /**
3876
- * 内部方法
3877
- */
3878
- stringToBuffer() {
3879
-
3880
- throw new TypeError('stringToBuffer is not a function')
3881
- }
3882
-
3883
- }
3884
-
3885
- class ServiceSet extends Entities {
3886
-
3887
- constructor() {
3888
-
3889
- super(storage, Service)
3890
- }
3891
- /**
3892
- * 内部方法
3893
- */
3894
- s2b() {
3895
-
3896
- throw new TypeError('s2b is not a function')
3897
- }
3898
- /**
3899
- * 内部方法
3900
- */
3901
- findByValue() {
3902
-
3903
- throw new TypeError('findByValue is not a function')
3904
- }
3905
- /**
3906
- * 内部方法
3907
- */
3908
- findByTime() {
3909
-
3910
- throw new TypeError('findByTime is not a function')
3911
- }
3912
- /**
3913
- * 内部方法
3914
- */
3915
- stringToBuffer() {
3916
-
3917
- throw new TypeError('stringToBuffer is not a function')
3918
- }
3919
-
3920
- indexById(id) {
3921
-
3922
- return super.findByValue($id, uInt32BEToBuffer(id, $id))
3923
- }
3924
- }
3925
-
3926
- class ServiceDataSet extends Entities {
3927
-
3928
- constructor() {
3929
-
3930
- super(storage, ServiceData)
3931
- }
3932
- /**
3933
- * 内部方法
3934
- */
3935
- s2b() {
3936
-
3937
- throw new TypeError('s2b is not a function')
3938
- }
3939
- /**
3940
- * 内部方法
3941
- */
3942
- findByValue() {
3943
-
3944
- throw new TypeError('findByValue is not a function')
3945
- }
3946
- /**
3947
- * 内部方法
3948
- */
3949
- findByTime() {
3950
-
3951
- throw new TypeError('findByTime is not a function')
3952
- }
3953
- /**
3954
- * 内部方法
3955
- */
3956
- stringToBuffer() {
3957
-
3958
- throw new TypeError('stringToBuffer is not a function')
3959
- }
3960
-
3961
- indexById(id) {
3962
-
3963
- return super.findByValue($id, uInt32BEToBuffer(id, $id))
3964
- }
3965
- }
3966
-
3967
- export const remark = Symbol('remark')
3968
-
3969
- export const close = () => storage.close()
3970
-
3971
- export const getStruct = () => struct(storage, remark)
3972
-
3973
- /**
3974
- * @type {import('./type').Storage}
3975
- */
3976
- const store = Object.freeze({
3977
- sysDept: new Proxy([], {
3978
- get: new SysDeptSet()
3979
- }),
3980
- sysUser: new Proxy([], {
3981
- get: new SysUserSet()
3982
- }),
3983
- sysPost: new Proxy([], {
3984
- get: new SysPostSet()
3985
- }),
3986
- sysRole: new Proxy([], {
3987
- get: new SysRoleSet()
3988
- }),
3989
- sysMenu: new Proxy([], {
3990
- get: new SysMenuSet()
3991
- }),
3992
- sysUserRole: new Proxy([], {
3993
- get: new SysUserRoleSet()
3994
- }),
3995
- sysRoleMenu: new Proxy([], {
3996
- get: new SysRoleMenuSet()
3997
- }),
3998
- sysRoleDept: new Proxy([], {
3999
- get: new SysRoleDeptSet()
4000
- }),
4001
- sysUserPost: new Proxy([], {
4002
- get: new SysUserPostSet()
4003
- }),
4004
- sysOperLog: new Proxy([], {
4005
- get: new SysOperLogSet()
4006
- }),
4007
- sysDictType: new Proxy([], {
4008
- get: new SysDictTypeSet()
4009
- }),
4010
- sysDictData: new Proxy([], {
4011
- get: new SysDictDataSet()
4012
- }),
4013
- sysConfig: new Proxy([], {
4014
- get: new SysConfigSet()
4015
- }),
4016
- sysLogininfor: new Proxy([], {
4017
- get: new SysLogininforSet()
4018
- }),
4019
- sysJob: new Proxy([], {
4020
- get: new SysJobSet()
4021
- }),
4022
- sysJobLog: new Proxy([], {
4023
- get: new SysJobLogSet()
4024
- }),
4025
- sysNotice: new Proxy([], {
4026
- get: new SysNoticeSet()
4027
- }),
4028
- genTable: new Proxy([], {
4029
- get: new GenTableSet()
4030
- }),
4031
- genTableColumn: new Proxy([], {
4032
- get: new GenTableColumnSet()
4033
- }),
4034
- permissions: new Proxy([], {
4035
- get: new PermissionsSet()
4036
- }),
4037
- service: new Proxy([], {
4038
- get: new ServiceSet()
4039
- }),
4040
- serviceData: new Proxy([], {
4041
- get: new ServiceDataSet()
4042
- }),
4043
- })
4044
-
4045
- export default store