http://jira.mfd.msk:8088/browse/CLS-148 keyRate -> rate
This commit is contained in:
parent
fc42ca0c8f
commit
ad84cbd6a6
2 changed files with 12 additions and 12 deletions
|
|
@ -20,7 +20,7 @@ import java.util.List;
|
||||||
public class KeyRateNewAction implements IAction<KeyRateNewRequest> {
|
public class KeyRateNewAction implements IAction<KeyRateNewRequest> {
|
||||||
@ApiModelProperty(value = "Ключевая ставка ЦБ РФ", example = "12.5")
|
@ApiModelProperty(value = "Ключевая ставка ЦБ РФ", example = "12.5")
|
||||||
@JsonProperty
|
@JsonProperty
|
||||||
public BigDecimal keyRate;
|
public BigDecimal rate;
|
||||||
@ApiModelProperty(value = "Дата начала действия ключевой ставки", example = "2022-01-20")
|
@ApiModelProperty(value = "Дата начала действия ключевой ставки", example = "2022-01-20")
|
||||||
@JsonFormat(pattern = "yyyy-MM-dd", timezone = "Europe/Moscow")
|
@JsonFormat(pattern = "yyyy-MM-dd", timezone = "Europe/Moscow")
|
||||||
@JsonDeserialize(using = LocalDateDeserializer.class)
|
@JsonDeserialize(using = LocalDateDeserializer.class)
|
||||||
|
|
@ -53,17 +53,17 @@ public class KeyRateNewAction implements IAction<KeyRateNewRequest> {
|
||||||
var req = new KeyRateNewRequest();
|
var req = new KeyRateNewRequest();
|
||||||
req.setStartDate(this.getStartDate());
|
req.setStartDate(this.getStartDate());
|
||||||
req.setEndDate(this.getEndDate());
|
req.setEndDate(this.getEndDate());
|
||||||
req.setKeyRate(this.getKeyRate());
|
req.setKeyRate(this.getRate());
|
||||||
req.setDocument(this.getDocument());
|
req.setDocument(this.getDocument());
|
||||||
return req;
|
return req;
|
||||||
}
|
}
|
||||||
|
|
||||||
public BigDecimal getKeyRate() {
|
public BigDecimal getRate() {
|
||||||
return keyRate;
|
return rate;
|
||||||
}
|
}
|
||||||
|
|
||||||
public void setKeyRate(BigDecimal keyRate) {
|
public void setRate(BigDecimal rate) {
|
||||||
this.keyRate = keyRate;
|
this.rate = rate;
|
||||||
}
|
}
|
||||||
|
|
||||||
public LocalDate getStartDate() {
|
public LocalDate getStartDate() {
|
||||||
|
|
|
||||||
|
|
@ -18,7 +18,7 @@ public class KeyRateUpdateAction implements IAction<KeyRateUpdateRequest> {
|
||||||
public Long id;
|
public Long id;
|
||||||
@ApiModelProperty(value = "Ключевая ставка ЦБ РФ", example = "12.5")
|
@ApiModelProperty(value = "Ключевая ставка ЦБ РФ", example = "12.5")
|
||||||
@JsonProperty
|
@JsonProperty
|
||||||
public BigDecimal keyRate;
|
public BigDecimal rate;
|
||||||
@ApiModelProperty(value = "Дата начала действия ключевой ставки", example = "2022-01-20")
|
@ApiModelProperty(value = "Дата начала действия ключевой ставки", example = "2022-01-20")
|
||||||
@JsonFormat(pattern = "yyyy-MM-dd", timezone = "Europe/Moscow")
|
@JsonFormat(pattern = "yyyy-MM-dd", timezone = "Europe/Moscow")
|
||||||
@JsonDeserialize(using = LocalDateDeserializer.class)
|
@JsonDeserialize(using = LocalDateDeserializer.class)
|
||||||
|
|
@ -45,17 +45,17 @@ public class KeyRateUpdateAction implements IAction<KeyRateUpdateRequest> {
|
||||||
req.setId(this.getId());
|
req.setId(this.getId());
|
||||||
req.setStartDate(this.getStartDate());
|
req.setStartDate(this.getStartDate());
|
||||||
req.setEndDate(this.getEndDate());
|
req.setEndDate(this.getEndDate());
|
||||||
req.setKeyRate(this.getKeyRate());
|
req.setKeyRate(this.getRate());
|
||||||
req.setDocument(this.getDocument());
|
req.setDocument(this.getDocument());
|
||||||
return req;
|
return req;
|
||||||
}
|
}
|
||||||
|
|
||||||
public BigDecimal getKeyRate() {
|
public BigDecimal getRate() {
|
||||||
return keyRate;
|
return rate;
|
||||||
}
|
}
|
||||||
|
|
||||||
public void setKeyRate(BigDecimal keyRate) {
|
public void setRate(BigDecimal rate) {
|
||||||
this.keyRate = keyRate;
|
this.rate = rate;
|
||||||
}
|
}
|
||||||
|
|
||||||
public LocalDate getStartDate() {
|
public LocalDate getStartDate() {
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue