package ru.soune.nocopy.dto.docviewer;

import com.fasterxml.jackson.annotation.JsonInclude;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.time.LocalDateTime;
import java.util.List;

@Data
@Builder
@NoArgsConstructor
@AllArgsConstructor
@JsonInclude(JsonInclude.Include.NON_NULL)
public class DockViewStatsResponse {
    private String fileId;

    private Long totalViews;

    private Long uniqueIps;

    private Long uniqueUsers;

    private int documentsCount;

    private int uniqueCountryCount;

    private int uniqueCityCount;

    private LocalDateTime firstViewDate;

    private LocalDateTime lastViewDate;

    private List<DockViewStatsResponse> content;

    private List<DockViewResponse> history;

    private Integer pageNumber;

    private Integer pageSize;

    private Long totalElements;

    private Integer totalPages;

    private Boolean isLast;

    private Boolean isFirst;

    private Boolean hasNext;

    private Boolean hasPrevious;
}