package com.platform.entity;

import java.time.LocalDate;
import java.time.LocalDateTime;
import java.io.Serializable;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 * <p>
 * 商品详情浏览记录
 * </p>
 *
 * @author abner
 * @since 2020-09-27
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@ApiModel(value="TmGoodsDetailLog对象", description="商品详情浏览记录")
public class TmGoodsDetailLog implements Serializable {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "记录ID")
    private String logId;

    @ApiModelProperty(value = "商品id")
    private Integer goodsId;

    @ApiModelProperty(value = "商品名称")
    private String goodsName;

    @ApiModelProperty(value = "浏览日期")
    private LocalDate visitDate;

    @ApiModelProperty(value = "浏览用户ID")
    private Long visitorId;

    @ApiModelProperty(value = "用户名字")
    private String visitorName;

    @ApiModelProperty(value = "用户浏览的ip地址")
    private String visitIp;

    @ApiModelProperty(value = "创建日期")
    private LocalDateTime createTime;

    @ApiModelProperty(value = "更新日期")
    private LocalDateTime updateTime;

    @ApiModelProperty(value = "是否可用:1->可用;0->不可用")
    private Integer enable;

    @ApiModelProperty(value = "店铺ID")
    private Integer brandId;

    @ApiModelProperty(value = "店铺的场景码")
    private String sceneNum;


}
