package com.zbkj.common.vo;

import com.zbkj.common.vo.product.ProductAttrVo;
import com.zbkj.common.vo.product.ProductInfoVo;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

import java.io.Serializable;
import java.util.HashMap;
import java.util.List;

@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@ApiModel(value="HomeProductVo", description="楼层商品信息")
public class HomeProductVo implements Serializable {

    private static final long serialVersionUID=1L;

    /**
     * 产品编号
     */
    @ApiModelProperty(value = "商品id")
    private Integer productId;
    /**
     * 图片
     */
    @ApiModelProperty(value = "图片")
    private String imgUrl;
    /**
     * 跳转地址
     */
    @ApiModelProperty(value = "跳转地址")
    private String directUrl;

    @ApiModelProperty(value = "产品属性")
    private List<ProductAttrVo> productAttr;

    @ApiModelProperty(value = "商品属性详情")
    private HashMap<String, Object> productValue;

    @ApiModelProperty(value = "商品信息")
    private ProductInfoVo productInfo;

}
