registry-service LiabilitiesRegistryReport добавил поле в отчёт
This commit is contained in:
parent
43f534e02b
commit
159231763d
2 changed files with 13 additions and 0 deletions
|
|
@ -9,6 +9,10 @@ import java.math.BigDecimal;
|
|||
import java.time.LocalDate;
|
||||
|
||||
public class LiabilitiesRegistryReport implements FileReport {
|
||||
@CsvBindByName(column = "имя")
|
||||
@CsvBindByPosition(position = 0)
|
||||
private String short_name;
|
||||
|
||||
@CsvBindByName(column = "клиринговый код")
|
||||
@CsvBindByPosition(position = 0)
|
||||
private String clearing_code;
|
||||
|
|
@ -47,6 +51,14 @@ public class LiabilitiesRegistryReport implements FileReport {
|
|||
@CsvBindByPosition(position = 8)
|
||||
private String session_type;
|
||||
|
||||
public String getShort_name() {
|
||||
return short_name;
|
||||
}
|
||||
|
||||
public void setShort_name(String short_name) {
|
||||
this.short_name = short_name;
|
||||
}
|
||||
|
||||
public String getClearing_code() {
|
||||
return clearing_code;
|
||||
}
|
||||
|
|
|
|||
|
|
@ -37,6 +37,7 @@ public class LiabilitiesRegistryReportBuilder extends XLSXReportBuilder<Liabilit
|
|||
protected LiabilitiesRegistryReport toRow(Registry input) {
|
||||
LiabilitiesRegistryReport entity = new LiabilitiesRegistryReport();
|
||||
|
||||
entity.setShort_name(input.getShortName());
|
||||
entity.setClearing_code(input.getClearingCode());
|
||||
entity.setAccount(input.getAccount());
|
||||
entity.setRegistry_code(input.getRegistryCode());
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue