package com.seer.teach.mall.entity;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableName;
import com.seer.teach.common.entity.BaseEntity;

import java.time.LocalDateTime;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Getter;
import lombok.Setter;

/**
 * <p>
 *
 * </p>
 *
 * @author Captain
 * @since 2025-06-10
 */
@Getter
@Setter
@TableName("mall_goods_collected")
@Schema(name = "GoodsCollectedEntity对象")
public class GoodsCollectEntity extends BaseEntity {

    private static final long serialVersionUID = 1L;

    @Schema(description = "商品id")
    @TableField("goods_id")
    private Integer goodsId;

    @TableField("user_id")
    private Integer userId;

    @Schema(description = "是否收藏")
    @TableField("is_collected")
    private Integer isCollected;

    @Schema(description = "收藏时间")
    @TableField("collected_time")
    private LocalDateTime collectedTime;


}