light-apiengine.xml 28 KB

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