package com.gxwebsoft.shop.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import java.io.Serializable;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;

/**
 * 订单购物详情表
 *
 * @author 科技小王子
 * @since 2024-09-10 21:05:07
 */
@Data
@EqualsAndHashCode(callSuper = false)
@ApiModel(value = "ShopOrderCartInfo对象", description = "订单购物详情表")
public class ShopOrderCartInfo implements Serializable {
    private static final long serialVersionUID = 1L;

    @TableId(value = "id", type = IdType.AUTO)
    private Long id;

    @ApiModelProperty(value = "订单id")
    private Long oid;

    @ApiModelProperty(value = "订单号")
    private String orderId;

    @ApiModelProperty(value = "购物车id")
    private Long cartId;

    @ApiModelProperty(value = "商品ID")
    private Long productId;

    @ApiModelProperty(value = "购买东西的详细信息")
    private String cartInfo;

    @ApiModelProperty(value = "唯一id")
    private String unique;

    @ApiModelProperty(value = "是否能售后0不能1能")
    private Boolean isAfterSales;

}
