package com.wzj.soopin.member.domain.po;

import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;
import org.dromara.common.core.domain.model.BaseAudit;
import org.dromara.common.excel.annotation.Excel;

/**
 * 购物车对象 ums_member_cart
 *
 * @author zcc
 */
@Schema(description="购物车对象")
@Data
@TableName("ums_cart")
public class MemberCart extends BaseAudit {

    @Schema(description ="购物车表ID")
    @TableId
    private Long id;

    @Schema(description ="0->失效；1->有效")
    private Integer status;

    @Schema(description ="用户ID")
    private Long memberId;

    @Schema(description ="商品ID")
    private Long productId;

    @Schema(description ="展示图片")
    private String pic;

    @Schema(description ="SKU ID")
    private Long skuId;

    @Schema(description ="PRODUCT_NAME")
    private String productName;

    @Schema(description ="商品属性")
    private String spec;

    @Schema(description ="商品数量")
    private Integer quantity;

}
