CommonConstant.java 955 B

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465
  1. package com.kcim.constants;
  2. /**
  3. * @Author wangyongsheng
  4. * @Description
  5. * @Date 2022/7/19
  6. * @Param
  7. *
  8. **/
  9. public interface CommonConstant {
  10. /**
  11. * Sa-Token 存储用户信息在 session 中 前缀
  12. */
  13. String USER_PREFIX = "centerSys:";
  14. /**
  15. * 用户默认密码
  16. */
  17. String NORMAL_PASSWORD = "123456";
  18. /**
  19. * 权限缓存前缀
  20. */
  21. String PERMISSION_PREFIX = "centerCurrentPerms::";
  22. /**
  23. * 角色缓存前缀
  24. */
  25. String ROLE_PREFIX = "centerCurrentRole::";
  26. /**
  27. * 是
  28. */
  29. String YES = "是";
  30. /**
  31. * 否
  32. */
  33. String NO = "否";
  34. Integer AUDIT_YES = 1;
  35. Integer AUDIT_NO = 0;
  36. Integer SUBMIT = 1;
  37. Integer CANCEL_SUBMIT = 0;
  38. /**
  39. * 未结转
  40. */
  41. Integer CARRY_NO = 0;
  42. /**
  43. * 已结转
  44. */
  45. Integer CARRY_YES = 2;
  46. /**
  47. * 结转中
  48. */
  49. Integer CARRY_ON = 1;
  50. }