SystemConstant.java 680 B

123456789101112131415161718192021222324252627
  1. package com.ydtech.constants.sys;
  2. import com.ydtech.modules.admin.constants.RoleConstants;
  3. import com.ydtech.modules.admin.model.SysUser;
  4. public class SystemConstant {
  5. private SystemConstant() {
  6. throw new IllegalStateException("Utility class");
  7. }
  8. protected static final String[] SYS_ROLE_TEAM_LEADER = {
  9. RoleConstants.R01.getCode(),
  10. RoleConstants.R15.getCode(),
  11. RoleConstants.R16.getCode(),
  12. RoleConstants.R17.getCode(),
  13. RoleConstants.R18.getCode(),
  14. RoleConstants.R21.getCode()
  15. };
  16. public static String[] getSysRoleTeamLeader(){
  17. return SYS_ROLE_TEAM_LEADER;
  18. }
  19. }