猫妈狗爸伴宠师小程序后端代码
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.

34 lines
653 B

10 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. private final Integer type;
  18. private final String msg;
  19. private OrderStatus(Integer type, String msg) {
  20. this.type = type;
  21. this.msg = msg;
  22. }
  23. public Integer getType() {
  24. return this.type;
  25. }
  26. public String getMsg() {
  27. return this.msg;
  28. }
  29. }