package com.macro.mall.portal.domain;

import com.macro.mall.model.PmsProduct;
import com.macro.mall.model.PmsProductAttribute;
import com.macro.mall.model.PmsSkuStock;

import java.util.List;

/**
 * 购物车中带规格和SKU的商品信息
 * Created by macro on 2018/8/2.
 */
public class CartProduct extends PmsProduct {
    //商品属性列表
    private List<PmsProductAttribute> productAttributeList;
    //商品SKU库存列表
    private List<PmsSkuStock> skuStockList;

    public List<PmsProductAttribute> getProductAttributeList() {
        return productAttributeList;
    }

    public void setProductAttributeList(List<PmsProductAttribute> productAttributeList) {
        this.productAttributeList = productAttributeList;
    }

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

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

@@ -161,16 +161,161 @@
 kuStock;
+%0Aimport io.swagger.annotations.ApiModelProperty;%0Aimport lombok.Data;%0Aimport lombok.EqualsAndHashCode;%0Aimport lombok.Getter;%0Aimport lombok.Setter;
 %0A%0Aimport
@@ -393,16 +393,32 @@
 /2.%0A */%0A
+@Getter%0A@Setter%0A
 public c
@@ -463,16 +463,35 @@
     
-//
+@ApiModelProperty(%22
 %E5%95%86%E5%93%81%E5%B1%9E%E6%80%A7%E5%88%97%E8%A1%A8
+%22)
 %0A   
@@ -555,526 +555,81 @@
     
-//%E5%95%86%E5%93%81SKU%E5%BA%93%E5%AD%98%E5%88%97%E8%A1%A8%0A    private List%3CPmsSkuStock%3E skuStockList;%0A%0A    public List%3CPmsProductAttribute%3E getProductAttributeList() %7B%0A        return productAttributeList;%0A    %7D%0A%0A    public void setProductAttributeList(List%3CPmsProductAttribute%3E productAttributeList) %7B%0A        this.productAttributeList = productAttributeList;%0A    %7D%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
+@ApiModelProperty(%22%E5%95%86%E5%93%81SKU%E5%BA%93%E5%AD%98%E5%88%97%E8%A1%A8%22)%0A    private List%3CPmsSkuStock%3E skuStockList;
 %0A%7D%0A

Update CartProduct.java