DataAuthMethodEnum.java 580 B

1234567891011121314151617181920212223242526272829303132333435
  1. package com.xjrsoft.common.enums;
  2. /**
  3. * @Author: tzx
  4. * @Date: 2023/2/27 15:22
  5. */
  6. public enum DataAuthMethodEnum {
  7. /*
  8. *
  9. * 简易
  10. * */
  11. SIMPLE(0, "简易"),
  12. /*
  13. * 自定义
  14. * */
  15. CUSTOM(1, "自定义");
  16. final int code;
  17. final String value;
  18. public int getCode() {
  19. return this.code;
  20. }
  21. public String getValue() {
  22. return this.value;
  23. }
  24. DataAuthMethodEnum(final int code, final String message) {
  25. this.code = code;
  26. this.value = message;
  27. }
  28. }