package com.macro.mall.portal.domain;

import com.macro.mall.model.PmsProduct;
import com.macro.mall.model.PmsProductFullReduction;
import com.macro.mall.model.PmsProductLadder;
import com.macro.mall.model.PmsSkuStock;

import java.util.List;

/**
 * 促销商品信息，包括sku、打折优惠、满减优惠
 * Created by macro on 2018/8/27.
 */
public class PromotionProduct extends PmsProduct {
    //商品库存信息
    private List<PmsSkuStock> skuStockList;
    //商品打折信息
    private List<PmsProductLadder> productLadderList;
    //商品满减信息
    private List<PmsProductFullReduction> productFullReductionList;

    public List<PmsSkuStock> getSkuStockList() {
        return skuStockList;
    }

    public void setSkuStockList(List<PmsSkuStock> skuStockList) {
        this.skuStockList = skuStockList;
    }

    public List<PmsProductLadder> getProductLadderList() {
        return productLadderList;
    }

    public void setProductLadderList(List<PmsProductLadder> productLadderList) {
        this.productLadderList = productLadderList;
    }

    public List<PmsProductFullReduction> getProductFullReductionList() {
        return productFullReductionList;
    }

    public void setProductFullReductionList(List<PmsProductFullReduction> productFullReductionList) {
        this.productFullReductionList = productFullReductionList;
    }
}

@@ -211,16 +211,60 @@
 kuStock;
+%0Aimport lombok.Getter;%0Aimport lombok.Setter;
 %0A%0Aimport
@@ -349,16 +349,32 @@
 27.%0A */%0A
+@Getter%0A@Setter%0A
 public c
@@ -553,16 +553,16 @@
 /%E5%95%86%E5%93%81%E6%BB%A1%E5%87%8F%E4%BF%A1%E6%81%AF%0A
+
     priv
@@ -624,743 +624,7 @@
 ist;
-%0A%0A    public List%3CPmsSkuStock%3E getSkuStockList() %7B%0A        return skuStockList;%0A    %7D%0A%0A    public void setSkuStockList(List%3CPmsSkuStock%3E skuStockList) %7B%0A        this.skuStockList = skuStockList;%0A    %7D%0A%0A    public List%3CPmsProductLadder%3E getProductLadderList() %7B%0A        return productLadderList;%0A    %7D%0A%0A    public void setProductLadderList(List%3CPmsProductLadder%3E productLadderList) %7B%0A        this.productLadderList = productLadderList;%0A    %7D%0A%0A    public List%3CPmsProductFullReduction%3E getProductFullReductionList() %7B%0A        return productFullReductionList;%0A    %7D%0A%0A    public void setProductFullReductionList(List%3CPmsProductFullReduction%3E productFullReductionList) %7B%0A        this.productFullReductionList = productFullReductionList;%0A    %7D
 %0A%7D%0A

Update PromotionProduct.java