package com.platform.entity;

import com.baomidou.mybatisplus.annotation.TableName;
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-22
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@TableName("tm_scene_census")
@ApiModel(value="ApiTmSceneCensusVo对象", description="场景统计")
public class ApiTmSceneCensusVo implements Serializable {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "统计ID")
    private String censusId;

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

    @ApiModelProperty(value = "场景所属的公司ID")
    private String companyId;

    @ApiModelProperty(value = "场景商品数")
    private Integer goodsNum;

    @ApiModelProperty(value = "视频解说次数")
    private Integer videoIntroduceTimes;

    @ApiModelProperty(value = "场景位点数")
    private Integer sceneHots;

    @ApiModelProperty(value = "平均视频观看时长")
    private Double videoAverageTime;

    @ApiModelProperty(value = "页面平均停留时长")
    private Double averageVisitTime;

    @ApiModelProperty(value = "名片交换次数")
    private Integer visitCardExchangeTimes;

    @ApiModelProperty(value = "创建时间")
    private LocalDateTime createTime;

    @ApiModelProperty(value = "最后更新时间")
    private LocalDateTime lastModifyDatetime;

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

    @ApiModelProperty(value = "统计日期")
    private LocalDate censusDate;

    @ApiModelProperty(value = "介绍视频个数")
    private Integer videoNums;

    @ApiModelProperty(value = "场景历史总浏览次数")
    private Long totalVisitNum;

    @ApiModelProperty(value = "当天场景浏览次数")
    private Integer currVisitNum;

    @ApiModelProperty(value = "数据归属部门")
    private String deptId;

    @ApiModelProperty(value = "热点浏览总数")
    private Long hotVisitNum;

    @ApiModelProperty(value = "pv历史数据-json数组，默认从昨天开始计算，前7天的")
    private String pvHistory;

    @ApiModelProperty(value = "uv历史数据-json数组，默认从昨天开始计算，前7天的")
    private String uvHistory;

    @ApiModelProperty(value = "热点(商品）统计历史数据-json数组，默认从昨天开始计算，前7天的")
    private String hotVisitHistory;

    @ApiModelProperty(value = "询盘数量历史")
    private String talkHistory;

    @ApiModelProperty(value = "询盘总量")
    private Long totalTalkNum;

    @ApiModelProperty(value = "pv总数")
    private Long pvTotalNum;

    @ApiModelProperty(value = "uv总数")
    private Long uvTotalNum;

    @ApiModelProperty(value = "统计区间长度")
    private Integer censusSize;

    @ApiModelProperty(value = "场景所属公司的名称")
    private String companyName;

    @ApiModelProperty(value = "当天成交数量")
    private Long dealNum;

    @ApiModelProperty(value = "成交数量历史")
    private String dealHistory;

    @ApiModelProperty(value = "成交总量")
    private Long dealTotalNum;


}
