ghy-all/ghy-common/src/main/java/com/ghy/common/enums/PayStatus.java

30 lines
467 B
Java
Raw Normal View History

2022-05-29 19:22:12 +08:00
package com.ghy.common.enums;
/**
* @author clunt
* 付款状态
*/
public enum PayStatus {
WAIT_PAY(0, "待支付"),
PAID(1, "已支付"),
CANCEL(2, "已取消");
private final Integer code;
private final String desc;
PayStatus(Integer code, String desc) {
this.code = code;
this.desc = desc;
}
public Integer getCode() {
return code;
}
public String getDesc() {
return desc;
}
}