package com.slodon.b2b2c.vo.statistics;

import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.util.ArrayList;
import java.util.List;

/**
 *
 * 流量趋势Vo对象
 * @author gaosheng
 */
@Data
public class ScreenFlowTrendVO {

    @ApiModelProperty("海外访客数列表")
    private List<VisitorNumVO> visitorNumList = new ArrayList<>();

    @ApiModelProperty("海外访问量列表")
    private List<ViewNumVO> viewNumList = new ArrayList<>();

    @ApiModelProperty("国内访客数列表")
    private List<VisitorNumVO> visitorNumCNList = new ArrayList<>();

    @ApiModelProperty("国内访问量列表")
    private List<ViewNumVO> viewNumCNList = new ArrayList<>();

    @Data
    public static class VisitorNumVO {
        @ApiModelProperty("统计时间")
        private String statsTime;

        @ApiModelProperty("访客数")
        private Integer visitorNum;
    }

    @Data
    public static class ViewNumVO {
        @ApiModelProperty("统计时间")
        private String statsTime;

        @ApiModelProperty("访问量")
        private Integer viewNum;
    }

}
