优惠券 填充 券
This commit is contained in:
@@ -0,0 +1,20 @@
|
||||
package com.czg.account.vo;
|
||||
|
||||
import lombok.Data;
|
||||
|
||||
/**
|
||||
* @author ww
|
||||
* @description
|
||||
*/
|
||||
@Data
|
||||
public class UserCouponFoodVo {
|
||||
private Long id;
|
||||
/**
|
||||
* 商品名称
|
||||
*/
|
||||
private String name;
|
||||
/**
|
||||
* 商品图片(第一张为缩略图,其他为详情)
|
||||
*/
|
||||
private String images;
|
||||
}
|
||||
@@ -3,7 +3,9 @@ package com.czg.account.vo;
|
||||
import lombok.Data;
|
||||
|
||||
import java.math.BigDecimal;
|
||||
import java.util.ArrayList;
|
||||
import java.util.Date;
|
||||
import java.util.List;
|
||||
|
||||
/**
|
||||
* @author ww
|
||||
@@ -16,19 +18,23 @@ public class UserCouponVo {
|
||||
private BigDecimal fullAmount;
|
||||
private BigDecimal discountAmount;
|
||||
private Long couponId;
|
||||
private Long proId;
|
||||
// 商品名称
|
||||
private String productName;
|
||||
private String productCover;
|
||||
private String foods;
|
||||
//优惠券名称
|
||||
private String name;
|
||||
|
||||
//优惠券类型 1 满减 2 商品券
|
||||
//优惠券类型 优惠券类型:1-满减券,2-商品兑换券,3-折扣券,4-第二件半价券, 6-买一送一券,7-固定价格券,8-免配送费券
|
||||
private Integer type;
|
||||
//到期时间
|
||||
private Date endTime;
|
||||
private String useRestrictions;
|
||||
private boolean isUse = false;
|
||||
|
||||
/**
|
||||
* 优惠券门槛商品列表
|
||||
*/
|
||||
List<UserCouponFoodVo> thresholdFoods = new ArrayList<>();
|
||||
/**
|
||||
* 优惠券可用商品列表
|
||||
*/
|
||||
List<UserCouponFoodVo> useFoods = new ArrayList<>();
|
||||
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user