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-18
 */
@Getter
@Setter
@TableName("mall_browsing_history")
@Schema(name = "ZsMallBrowsingHistoryEntity对象", description = "")
public class BrowsingHistoryEntity extends BaseEntity {

    private static final long serialVersionUID = 1L;

    @Schema(description = "用户ID")
    @TableField("user_id")
    private Integer userId;

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

    @Schema(description = "浏览时间")
    @TableField("browsed_time")
    private LocalDateTime browsedTime;


}