This commit is contained in:
parent
7ba559ad40
commit
2529048485
4 changed files with 42 additions and 0 deletions
|
|
@ -26,12 +26,15 @@ public class ChangeRefundDateActionNew implements IAction<RegistryChangeRefundDa
|
||||||
@JsonSerialize(using = LocalDateSerializer.class)
|
@JsonSerialize(using = LocalDateSerializer.class)
|
||||||
@JsonDeserialize(using = LocalDateDeserializer.class)
|
@JsonDeserialize(using = LocalDateDeserializer.class)
|
||||||
public LocalDate refundDate;
|
public LocalDate refundDate;
|
||||||
|
@JsonProperty
|
||||||
|
public String market;
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
public RegistryChangeRefundDateRequest toRequest() {
|
public RegistryChangeRefundDateRequest toRequest() {
|
||||||
var req = new RegistryChangeRefundDateRequest();
|
var req = new RegistryChangeRefundDateRequest();
|
||||||
req.setGroupId(groupId);
|
req.setGroupId(groupId);
|
||||||
req.setRefundDate(refundDate);
|
req.setRefundDate(refundDate);
|
||||||
|
req.setMarket(market);
|
||||||
return req;
|
return req;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
@ -68,4 +71,12 @@ public class ChangeRefundDateActionNew implements IAction<RegistryChangeRefundDa
|
||||||
public void setRefundDate(LocalDate refundDate) {
|
public void setRefundDate(LocalDate refundDate) {
|
||||||
this.refundDate = refundDate;
|
this.refundDate = refundDate;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
public String getMarket() {
|
||||||
|
return market;
|
||||||
|
}
|
||||||
|
|
||||||
|
public void setMarket(String market) {
|
||||||
|
this.market = market;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
|
||||||
|
|
@ -22,12 +22,15 @@ public class ReturnDepositActionNew implements IAction<RegistryReturnDepositRequ
|
||||||
@ApiModelProperty(value = "Сумма", example = "1600.20")
|
@ApiModelProperty(value = "Сумма", example = "1600.20")
|
||||||
@JsonProperty
|
@JsonProperty
|
||||||
public BigDecimal balance;
|
public BigDecimal balance;
|
||||||
|
@JsonProperty
|
||||||
|
public String market;
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
public RegistryReturnDepositRequest toRequest() {
|
public RegistryReturnDepositRequest toRequest() {
|
||||||
var req = new RegistryReturnDepositRequest();
|
var req = new RegistryReturnDepositRequest();
|
||||||
req.setId(id);
|
req.setId(id);
|
||||||
req.setBalance(balance);
|
req.setBalance(balance);
|
||||||
|
req.setMarket(market);
|
||||||
return req;
|
return req;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
@ -65,4 +68,12 @@ public class ReturnDepositActionNew implements IAction<RegistryReturnDepositRequ
|
||||||
public void setBalance(BigDecimal balance) {
|
public void setBalance(BigDecimal balance) {
|
||||||
this.balance = balance;
|
this.balance = balance;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
public String getMarket() {
|
||||||
|
return market;
|
||||||
|
}
|
||||||
|
|
||||||
|
public void setMarket(String market) {
|
||||||
|
this.market = market;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
|
||||||
|
|
@ -15,6 +15,8 @@ public class RegistryChangeRefundDateRequest {
|
||||||
@JsonSerialize(using = LocalDateSerializer.class)
|
@JsonSerialize(using = LocalDateSerializer.class)
|
||||||
@JsonDeserialize(using = LocalDateDeserializer.class)
|
@JsonDeserialize(using = LocalDateDeserializer.class)
|
||||||
private LocalDate refundDate;
|
private LocalDate refundDate;
|
||||||
|
@JsonProperty
|
||||||
|
public String market;
|
||||||
|
|
||||||
public Long getGroupId() {
|
public Long getGroupId() {
|
||||||
return groupId;
|
return groupId;
|
||||||
|
|
@ -31,4 +33,12 @@ public class RegistryChangeRefundDateRequest {
|
||||||
public void setRefundDate(LocalDate refundDate) {
|
public void setRefundDate(LocalDate refundDate) {
|
||||||
this.refundDate = refundDate;
|
this.refundDate = refundDate;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
public String getMarket() {
|
||||||
|
return market;
|
||||||
|
}
|
||||||
|
|
||||||
|
public void setMarket(String market) {
|
||||||
|
this.market = market;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
|
||||||
|
|
@ -10,6 +10,8 @@ public class RegistryReturnDepositRequest implements WithId {
|
||||||
private Long id;
|
private Long id;
|
||||||
@JsonProperty
|
@JsonProperty
|
||||||
private BigDecimal balance;
|
private BigDecimal balance;
|
||||||
|
@JsonProperty
|
||||||
|
public String market;
|
||||||
|
|
||||||
public Long getId() {
|
public Long getId() {
|
||||||
return id;
|
return id;
|
||||||
|
|
@ -26,4 +28,12 @@ public class RegistryReturnDepositRequest implements WithId {
|
||||||
public void setBalance(BigDecimal balance) {
|
public void setBalance(BigDecimal balance) {
|
||||||
this.balance = balance;
|
this.balance = balance;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
public String getMarket() {
|
||||||
|
return market;
|
||||||
|
}
|
||||||
|
|
||||||
|
public void setMarket(String market) {
|
||||||
|
this.market = market;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue