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 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_search_history")
@Schema(name = "SearchHistoryEntity对象", description = "")
public class SearchHistoryEntity extends BaseEntity {

    private static final long serialVersionUID = 1L;

    @Schema(description = "关键字")
    @TableField("keyword")
    private String keyword;

    @Schema(description = "搜索来源，如PC、小程序、APP等")
    @TableField("`from`")
    private String from;

    @Schema(description = "搜索时间")
    @TableField("add_time")
    private Integer addTime;

    @Schema(description = "会员Id")
    @TableField("user_id")
    private String userId;


}