38 lines
827 B
Java
38 lines
827 B
Java
package ru.soune.nocopy.dto.tokenoperation;
|
|
import com.fasterxml.jackson.annotation.JsonInclude;
|
|
import com.fasterxml.jackson.annotation.JsonProperty;
|
|
import lombok.Builder;
|
|
import lombok.Data;
|
|
|
|
import java.util.Map;
|
|
|
|
@Data
|
|
@Builder
|
|
@JsonInclude(JsonInclude.Include.NON_NULL)
|
|
public class TokenOperationResponse {
|
|
|
|
@JsonProperty("success")
|
|
private Boolean success;
|
|
|
|
@JsonProperty("message")
|
|
private String message;
|
|
|
|
@JsonProperty("data")
|
|
private Object data;
|
|
|
|
@JsonProperty("total_elements")
|
|
private Long totalElements;
|
|
|
|
@JsonProperty("total_pages")
|
|
private Integer totalPages;
|
|
|
|
@JsonProperty("current_page")
|
|
private Integer currentPage;
|
|
|
|
@JsonProperty("page_size")
|
|
private Integer pageSize;
|
|
|
|
@JsonProperty("statistics")
|
|
private Map<String, Object> statistics;
|
|
}
|