ValidStatus.java 534 B

123456789101112131415161718192021222324252627282930
  1. package com.ydtech.constants.enums.dict.agreement;
  2. import lombok.AllArgsConstructor;
  3. import lombok.Getter;
  4. /**
  5. * @version
  6. * @description: 是否有效
  7. * @author: wenks
  8. * @date: 2024/1/17 17:40
  9. **/
  10. @AllArgsConstructor
  11. @Getter
  12. public enum ValidStatus {
  13. VS_1("1", "有效", 1, 0),
  14. VS_2("0", "无效", 2, 0);
  15. // 编号
  16. private final String code;
  17. // 说明
  18. private final String desc;
  19. // 排序
  20. private final Integer sort;
  21. // 状态 0 启用 1 不启用
  22. private final Integer status;
  23. }