猫妈狗爸伴宠师小程序后端代码
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

35 lines
684 B

8 months ago
8 months ago
  1. package com.ruoyi.common.enums;
  2. /**
  3. * 用户状态
  4. *
  5. * @author ruoyi
  6. */
  7. public enum OrderStatus
  8. {
  9. ALL_DATA(-1,"全部订单"),
  10. UN_PAY(0, "待付款"),
  11. NOT_DELIVERED(1, "待发货"),
  12. DELIVERED(2, "待收货"),
  13. COMPLETE(3, "已完成"),
  14. CLOSED(4, "已关闭"),
  15. INVALID(5, "无效订单"),
  16. REFUUND(-2, "售后订单"),
  17. UNDERWAY(11, "进行中");
  18. private final Integer type;
  19. private final String msg;
  20. private OrderStatus(Integer type, String msg) {
  21. this.type = type;
  22. this.msg = msg;
  23. }
  24. public Integer getType() {
  25. return this.type;
  26. }
  27. public String getMsg() {
  28. return this.msg;
  29. }
  30. }