|
|
@@ -1,6 +1,7 @@
|
|
|
package com.yonge.cooleshow.biz.dal.wrapper.coupon;
|
|
|
|
|
|
import com.alibaba.fastjson.JSON;
|
|
|
+import com.yonge.cooleshow.biz.dal.enums.coupon.CouponCategoryEnum;
|
|
|
import com.yonge.cooleshow.biz.dal.enums.coupon.CouponUseStateEnum;
|
|
|
import lombok.AllArgsConstructor;
|
|
|
import lombok.Builder;
|
|
|
@@ -32,6 +33,9 @@ public class CouponOrderWrapper implements Serializable {
|
|
|
// 订单编号
|
|
|
private String orderNo;
|
|
|
|
|
|
+ // 使用方式
|
|
|
+ private CouponCategoryEnum useType;
|
|
|
+
|
|
|
public String jsonString() {
|
|
|
|
|
|
return JSON.toJSONString(this);
|
|
|
@@ -66,6 +70,12 @@ public class CouponOrderWrapper implements Serializable {
|
|
|
return this;
|
|
|
}
|
|
|
|
|
|
+ public CouponOrderWrapper useType(CouponCategoryEnum useType) {
|
|
|
+ this.useType = useType;
|
|
|
+ return this;
|
|
|
+ }
|
|
|
+
|
|
|
+
|
|
|
/**
|
|
|
* 用户优惠券信息
|
|
|
*/
|
|
|
@@ -118,6 +128,8 @@ public class CouponOrderWrapper implements Serializable {
|
|
|
private Long useTime;
|
|
|
// 订单编号
|
|
|
private String orderNo;
|
|
|
+ // 使用方式
|
|
|
+ private CouponCategoryEnum useType;
|
|
|
|
|
|
public String jsonString() {
|
|
|
return JSON.toJSONString(this);
|