平安校园
No puede seleccionar más de 25 temas Los temas deben comenzar con una letra o número, pueden incluir guiones ('-') y pueden tener hasta 35 caracteres de largo.
 
 
 
 
 
 

267 líneas
5.3 KiB

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