light-apiengine.xml 28 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446
  1. <?xml version="1.0" encoding="utf-8" ?>
  2. <application xmlns="http://qianqiusoft.com/developer"
  3. xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
  4. xsi:schemaLocation="http://qianqiusoft.com/developer"
  5. name="light-apiengine"
  6. desc="千秋开发平台"
  7. packagename="git.qianqiusoft.com/qianqiusoft/light-apiengine">
  8. <controllers>
  9. <controller name="sso" desc="用户单点登录功能" skip_login="true">
  10. <api name="login" desc="用户登录" method="post,get,put">
  11. <param name="logininfo" ref="$login_info" desc="登录信息"></param>
  12. <return>
  13. <success ref="$sys_return"></success>
  14. <failure ref="$sys_return"></failure>
  15. </return>
  16. </api>
  17. <api name="logout" desc="用户退出" method="post,get">
  18. <return>
  19. <success ref="$sys_return"></success>
  20. <failure ref="$sys_return"></failure>
  21. </return>
  22. </api>
  23. </controller>
  24. <controller name="sys_attachment" desc="系统管理">
  25. <api name="upload" desc="上传文件" method="post">
  26. <return>
  27. <success ref="$sys_return"></success>
  28. <failure ref="$sys_return"></failure>
  29. </return>
  30. </api>
  31. <api name="download" desc="下载文件" method="get">
  32. <param name="id" type="string" desc="文件ID"></param>
  33. <return>
  34. <success ref="$sys_return"></success>
  35. <failure ref="$sys_return"></failure>
  36. </return>
  37. </api>
  38. <api name="delete" desc="删除文件" method="get">
  39. <param name="id" type="string" desc="文件ID"></param>
  40. <return>
  41. <success ref="$sys_return"></success>
  42. <failure ref="$sys_return"></failure>
  43. </return>
  44. </api>
  45. </controller>
  46. <controller name="system" desc="系统管理">
  47. <api name="sidebar" function="tree" table="sys_menu" desc="获取导航菜单" method="post,get">
  48. <param name="user" type="string" desc="用户id"/>
  49. <return>
  50. <success ref="$sys_return"></success>
  51. <failure ref="$sys_return"></failure>
  52. </return>
  53. </api>
  54. <api name="get_menu_tree" desc="获取系统菜单" method="post,get">
  55. <param name="user" type="string" desc="用户id"/>
  56. <return>
  57. <success ref="$sys_return"></success>
  58. <failure ref="$sys_return"></failure>
  59. </return>
  60. </api>
  61. <api name="find_user_page" desc="获取用户分页数" function="page" table="sys_user" method="get,post" >
  62. </api>
  63. <api name="get_org_tree" desc="获取组织架构树" function="tree" table="sys_org" method="get,post" >
  64. </api>
  65. <api name="add_user" desc="添加用户" method="post,get,put">
  66. <param name="login_id" type="string" desc="登录ID"/>
  67. <param name="password" type="string" desc="密码"/>
  68. <param name="org_id" type="string" desc="组织ID"/>
  69. <param name="email" type="string" desc="邮箱"/>
  70. <return>
  71. <success ref="$sys_return"></success>
  72. <failure ref="$sys_return"></failure>
  73. </return>
  74. </api>
  75. <api name="del_user" desc="删除用户" method="post,get,put">
  76. <param name="id" type="string" desc="用户ID"/>
  77. <return>
  78. <success ref="$sys_return"></success>
  79. <failure ref="$sys_return"></failure>
  80. </return>
  81. </api>
  82. <api name="update_user" desc="修改用户" method="post,get,put">
  83. <param name="login_id" type="string" desc="登录ID"/>
  84. <param name="password" type="string" desc="密码"/>
  85. <param name="org_id" type="string" desc="组织ID"/>
  86. <param name="email" type="string" desc="邮箱"/>
  87. <return>
  88. <success ref="$sys_return"></success>
  89. <failure ref="$sys_return"></failure>
  90. </return>
  91. </api>
  92. <api name="add_role" desc="添加角色" method="post,get,put">
  93. <param name="name" type="string" desc="角色名称"/>
  94. <param name="remark" type="string" desc="备注"/>
  95. <return>
  96. <success ref="$sys_return"></success>
  97. <failure ref="$sys_return"></failure>
  98. </return>
  99. </api>
  100. <api name="del_role" desc="添加角色" method="post,get,put">
  101. <param name="id" type="string" desc="角色ID"/>
  102. <return>
  103. <success ref="$sys_return"></success>
  104. <failure ref="$sys_return"></failure>
  105. </return>
  106. </api>
  107. <api name="update_role" desc="修改角色" method="post,get,put">
  108. <param name="id" type="string" desc="角色ID"/>
  109. <param name="name" type="string" desc="角色名称"/>
  110. <param name="remark" type="string" desc="备注"/>
  111. <return>
  112. <success ref="$sys_return"></success>
  113. <failure ref="$sys_return"></failure>
  114. </return>
  115. </api>
  116. <api name="find_role_page" desc="角色分页" method="post,get,put">
  117. <param name="page" ref="$get_page_info" desc="分页参数"/>
  118. <return>
  119. <success ref="$sys_return"></success>
  120. <failure ref="$sys_return"></failure>
  121. </return>
  122. </api>
  123. <api name="find_role_menu" desc="查找角色权限" method="post,get,put">
  124. <param name="role_id" type="string" desc="角色id"/>
  125. <return>
  126. <success ref="$sys_return"></success>
  127. <failure ref="$sys_return"></failure>
  128. </return>
  129. </api>
  130. <api name="save_role_menu" desc="保存角色权限" method="post,get,put">
  131. <param name="role_menu" ref="$save_role_menu array" type="string" desc="角色权限"/>
  132. <return>
  133. <success ref="$sys_return"></success>
  134. <failure ref="$sys_return"></failure>
  135. </return>
  136. </api>
  137. <api name="role_all" desc="查找所有角色" method="post,get,put">
  138. <return>
  139. <success ref="$sys_return"></success>
  140. <failure ref="$sys_return"></failure>
  141. </return>
  142. </api>
  143. <api name="find_permissions" desc="查找用户权限" method="post,get,put">
  144. <return>
  145. <success ref="$sys_return"></success>
  146. <failure ref="$sys_return"></failure>
  147. </return>
  148. </api>
  149. <api name="add_menu" desc="添加菜单" method="post,get,put">
  150. <param name="" ref="$sys_menu" type="string" desc="菜单"/>
  151. <return>
  152. <success ref="$sys_return"></success>
  153. <failure ref="$sys_return"></failure>
  154. </return>
  155. </api>
  156. <api name="del_menu" desc="删除菜单" method="post,get,put">
  157. <param name="id" type="string" desc="菜单ID"/>
  158. <return>
  159. <success ref="$sys_return"></success>
  160. <failure ref="$sys_return"></failure>
  161. </return>
  162. </api>
  163. <api name="update_menu" desc="更新菜单" method="post,get,put">
  164. <param name="" ref="$sys_menu" type="string" desc="菜单"/>
  165. <return>
  166. <success ref="$sys_return"></success>
  167. <failure ref="$sys_return"></failure>
  168. </return>
  169. </api>
  170. </controller>
  171. <controller name="api" desc="api接口">
  172. <api name="api_doc" method="get" desc="api文档">
  173. <param name="sys" desc="是否包含用户管理相关接口" type="string"></param>
  174. </api>
  175. </controller>
  176. </controllers>
  177. <beans>
  178. <bean name="sys_menu_tree" desc="系统菜单树" inher="$sys_menu">
  179. <prop name="children" caption="子列表" type="$sys_menu_tree array" />
  180. <prop name="level" caption="目录层级" type="int32" />
  181. <prop name="parent_name" caption="父节点名称" type="string" />
  182. </bean>
  183. <bean name="sys_org_tree" desc="组织架构" inher="$sys_org">
  184. <prop name="children" caption="子列表" type="$sys_org_tree array" />
  185. </bean>
  186. <bean name="user_info" desc="用户信息" inher="$sys_user">
  187. <prop name="org_name" caption="部门名称" type="string" />
  188. <prop name="role_name" caption="角色名称" type="string" />
  189. <prop name="user_role" caption="用户角色" type="$sys_user_role array" />
  190. </bean>
  191. <bean name="login_info" desc="登录信息">
  192. <prop name="account" caption="用户id" type="string" />
  193. <prop name="password" caption="密码" type="string" />
  194. <prop name="captcha" caption="验证码" type="string" />
  195. </bean>
  196. <bean name="login_return_info" desc="登录信息" inher="$sys_user">
  197. <prop name="token" caption="token" type="string" />
  198. </bean>
  199. <bean name="get_page_info" desc="分页参数">
  200. <prop name="pageNum" caption="页码" type="int" />
  201. <prop name="pageSize" caption="单页数" type="int" />
  202. <prop name="columnFilters" caption="过滤条件" type="$column_filters"/>
  203. </bean>
  204. <bean name="column_filters" desc="分页参数_过滤条件列表">
  205. <prop name="name" caption="过滤名称列表" type="$column_filter" />
  206. </bean>
  207. <bean name="column_filter" desc="分页参数_过滤条件">
  208. <prop name="name" caption="过滤名称列表" type="string" />
  209. <prop name="value" caption="过滤值" type="string" />
  210. </bean>
  211. <bean name="sys_user_page_info">
  212. <prop name="pageNum" caption="页码" type="int" />
  213. <prop name="pageSize" caption="单页数" type="int" />
  214. <prop name="totalSize" caption="总页数" type="int" />
  215. <prop name="content" caption="内容" type="$user_info array" />
  216. </bean>
  217. <bean name="sys_return" desc="系统返回">
  218. <prop name="code" caption="代码" type="int32" />
  219. <prop name="msg" caption="描述" type="string" />
  220. <prop name="data" caption="数据" type="interface{}" />
  221. </bean>
  222. <bean name="sys_role_page_info">
  223. <prop name="pageNum" caption="页码" type="int" />
  224. <prop name="pageSize" caption="单页数" type="int" />
  225. <prop name="totalSize" caption="总页数" type="int" />
  226. <prop name="content" caption="内容" type="$sys_role array" />
  227. </bean>
  228. <bean name="save_role_menu" desc="保存角色权限参数">
  229. <prop name="role_id" caption="角色ID" type="string" />
  230. <prop name="menu_id" caption="菜单ID" type="string" />
  231. </bean>
  232. <bean name="storage_result" desc="附件返回">
  233. <prop name="result" caption="result" type="string" />
  234. <prop name="ip" caption="ip" type="string" />
  235. <prop name="port" caption="port" type="string" />
  236. <prop name="id" caption="id" type="string" />
  237. <prop name="hash" caption="hash" type="string" />
  238. <prop name="len" caption="len" type="int32" />
  239. <prop name="error" caption="error" type="string" />
  240. </bean>
  241. <bean name="page_result" desc="分页结果">
  242. <prop name="page" caption="页码" type="int" />
  243. <prop name="rows" caption="单页数" type="int" />
  244. <prop name="totalSize" caption="总页数" type="int64" />
  245. <prop name="content" caption="内容" type="interface{}" />
  246. </bean>
  247. <bean name="tree_node" desc="树结点">
  248. <prop name="id" caption="ID" type="string" />
  249. <prop name="text" caption="标题" type="string" />
  250. <prop name="parent" caption="父结点" type="string" />
  251. <prop name="nodes" caption="子结点" type="*TreeNode array" />
  252. <prop name="tag" caption="tag" type="interface{}" />
  253. </bean>
  254. <bean name="join" desc="连表查询">
  255. <prop name="joinOperator" caption="连接方式" type="string" />
  256. <prop name="tabelName" caption="连接表名" type="string" />
  257. <prop name="condition" caption="连接条件" type="string" />
  258. </bean>
  259. <bean name="page_query_param" desc="分页参数">
  260. <prop name="table_name" caption="表名" type="string" />
  261. <prop name="select_fields" caption="选择列" type="[]string" />
  262. <prop name="join_tables" caption="总数" type="$join array" />
  263. <!--<prop name="page_info" caption="内容" type="$get_page_info" />-->
  264. </bean>
  265. </beans>
  266. <tables>
  267. <table name="sys_user" desc="用户表">
  268. <column isNull="false" isPK="true" name="id" caption="主键" dbtype="varchar(36)"
  269. type="string" size="36">
  270. <auto value="$uuid" update="false">
  271. </auto>
  272. </column>
  273. <column isNull="false" name="login_id" caption="登录ID" type="string" dbtype="varchar(36)" size="36" />
  274. <column isNull="false" name="password" caption="密码" type="string" size="36" dbtype="varchar(36)"/>
  275. <column isNull="false" name="name" caption="名字" type="string" size="36" dbtype="varchar(36)"/>
  276. <column isNull="false" name="full_name" caption="全名" type="string" size="36" dbtype="varchar(36)"/>
  277. <column isNull="false" name="mobile" caption="电话" type="string" size="50" dbtype="varchar(50)"/>
  278. <column isNull="false" name="email" caption="邮箱" type="string" size="50" dbtype="varchar(50)"/>
  279. <column isNull="false" name="org_id" caption="组织ID" type="string" size="36" dbtype="varchar(36)"/>
  280. <column name="type" caption="用户类型" type="int32"/>
  281. <column name="status" caption="状态 0:禁用 1:正常" type="int32"/>
  282. <column isNull="false" name="domain" caption="域" type="string" size="50" dbtype="varchar(50)"/>
  283. <column isNull="false" name="create_by" caption="创建人" type="string" size="36" dbtype="varchar(36)"/>
  284. <column isNull="false" name="create_time" caption="创建时间" type="datetime" />
  285. <column isNull="false" name="last_update_by" caption="最后更新人" type="string" size="36" dbtype="varchar(36)"/>
  286. <column isNull="false" name="last_update_date" caption="最后更新时间" type="datetime" />
  287. <column isNull="false" name="del_flag" caption="是否删除 0:删除 1:正常" type="int32"/>
  288. </table>
  289. <table name="sys_org" desc="组织架构">
  290. <column isNull="false" isPK="true" name="id" caption="主键" dbtype="varchar(36)"
  291. type="string" size="36">
  292. <auto value="$uuid" update="false">
  293. </auto>
  294. </column>
  295. <column isNull="true" name="parent" caption="上级组织" type="string" size="36" dbtype="varchar(36)" />
  296. <column isNull="false" name="name" caption="名称" type="string" size="36" dbtype="varchar(36)"/>
  297. <column isNull="false" name="full_name" caption="全名" type="string" size="36" dbtype="varchar(36)"/>
  298. <column isNull="false" name="leader" caption="领导人" type="string" size="36" dbtype="varchar(36)"/>
  299. <column name="type" caption="组织类型" type="int32"/>
  300. <column name="order" caption="排序" type="int32"/>
  301. <column name="status" caption="状态 0:禁用 1:正常" type="int32"/>
  302. <column isNull="false" name="domain" caption="域" type="string" size="50" dbtype="varchar(36)"/>
  303. <column isNull="false" name="create_by" caption="创建人" type="string" size="36" dbtype="varchar(36)"/>
  304. <column isNull="false" name="create_time" caption="创建时间" type="datetime" />
  305. <column isNull="false" name="last_update_by" caption="最后更新人" type="string" size="36" dbtype="varchar(36)"/>
  306. <column isNull="false" name="last_update_date" caption="最后更新时间" type="datetime" />
  307. <column isNull="false" name="del_flag" caption="是否删除 0:删除 1:正常" type="int32"/>
  308. </table>
  309. <table name="sys_role" desc="用户角色">
  310. <column isNull="false" isPK="true" name="id" caption="主键" dbtype="varchar(36)"
  311. type="string" size="36">
  312. <auto value="$uuid" update="false">
  313. </auto>
  314. </column>
  315. <column isNull="false" name="name" caption="名称" type="string" size="36" dbtype="varchar(36)"/>
  316. <column isNull="false" name="code" caption="编码" type="string" size="36" dbtype="varchar(36)"/>
  317. <column name="remark" caption="备注" type="string" size="100" dbtype="varchar(100)"/>
  318. <column name="status" caption="状态 0:禁用 1:正常" type="int32"/>
  319. <column isNull="false" name="domain" caption="域" type="string" size="50" dbtype="varchar(50)"/>
  320. <column isNull="false" name="create_by" caption="创建人" type="string" size="36" dbtype="varchar(36)"/>
  321. <column isNull="false" name="create_time" caption="创建时间" type="datetime" />
  322. <column isNull="false" name="last_update_by" caption="最后更新人" type="string" size="36" dbtype="varchar(36)"/>
  323. <column isNull="false" name="last_update_date" caption="最后更新时间" type="datetime" />
  324. <column isNull="false" name="del_flag" caption="是否删除 0:删除 1:正常" type="int32"/>
  325. </table>
  326. <table name="sys_user_role" desc="用户与角色对应">
  327. <column isNull="false" isPK="true" name="id" caption="主键" dbtype="varchar(36)"
  328. type="string" size="36">
  329. <auto value="$uuid" update="false">
  330. </auto>
  331. </column>
  332. <column isNull="false" name="user_id" caption="用户ID" type="string" size="36" dbtype="varchar(36)"/>
  333. <column isNull="false" name="role_id" caption="角色ID" type="string" size="36" dbtype="varchar(36)"/>
  334. <column isNull="false" name="domain" caption="域" type="string" size="50" dbtype="varchar(50)"/>
  335. <column isNull="false" name="create_by" caption="创建人" type="string" size="36" dbtype="varchar(36)"/>
  336. <column isNull="false" name="create_time" caption="创建时间" type="datetime" />
  337. <column isNull="false" name="last_update_by" caption="最后更新人" type="string" size="36" dbtype="varchar(36)"/>
  338. <column isNull="false" name="last_update_date" caption="最后更新时间" type="datetime" />
  339. <column isNull="false" name="del_flag" caption="是否删除 0:删除 1:正常" type="int32"/>
  340. </table>
  341. <table name="sys_menu" desc="系统菜单">
  342. <column isNull="false" isPK="true" name="id" caption="主键" dbtype="varchar(36)"
  343. type="string" size="36">
  344. <auto value="$uuid" update="false">
  345. </auto>
  346. </column>
  347. <column isNull="false" name="name" caption="菜单名称" type="string" size="36" dbtype="varchar(36)"/>
  348. <column isNull="false" name="code" caption="编码" type="string" size="36" dbtype="varchar(36)"/>
  349. <column isNull="true" name="parent" caption="父菜单ID,一级菜单为null" type="string" size="36" dbtype="varchar(36)"/>
  350. <column name="url" type="string" size="200" dbtype="varchar(200)" caption="菜单URL,类型:1.普通页面(如用户管理, /sys/user) 2.嵌套完整外部页面,以http(s)开头的链接 3.嵌套服务器页面,使用iframe:前缀+目标URL(如SQL监控, iframe:/druid/login.html, iframe:前缀会替换成服务器地址)"/>
  351. <column name="component" type="string" size="100" dbtype="varchar(100)" caption="菜单组件"/>
  352. <column isNull="true" name="perms" caption="授权(多个用逗号分隔,如:sys:user:add,sys:user:edit)" type="string" size="500" dbtype="varchar(500)"/>
  353. <column name="type" caption="类型 0:目录 1:菜单 2:按钮" type="int32"/>
  354. <column isNull="false" name="icon" caption="菜单图标" type="string" size="50" dbtype="varchar(50)"/>
  355. <column isNull="false" name="order_num" caption="排序" type="int32"/>
  356. <column isNull="false" name="domain" caption="域" type="string" size="50" dbtype="varchar(50)"/>
  357. <column isNull="false" name="create_by" caption="创建人" type="string" size="36" dbtype="varchar(36)"/>
  358. <column isNull="false" name="create_time" caption="创建时间" type="datetime" />
  359. <column isNull="false" name="last_update_by" caption="最后更新人" type="string" size="36" dbtype="varchar(36)"/>
  360. <column isNull="false" name="last_update_date" caption="最后更新时间" type="datetime" />
  361. <column isNull="false" name="del_flag" caption="是否删除 0:删除 1:正常" type="int32"/>
  362. </table>
  363. <table name="sys_role_menu" desc="角色与菜单对应">
  364. <column isNull="false" isPK="true" name="id" caption="主键" dbtype="varchar(36)"
  365. type="string" size="36">
  366. <auto value="$uuid" update="false">
  367. </auto>
  368. </column>
  369. <column isNull="false" name="role_id" caption="用户ID" type="string" size="36" dbtype="varchar(36)"/>
  370. <column isNull="false" name="menu_id" caption="角色ID" type="string" size="36" dbtype="varchar(36)"/>
  371. <column isNull="false" name="domain" caption="域" type="string" size="50" />
  372. <column isNull="false" name="create_by" caption="创建人" type="string" size="36" dbtype="varchar(36)"/>
  373. <column isNull="false" name="create_time" caption="创建时间" type="datetime" />
  374. <column isNull="false" name="last_update_by" caption="最后更新人" type="string" size="36" dbtype="varchar(36)"/>
  375. <column isNull="false" name="last_update_date" caption="最后更新时间" type="datetime" />
  376. <column isNull="false" name="del_flag" caption="是否删除 0:删除 1:正常" type="int32"/>
  377. </table>
  378. <table name="sys_permission" desc="权限表">
  379. <column isNull="false" isPK="true" name="id" caption="主键" dbtype="varchar(36)"
  380. type="string" size="36">
  381. <auto value="$uuid" update="false">
  382. </auto>
  383. </column>
  384. <column isNull="false" name="perms" caption="权限标识" type="string" size="100" dbtype="varchar(100)"/>
  385. <column isNull="false" name="domain" caption="域" type="string" size="50" />
  386. <column isNull="false" name="create_by" caption="创建人" type="string" size="36" dbtype="varchar(36)"/>
  387. <column isNull="false" name="create_time" caption="创建时间" type="datetime" />
  388. <column isNull="false" name="last_update_by" caption="最后更新人" type="string" size="36" dbtype="varchar(36)"/>
  389. <column isNull="false" name="last_update_date" caption="最后更新时间" type="datetime" />
  390. <column isNull="false" name="del_flag" caption="是否删除 0:删除 1:正常" type="int32"/>
  391. </table>
  392. <table name="sys_role_permission" desc="角色权限表">
  393. <column isNull="false" isPK="true" name="id" caption="主键" dbtype="varchar(36)"
  394. type="string" size="36">
  395. <auto value="$uuid" update="false">
  396. </auto>
  397. </column>
  398. <column isNull="false" name="permission_id" caption="权限ID" type="string" size="36" dbtype="varchar(36)"/>
  399. <column isNull="false" name="role_id" caption="角色ID" type="string" size="36" dbtype="varchar(36)"/>
  400. <column isNull="false" name="domain" caption="域" type="string" size="50" />
  401. <column isNull="false" name="create_by" caption="创建人" type="string" size="36" dbtype="varchar(36)"/>
  402. <column isNull="false" name="create_time" caption="创建时间" type="datetime" />
  403. <column isNull="false" name="last_update_by" caption="最后更新人" type="string" size="36" dbtype="varchar(36)"/>
  404. <column isNull="false" name="last_update_date" caption="最后更新时间" type="datetime" />
  405. <column isNull="false" name="del_flag" caption="是否删除 0:删除 1:正常" type="int32"/>
  406. </table>
  407. <table name="sys_attachment" desc="附件表">
  408. <column isNull="false" isPK="true" name="id" caption="主键" dbtype="varchar(36)"
  409. type="string" size="36">
  410. <auto value="$uuid" update="false">
  411. </auto>
  412. </column>
  413. <column isNull="false" name="name" caption="名称" type="string" size="36" dbtype="varchar(36)"/>
  414. <column isNull="false" name="size" caption="大小" type="int32" size="50" />
  415. <column isNull="false" name="ext" caption="ext" type="string" size="36" dbtype="varchar(36)"/>
  416. <column isNull="false" name="hash" caption="哈希值" type="string" />
  417. <column isNull="false" name="url" caption="链接地址" type="string" size="200" dbtype="varchar(200)"/>
  418. <column isNull="false" name="create_by" caption="创建人" type="string" size="36" dbtype="varchar(36)"/>
  419. <column isNull="false" name="create_time" caption="创建时间" type="datetime" />
  420. <column isNull="false" name="del_flag" caption="是否删除 0:删除 1:正常" type="int32"/>
  421. </table>
  422. <table name="sys_domain" desc="用户域">
  423. <column isNull="false" isPK="true" name="id" caption="主键" dbtype="varchar(36)"
  424. type="string" size="36">
  425. <auto value="$uuid" update="false">
  426. </auto>
  427. </column>
  428. <column isNull="false" name="name" caption="名称" type="string" size="36" dbtype="varchar(36)"/>
  429. <column isNull="false" name="full_name" caption="全名" type="string" size="36" dbtype="varchar(36)"/>
  430. <column isNull="false" name="contact_name" caption="负责人" type="string" size="36" dbtype="varchar(36)"/>
  431. <column isNull="false" name="contact_email" caption="负责人邮箱" type="string" size="50" dbtype="varchar(50)"/>
  432. <column isNull="false" name="contact_mobile" caption="负责人电话" type="string" size="50" dbtype="varchar(50)"/>
  433. <column isNull="false" name="data_source" caption="数据库链接串" type="string" size="200" dbtype="varchar(200)"/>
  434. <column isNull="false" name="domain_url" caption="网址" type="string" size="200" dbtype="varchar(200)"/>
  435. <column name="type" caption="域类型" type="int32"/>
  436. <column name="status" caption="状态 0:禁用 1:正常" type="int32"/>
  437. <column isNull="false" name="domain" caption="域" type="string" size="50" dbtype="varchar(36)"/>
  438. <column isNull="false" name="create_by" caption="创建人" type="string" size="36" dbtype="varchar(36)"/>
  439. <column isNull="false" name="create_time" caption="创建时间" type="datetime" />
  440. <column isNull="false" name="last_update_by" caption="最后更新人" type="string" size="36" dbtype="varchar(36)"/>
  441. <column isNull="false" name="last_update_date" caption="最后更新时间" type="datetime" />
  442. <column isNull="false" name="del_flag" caption="是否删除 0:删除 1:正常" type="int32"/>
  443. </table>
  444. </tables>
  445. </application>