package ru.soune.nocopy.dto.docviewer;

import com.fasterxml.jackson.annotation.JsonProperty;
import lombok.Builder;
import lombok.Data;

@Data
@Builder
public class DocViewerRequest {
    @JsonProperty("file_id")
    private String fileId;

    @JsonProperty("token")
    private String token;

    @JsonProperty("ip")
    private String ip;

    @JsonProperty("user_agent")
    private String userAgent;

    @JsonProperty("page")
    private int page = 0;

    @JsonProperty("size")
    private int size = 10;

    @JsonProperty("created_at")
    private String sortBy = "createdAt";

    @JsonProperty("sort_direction")
    private String sortDirection = "desc";

    @JsonProperty("action")
    private String action;

}
