AttendanceNodeEnum.java 644 B

12345678910111213141516171819202122232425262728293031323334
  1. package com.xjrsoft.common.enums;
  2. /**
  3. * @description:考勤节点
  4. * @author: phoenix
  5. * @create: 2023/12/19 9:42
  6. * @Version 1.0
  7. */
  8. public enum AttendanceNodeEnum {
  9. /*
  10. * 上班打卡
  11. * */
  12. STARTWORK("start_work", "上班打卡"),
  13. /*
  14. * 下班打卡
  15. * */
  16. ENDWORK("end_work", "下班打卡");
  17. final String code;
  18. final String value;
  19. public String getCode() {
  20. return this.code;
  21. }
  22. public String getValue() {
  23. return this.value;
  24. }
  25. AttendanceNodeEnum(final String code, final String message) {
  26. this.code = code;
  27. this.value = message;
  28. }
  29. }