k.e.book.common.enums.OrderStatus Maven / Gradle / Ivy
package k.e.book.common.enums;
import lombok.Getter;
/**
* 状态:created=支付中,paid=已付款,expired=已过期,closed=关闭支付,refund=已退款
*/
@Getter
public enum OrderStatus {
CREATED("created"), PAID("paid"), EXPIRED("expired"), CLOSED("closed"), REFUND("refund");
private final String flag;
OrderStatus(String f) {
this.flag = f;
}
}