TenantConstant.java 1.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566
  1. /*
  2. * Copyright (c) 2018-2028, Chill Zhuang All rights reserved.
  3. *
  4. * Redistribution and use in source and binary forms, with or without
  5. * modification, are permitted provided that the following conditions are met:
  6. *
  7. * Redistributions of source code must retain the above copyright notice,
  8. * this list of conditions and the following disclaimer.
  9. * Redistributions in binary form must reproduce the above copyright
  10. * notice, this list of conditions and the following disclaimer in the
  11. * documentation and/or other materials provided with the distribution.
  12. * Neither the name of the dreamlu.net developer nor the names of its
  13. * contributors may be used to endorse or promote products derived from
  14. * this software without specific prior written permission.
  15. * Author: Chill 庄骞 (smallchill@163.com)
  16. */
  17. package org.springblade.common.constant;
  18. import java.util.Arrays;
  19. import java.util.List;
  20. /**
  21. * 租户常量
  22. *
  23. * @author Chill
  24. */
  25. public interface TenantConstant {
  26. /**
  27. * 租户默认密码KEY
  28. */
  29. String PASSWORD_KEY = "tenant.default.password";
  30. /**
  31. * 租户默认账号额度KEY
  32. */
  33. String ACCOUNT_NUMBER_KEY = "tenant.default.accountNumber";
  34. /**
  35. * 租户默认菜单集合KEY
  36. */
  37. String ACCOUNT_MENU_CODE_KEY = "tenant.default.menuCode";
  38. /**
  39. * 租户默认密码
  40. */
  41. String DEFAULT_PASSWORD = "123456";
  42. /**
  43. * 租户授权码默认16位密钥
  44. */
  45. String DES_KEY = "0000000000000000";
  46. /**
  47. * 租户默认账号额度
  48. */
  49. Integer DEFAULT_ACCOUNT_NUMBER = -1;
  50. /**
  51. * 租户默认菜单集合
  52. */
  53. List<String> MENU_CODES = Arrays.asList(
  54. "desk", "flow", "work", "monitor", "resource", "role", "user", "dept", "dictbiz", "topmenu"
  55. );
  56. }