package com.pcloud.book.book.entity;

import com.pcloud.common.entity.BaseEntity;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

@Data
@ApiModel("搜索记录")
public class SearchRecord extends BaseEntity {

    @ApiModelProperty("搜索内容")
    private String content;

    @ApiModelProperty("书籍id")
    private Long bookId;

    @ApiModelProperty("书名")
    private String bookName;

    @ApiModelProperty("出版社id")
    private Long agentId;

    @ApiModelProperty("出版社名称")
    private String agentName;

    @ApiModelProperty("用户wxId")
    private String wxId;

    @ApiModelProperty("微信id")
    private Long wechatUserId;

    @ApiModelProperty("头像")
    private String headUrl;

    @ApiModelProperty("昵称")
    private String nickName;

    @ApiModelProperty("性别")
    private Integer sex;

    @ApiModelProperty("热门关键词id")
    private Long hotBookId;

    @ApiModelProperty("用户是否删除")
    private Boolean userDelete;

}
