package com.jeesharp.business.modules.mall.entity;

import com.baomidou.mybatisplus.annotation.TableName;
import com.jeesharp.framework.mybatis.core.dataobject.BaseEntity;
import lombok.Data;
import lombok.EqualsAndHashCode;

import java.math.BigDecimal;

/**
 * 购物车
 */
@Data
@EqualsAndHashCode(callSuper = true)
@TableName("mall_cart_item")
public class MallCartItem extends BaseEntity<MallCartItem> {

    /**
     * 会员ID
     */
    private String memberId;

    /**
     * SKU ID
     */
    private String skuId;

    /**
     * SPU ID
     */
    private String spuId;

    /**
     * 数量
     */
    private Integer quantity;

    /**
     * 选中状态：0-未选中 1-已选中
     */
    private Integer selected;
}