FixedIncomeCashFlowNewRequest, FixedIncomeCashFlowUpdateRequest
This commit is contained in:
parent
15404dbec1
commit
894f12591d
2 changed files with 152 additions and 0 deletions
|
|
@ -0,0 +1,70 @@
|
||||||
|
package ru.spcex.clearing.platform.messaging.domain.cud.securitites;
|
||||||
|
|
||||||
|
import com.fasterxml.jackson.annotation.JsonProperty;
|
||||||
|
import com.fasterxml.jackson.databind.annotation.JsonDeserialize;
|
||||||
|
import com.fasterxml.jackson.databind.deser.std.NumberDeserializers;
|
||||||
|
import ru.spcex.platform.classes.base.interfaces.WithSecuritySymbol;
|
||||||
|
|
||||||
|
import java.math.BigDecimal;
|
||||||
|
import java.time.LocalDate;
|
||||||
|
|
||||||
|
public class FixedIncomeCashFlowNewRequest implements WithSecuritySymbol {
|
||||||
|
@JsonProperty
|
||||||
|
public String securitySymbol;
|
||||||
|
|
||||||
|
@JsonProperty
|
||||||
|
@JsonDeserialize(using = NumberDeserializers.BigDecimalDeserializer.class)
|
||||||
|
public BigDecimal accruedCoupon;
|
||||||
|
|
||||||
|
@JsonProperty
|
||||||
|
@JsonDeserialize(using = NumberDeserializers.BigDecimalDeserializer.class)
|
||||||
|
public BigDecimal nominalValue;
|
||||||
|
|
||||||
|
@JsonProperty
|
||||||
|
public Long number;
|
||||||
|
|
||||||
|
@JsonProperty
|
||||||
|
public LocalDate valueDate;
|
||||||
|
|
||||||
|
|
||||||
|
@Override
|
||||||
|
public String getSecuritySymbol() {
|
||||||
|
return securitySymbol;
|
||||||
|
}
|
||||||
|
|
||||||
|
public void setSecuritySymbol(String securitySymbol) {
|
||||||
|
this.securitySymbol = securitySymbol;
|
||||||
|
}
|
||||||
|
|
||||||
|
public BigDecimal getAccruedCoupon() {
|
||||||
|
return accruedCoupon;
|
||||||
|
}
|
||||||
|
|
||||||
|
public void setAccruedCoupon(BigDecimal accruedCoupon) {
|
||||||
|
this.accruedCoupon = accruedCoupon;
|
||||||
|
}
|
||||||
|
|
||||||
|
public BigDecimal getNominalValue() {
|
||||||
|
return nominalValue;
|
||||||
|
}
|
||||||
|
|
||||||
|
public void setNominalValue(BigDecimal nominalValue) {
|
||||||
|
this.nominalValue = nominalValue;
|
||||||
|
}
|
||||||
|
|
||||||
|
public Long getNumber() {
|
||||||
|
return number;
|
||||||
|
}
|
||||||
|
|
||||||
|
public void setNumber(Long number) {
|
||||||
|
this.number = number;
|
||||||
|
}
|
||||||
|
|
||||||
|
public LocalDate getValueDate() {
|
||||||
|
return valueDate;
|
||||||
|
}
|
||||||
|
|
||||||
|
public void setValueDate(LocalDate valueDate) {
|
||||||
|
this.valueDate = valueDate;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
@ -0,0 +1,82 @@
|
||||||
|
package ru.spcex.clearing.platform.messaging.domain.cud.securitites;
|
||||||
|
|
||||||
|
import com.fasterxml.jackson.annotation.JsonProperty;
|
||||||
|
import com.fasterxml.jackson.databind.annotation.JsonDeserialize;
|
||||||
|
import com.fasterxml.jackson.databind.deser.std.NumberDeserializers;
|
||||||
|
import ru.spcex.platform.classes.base.interfaces.WithSecuritySymbol;
|
||||||
|
|
||||||
|
import java.math.BigDecimal;
|
||||||
|
import java.time.LocalDate;
|
||||||
|
|
||||||
|
public class FixedIncomeCashFlowUpdateRequest implements WithSecuritySymbol {
|
||||||
|
@JsonProperty
|
||||||
|
public Long id;
|
||||||
|
|
||||||
|
@JsonProperty
|
||||||
|
public String securitySymbol;
|
||||||
|
|
||||||
|
@JsonProperty
|
||||||
|
@JsonDeserialize(using = NumberDeserializers.BigDecimalDeserializer.class)
|
||||||
|
public BigDecimal accruedCoupon;
|
||||||
|
|
||||||
|
@JsonProperty
|
||||||
|
@JsonDeserialize(using = NumberDeserializers.BigDecimalDeserializer.class)
|
||||||
|
public BigDecimal nominalValue;
|
||||||
|
|
||||||
|
@JsonProperty
|
||||||
|
public Long number;
|
||||||
|
|
||||||
|
@JsonProperty
|
||||||
|
public LocalDate valueDate;
|
||||||
|
|
||||||
|
|
||||||
|
public Long getId() {
|
||||||
|
return id;
|
||||||
|
}
|
||||||
|
|
||||||
|
public void setId(Long id) {
|
||||||
|
this.id = id;
|
||||||
|
}
|
||||||
|
|
||||||
|
@Override
|
||||||
|
public String getSecuritySymbol() {
|
||||||
|
return securitySymbol;
|
||||||
|
}
|
||||||
|
|
||||||
|
public void setSecuritySymbol(String securitySymbol) {
|
||||||
|
this.securitySymbol = securitySymbol;
|
||||||
|
}
|
||||||
|
|
||||||
|
public BigDecimal getAccruedCoupon() {
|
||||||
|
return accruedCoupon;
|
||||||
|
}
|
||||||
|
|
||||||
|
public void setAccruedCoupon(BigDecimal accruedCoupon) {
|
||||||
|
this.accruedCoupon = accruedCoupon;
|
||||||
|
}
|
||||||
|
|
||||||
|
public BigDecimal getNominalValue() {
|
||||||
|
return nominalValue;
|
||||||
|
}
|
||||||
|
|
||||||
|
public void setNominalValue(BigDecimal nominalValue) {
|
||||||
|
this.nominalValue = nominalValue;
|
||||||
|
}
|
||||||
|
|
||||||
|
public Long getNumber() {
|
||||||
|
return number;
|
||||||
|
}
|
||||||
|
|
||||||
|
public void setNumber(Long number) {
|
||||||
|
this.number = number;
|
||||||
|
}
|
||||||
|
|
||||||
|
public LocalDate getValueDate() {
|
||||||
|
return valueDate;
|
||||||
|
}
|
||||||
|
|
||||||
|
public void setValueDate(LocalDate valueDate) {
|
||||||
|
this.valueDate = valueDate;
|
||||||
|
}
|
||||||
|
|
||||||
|
}
|
||||||
Loading…
Add table
Reference in a new issue