dev add tariff info and control
Test Workflow / test (push) Has been cancelled

This commit is contained in:
2026-05-27 17:47:12 +07:00
parent d82ee69d6f
commit 1ac6d6f1b0
@@ -1,5 +1,6 @@
package ru.soune.nocopy.dto.tarriff; package ru.soune.nocopy.dto.tarriff;
import com.fasterxml.jackson.annotation.JsonIgnore;
import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonProperty;
import lombok.Builder; import lombok.Builder;
import lombok.Data; import lombok.Data;
@@ -10,26 +11,34 @@ import java.util.List;
@Builder @Builder
public class TariffResponse { public class TariffResponse {
private String tariffName; private String tariffName;
private String tariffType; private String tariffType;
@JsonProperty("page") @JsonProperty("page")
@JsonIgnore
private Integer page; private Integer page;
@JsonProperty("page_size") @JsonProperty("page_size")
@JsonIgnore
private Integer pageSize; private Integer pageSize;
@JsonProperty("sort_by") @JsonProperty("sort_by")
@JsonIgnore
private String sortBy; private String sortBy;
@JsonProperty("sort_direction") @JsonProperty("sort_direction")
@JsonIgnore
private String sortDirection; private String sortDirection;
@JsonProperty("total_pages") @JsonProperty("total_pages")
@JsonIgnore
private Integer totalPages; private Integer totalPages;
@JsonProperty("total_elements") @JsonProperty("total_elements")
@JsonIgnore
private Long totalElements; private Long totalElements;
@JsonProperty("tariffs") @JsonProperty("tariffs")
@JsonIgnore
private List<TariffDTO> tariffs; private List<TariffDTO> tariffs;
} }