This commit is contained in:
@@ -1,5 +1,6 @@
|
||||
package ru.soune.nocopy.dto.tarriff;
|
||||
|
||||
import com.fasterxml.jackson.annotation.JsonIgnore;
|
||||
import com.fasterxml.jackson.annotation.JsonProperty;
|
||||
import lombok.Builder;
|
||||
import lombok.Data;
|
||||
@@ -10,26 +11,34 @@ import java.util.List;
|
||||
@Builder
|
||||
public class TariffResponse {
|
||||
private String tariffName;
|
||||
|
||||
private String tariffType;
|
||||
|
||||
@JsonProperty("page")
|
||||
@JsonIgnore
|
||||
private Integer page;
|
||||
|
||||
@JsonProperty("page_size")
|
||||
@JsonIgnore
|
||||
private Integer pageSize;
|
||||
|
||||
@JsonProperty("sort_by")
|
||||
@JsonIgnore
|
||||
private String sortBy;
|
||||
|
||||
@JsonProperty("sort_direction")
|
||||
@JsonIgnore
|
||||
private String sortDirection;
|
||||
|
||||
@JsonProperty("total_pages")
|
||||
@JsonIgnore
|
||||
private Integer totalPages;
|
||||
|
||||
@JsonProperty("total_elements")
|
||||
@JsonIgnore
|
||||
private Long totalElements;
|
||||
|
||||
@JsonProperty("tariffs")
|
||||
@JsonIgnore
|
||||
private List<TariffDTO> tariffs;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user