平安校园
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

CateGoryConst.cs 5.3 KiB

4 months ago
123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266
  1. 
  2. //
  3. namespace SafeCampus.System;
  4. /// <summary>
  5. /// 分类常量
  6. /// </summary>
  7. public class CateGoryConst
  8. {
  9. #region 系统配置
  10. /// <summary>
  11. /// 系统基础
  12. /// </summary>
  13. public const string CONFIG_SYS_BASE = "SYS_BASE";
  14. /// <summary>
  15. /// 登录策略
  16. /// </summary>
  17. public const string CONFIG_LOGIN_POLICY = "LOGIN_POLICY";
  18. /// <summary>
  19. /// 密码策略
  20. /// </summary>
  21. public const string CONFIG_PWD_POLICY = "PWD_POLICY";
  22. /// <summary>
  23. /// 业务定义
  24. /// </summary>
  25. public const string CONFIG_BIZ_DEFINE = "BIZ_DEFINE";
  26. /// <summary>
  27. /// 文件-本地
  28. /// </summary>
  29. public const string CONFIG_FILE_LOCAL = "FILE_LOCAL";
  30. /// <summary>
  31. /// 文件-MINIO
  32. /// </summary>
  33. public const string CONFIG_FILE_MINIO = "FILE_MINIO";
  34. #endregion 系统配置
  35. #region Mqtt配置
  36. /// <summary>
  37. /// MQTT配置
  38. /// </summary>
  39. public const string CONFIG_MQTT_BASE = "MQTT_BASE";
  40. #endregion Mqtt配置
  41. #region 关系表
  42. /// <summary>
  43. /// 用户有哪些角色
  44. /// </summary>
  45. public const string RELATION_SYS_USER_HAS_ROLE = "SYS_USER_HAS_ROLE";
  46. /// <summary>
  47. /// 角色有哪些资源
  48. /// </summary>
  49. public const string RELATION_SYS_ROLE_HAS_RESOURCE = "SYS_ROLE_HAS_RESOURCE";
  50. /// <summary>
  51. /// 角色有哪些模块
  52. /// </summary>
  53. public const string RELATION_SYS_ROLE_HAS_MODULE = "SYS_ROLE_HAS_MODULE";
  54. /// <summary>
  55. /// 用户有哪些模块
  56. /// </summary>
  57. public const string RELATION_SYS_USER_HAS_MODULE = "SYS_USER_HAS_MODULE";
  58. /// <summary>
  59. ///用户有哪些资源
  60. /// </summary>
  61. public const string RELATION_SYS_USER_HAS_RESOURCE = "SYS_USER_HAS_RESOURCE";
  62. /// <summary>
  63. /// 角色有哪些权限
  64. /// </summary>
  65. public const string RELATION_SYS_ROLE_HAS_PERMISSION = "SYS_ROLE_HAS_PERMISSION";
  66. /// <summary>
  67. /// 用户有哪些权限
  68. /// </summary>
  69. public const string RELATION_SYS_USER_HAS_PERMISSION = "SYS_USER_HAS_PERMISSION";
  70. /// <summary>
  71. /// 用户工作台数据
  72. /// </summary>
  73. public const string RELATION_SYS_USER_WORKBENCH_DATA = "SYS_USER_WORKBENCH_DATA";
  74. /// <summary>
  75. /// 用户日程数据
  76. /// </summary>
  77. public const string RELATION_SYS_USER_SCHEDULE_DATA = "SYS_USER_SCHEDULE_DATA";
  78. /// <summary>
  79. /// 站内信与接收用户
  80. /// </summary>
  81. public const string RELATION_MSG_TO_USER = "MSG_TO_USER";
  82. #endregion 关系表
  83. #region 数据范围
  84. /// <summary>
  85. /// 本人
  86. /// </summary>
  87. public const string SCOPE_SELF = "SCOPE_SELF";
  88. /// <summary>
  89. /// 所有
  90. /// </summary>
  91. public const string SCOPE_ALL = "SCOPE_ALL";
  92. /// <summary>
  93. /// 仅所属组织
  94. /// </summary>
  95. public const string SCOPE_ORG = "SCOPE_ORG";
  96. /// <summary>
  97. /// 所属组织及以下
  98. /// </summary>
  99. public const string SCOPE_ORG_CHILD = "SCOPE_ORG_CHILD";
  100. /// <summary>
  101. /// 自定义
  102. /// </summary>
  103. public const string SCOPE_ORG_DEFINE = "SCOPE_ORG_DEFINE";
  104. #endregion 数据范围
  105. #region 资源表
  106. /// <summary>
  107. /// 模块
  108. /// </summary>
  109. public const string RESOURCE_MODULE = "MODULE";
  110. /// <summary>
  111. /// 菜单
  112. /// </summary>
  113. public const string RESOURCE_MENU = "MENU";
  114. /// <summary>
  115. /// 单页
  116. /// </summary>
  117. public const string RESOURCE_SPA = "SPA";
  118. /// <summary>
  119. /// 按钮
  120. /// </summary>
  121. public const string RESOURCE_BUTTON = "BUTTON";
  122. #endregion 资源表
  123. #region 日志表
  124. /// <summary>
  125. /// 登录
  126. /// </summary>
  127. public const string LOG_LOGIN = "LOGIN";
  128. /// <summary>
  129. /// 登出
  130. /// </summary>
  131. public const string LOG_LOGOUT = "LOGOUT";
  132. /// <summary>
  133. /// 操作
  134. /// </summary>
  135. public const string LOG_OPERATE = "OPERATE";
  136. /// <summary>
  137. /// 异常
  138. /// </summary>
  139. public const string LOG_EXCEPTION = "EXCEPTION";
  140. #endregion 日志表
  141. #region 字典表
  142. /// <summary>
  143. /// 框架
  144. /// </summary>
  145. public const string DICT_FRM = "FRM";
  146. /// <summary>
  147. /// 业务
  148. /// </summary>
  149. public const string DICT_BIZ = "BIZ";
  150. #endregion 字典表
  151. #region 组织表
  152. /// <summary>
  153. /// 部门
  154. /// </summary>
  155. public const string ORG_DEPT = "DEPT";
  156. /// <summary>
  157. /// 公司
  158. /// </summary>
  159. public const string ORG_COMPANY = "COMPANY";
  160. #endregion 组织表
  161. #region 职位表
  162. /// <summary>
  163. /// 高层
  164. /// </summary>
  165. public const string POSITION_HIGH = "HIGH";
  166. /// <summary>
  167. /// 中层
  168. /// </summary>
  169. public const string POSITION_MIDDLE = "MIDDLE";
  170. /// <summary>
  171. /// 基层
  172. /// </summary>
  173. public const string POSITION_LOW = "LOW";
  174. #endregion 职位表
  175. #region 角色表
  176. /// <summary>
  177. /// 全局
  178. /// </summary>
  179. public const string ROLE_GLOBAL = "GLOBAL";
  180. /// <summary>
  181. /// 机构
  182. /// </summary>
  183. public const string ROLE_ORG = "ORG";
  184. #endregion 角色表
  185. #region 站内信表
  186. /// <summary>
  187. /// 通知
  188. /// </summary>
  189. public const string MESSAGE_INFORM = "INFORM";
  190. /// <summary>
  191. /// 公告
  192. /// </summary>
  193. public const string MESSAGE_NOTICE = "NOTICE";
  194. #endregion 站内信表
  195. }