package com.fs.hisStore.domain;

import com.fs.common.annotation.Excel;
import com.fs.common.core.domain.BaseEntity;
import lombok.*;

import java.math.BigDecimal;

/**
 * 购物车对象 fs_store_cart
 *
 * @author fs
 * @date 2022-03-21
 */
@Getter
@Setter
@AllArgsConstructor
@NoArgsConstructor
@Builder
public class FsStoreCartScrm extends BaseEntity
{
    private static final long serialVersionUID = 1L;

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

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

    /** 类型 */
    @Excel(name = "类型")
    private String type;

    /** 商品ID */
    @Excel(name = "商品ID")
    private Long 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 BigDecimal changePrice;


}
