KeyRate GET rate -> keyRate
This commit is contained in:
parent
2a725b6f37
commit
7cf44f3879
2 changed files with 6 additions and 6 deletions
|
|
@ -42,7 +42,7 @@ public class KeyRateBackendGetAll extends BasicSpcexResponse {
|
|||
for (var keyRate : keyRates) {
|
||||
var singleItem = new KeyRateBackendGetFields();
|
||||
singleItem.setId(keyRate.getId());
|
||||
singleItem.setRate(keyRate.getRate());
|
||||
singleItem.setKeyRate(keyRate.getRate());
|
||||
singleItem.setStartDate(keyRate.getStartDate());
|
||||
singleItem.setEndDate(keyRate.getEndDate());
|
||||
singleItem.setDocument(keyRate.getDocument());
|
||||
|
|
|
|||
|
|
@ -11,7 +11,7 @@ public class KeyRateBackendGetFields {
|
|||
@JsonProperty
|
||||
private Long id;
|
||||
@JsonProperty
|
||||
private BigDecimal rate;
|
||||
private BigDecimal keyRate;
|
||||
@JsonSerialize(using = LocalDateSerializer.class)
|
||||
@JsonProperty
|
||||
private LocalDate startDate;
|
||||
|
|
@ -31,12 +31,12 @@ public class KeyRateBackendGetFields {
|
|||
this.id = id;
|
||||
}
|
||||
|
||||
public BigDecimal getRate() {
|
||||
return rate;
|
||||
public BigDecimal getKeyRate() {
|
||||
return keyRate;
|
||||
}
|
||||
|
||||
public void setRate(BigDecimal rate) {
|
||||
this.rate = rate;
|
||||
public void setKeyRate(BigDecimal keyRate) {
|
||||
this.keyRate = keyRate;
|
||||
}
|
||||
|
||||
public LocalDate getStartDate() {
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue