package com.fs.live.vo;

import com.fs.common.annotation.Excel;
import lombok.Data;

import java.math.BigDecimal;
import java.util.Date;

/**
 * 购物车对象 live_cart
 *
 * @author fs
 * @date 2025-07-08
 */
@Data
public class LiveCartVo {

    /**
     * 购物车表ID
     */
    private Long cartId;

    /**
     * 直播间ID
     */
    @Excel(name = "直播间ID")
    private Long liveId;

    /**
     * 用户ID
     */
    @Excel(name = "用户ID")
    private String userId;

    /**
     * 直播商品ID
     */
    @Excel(name = "直播商品ID")
    private Long goodsId;

    /**
     * 商品ID
     */
    @Excel(name = "商品ID")
    private String productId;

    /**
     * $column.columnComment
     */
    @Excel(name = "商品ID")
    private Long productAttrValueId;

    /**
     * 商品数量
     */
    @Excel(name = "商品数量")
    private Integer cartNum;

    /**
     * 0 = 未购买 1 = 已购买
     */
    @Excel(name = "0 = 未购买 1 = 已购买")
    private Integer isPay;

    /**
     * 是否删除
     */
    @Excel(name = "是否删除")
    private Integer isDel;

    /**
     * 是否为立即购买
     */
    @Excel(name = "是否为立即购买")
    private Integer isBuy;

    /**
     * 创建时间
     */
    @Excel(name = "创建时间")
    private Date createTime;


    /** 是否选中*/
    @Excel(name = "是否选中")
    private Integer checked;

    /**
     * 更新时间
     */
    @Excel(name = "更新时间")
    private Date updateTime;



    private String imgUrl;
    private String productName;
    private BigDecimal price;
    private BigDecimal otPrice;
    private Integer sales;
    private Integer stock;
}
