package cn.freemud.demo.entities.bo.goods;

import cn.freemud.entities.vo.CartGoods;
import cn.freemud.entities.vo.ComboxGoodsRequestVo;
import cn.freemud.entities.vo.MaterialRequestVo;
import lombok.Data;
import org.hibernate.validator.constraints.NotEmpty;

import java.util.List;

@Data
public class ProductBO {

    private String spuId;

    private String skuId;

    /**
     * 数量
     */
    private Integer qty;

    /**
     * 分类名
     */
    private String categoryName;

    /**
     * 商品额外的属性
     */
    private List<CartGoods.CartGoodsExtra> extra;

    /**
     * 套餐固定商品
     */
    private List<ComboxGoodsRequestVo> productComboList;
    /**
     * 套餐可选商品
     */
    private List<ComboxGoodsRequestVo> productGroupList;

    /**
     * 加料
     */
    private List<MaterialRequestVo> productMaterialList;


}
