/*
 * Copyright (c) 2018-2999 广州亚米信息科技有限公司 All rights reserved.
 *
 * https://www.gz-yami.com/
 *
 * 未经允许，不可做商业用途！
 *
 * 版权所有，侵权必究！
 */

package com.yami.shop.delivery.comment.param;

import com.fasterxml.jackson.databind.annotation.JsonSerialize;
import com.yami.shop.common.serializer.json.ImgJsonSerializer;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.io.Serializable;

@Data
public class OrderItemParam implements Serializable {

    private static final long serialVersionUID = 7307405761190788407L;

    /**
     * 购物车产品个数
     */
    @ApiModelProperty(value = "购物车产品个数", required = true)
    private Integer prodCount;

    /**
     * 产品名称
     */
    @ApiModelProperty(value = "产品名称", required = true)
    private String prodName;

    /**
     * 产品主图片路径
     */
    @JsonSerialize(using = ImgJsonSerializer.class)
    @ApiModelProperty(value = "产品主图片路径", required = true)
    private String pic;

}
