package com.xingxi.business.Carts.domain;

import com.xingxi.common.annotation.Excel;
import com.xingxi.common.core.domain.BaseEntity;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.ToString;

/**
 * 购物车对象 t_carts
 *
 * @author xingxi
 * @date 2025-03-06
 */
@Data
@EqualsAndHashCode(callSuper = true)
@ToString
public class Carts extends BaseEntity {
    private static final long serialVersionUID = 1L;

    // 主键
    private Long id;

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

    // 商品ID
    @Excel(name = "商品ID")
    private Long prodId;

    // 商品属性ID
    @Excel(name = "商品属性ID")
    private Long prodAttrId;

    // 数量
    @Excel(name = "数量")
    private Integer quantity;

    // 是否选中
    @Excel(name = "是否选中")
    private String checkFlag;

    // 删除标志
    @Excel(name = "删除标志")
    private String delFlag;
}
