package com.ruoyi.controller.resp;

import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.math.BigDecimal;

/**
 * @author a
 * @date 2023/2/13 16:28
 */
@Data
public class ShoppingCarListVo {

    @ApiModelProperty(value = "购物车id")
    private Long id;

    @ApiModelProperty(value = "商品id")
    private Long goodsId;

    @ApiModelProperty(value = "规格id")
    private Long specId;

    @ApiModelProperty(value = "商品图片")
    private String image;

    @ApiModelProperty(value = "商品封面图")
    private String coverImage;

    @ApiModelProperty(value = "销售价")
    private BigDecimal price;

    @ApiModelProperty(value = "积分")
    private BigDecimal integral;

    @ApiModelProperty(value = "数量")
    private Integer quantity;

    @ApiModelProperty(value = "商品名称")
    private String goodsName;

    @ApiModelProperty(value = "规格名称")
    private String specName;

    @ApiModelProperty(value = "商品规格状态")
    private Integer specFlag;

    @ApiModelProperty(value = "商品状态")
    private Integer goodsFlag;

    @ApiModelProperty(value = "库存")
    private Integer stock;


}
