package com.fdkankan.ucenter.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableLogic;
import com.baomidou.mybatisplus.annotation.TableName;
import java.io.Serializable;
import java.math.BigDecimal;
import java.util.Date;
import lombok.Getter;
import lombok.Setter;

/**
 * <p>
 * 百度统计场景流量量表
 * </p>
 *
 * @author 
 * @since 2022-10-31
 */
@Getter
@Setter
@TableName("t_scene_statistics")
public class SceneStatistics implements Serializable {

    private static final long serialVersionUID = 1L;

    @TableId(value = "id", type = IdType.AUTO)
    private Long id;

    /**
     * 场景码
     */
    @TableField("scene_num")
    private String sceneNum;

    /**
     * 浏览量(PV)
     */
    @TableField("pv_count")
    private Integer pvCount;

    /**
     * 访客数(UV)
     */
    @TableField("visitor_count")
    private Integer visitorCount;

    /**
     * IP 数
     */
    @TableField("ip_count")
    private Integer ipCount;

    /**
     * 入口页次数
     */
    @TableField("visit1_count")
    private Integer visit1Count;

    /**
     * 贡献下游浏览量
     */
    @TableField("outward_count")
    private Integer outwardCount;

    /**
     * 退出页次数
     */
    @TableField("exit_count")
    private Integer exitCount;

    /**
     * 平均停留时长， 秒
     */
    @TableField("average_stay_time")
    private Integer averageStayTime;

    /**
     * 退出率，%
     */
    @TableField("exit_ratio")
    private Double exitRatio;

    /**
     * 1:场景，2:热点，3:视频
     */
    @TableField("type")
    private Integer type;

    /**
     * 日期（年月日）
     */
    @TableField("date_str")
    private Date dateStr;

    @TableField("create_time")
    private Date createTime;

    @TableField("update_time")
    private Date updateTime;

    @TableField("rec_status")
    @TableLogic(value = "A", delval = "I")
    private String recStatus;


}
