+ * DB table: S_TRADE
+ **/
+public class STrade extends SpcexObjectBase {
+ private static final long serialVersionUID = ConstSerializable.serialVersionUID;
+
+ private Long trade_num;
+ private String sec_code;
+ private Instant trade_date_time;
+ private LocalDate settle_date;
+ private BigDecimal price;
+ private BigDecimal value;
+ private BigDecimal qty;
+ private BigDecimal accruedint;
+ private String firm_id;
+ private String client_code;
+ private BigDecimal exchange_commission;
+ private String class_code;
+ private String operation;
+ private String issue_account;
+ private String money_account;
+ private String trade_type;
+ private Long days_to_mat_date;
+ private String collateral;
+ private String settle_code;
+
+ public Long getTrade_num() {
+ return trade_num;
+ }
+
+ public void setTrade_num(Long value) {
+ this.trade_num = value;
+ }
+
+ public String getSec_code() {
+ return sec_code;
+ }
+
+ public void setSec_code(String value) {
+ this.sec_code = value;
+ }
+
+ public Instant getTrade_date_time() {
+ return trade_date_time;
+ }
+
+ public void setTrade_date_time(Instant value) {
+ this.trade_date_time = value;
+ }
+
+ public LocalDate getSettle_date() {
+ return settle_date;
+ }
+
+ public void setSettle_date(LocalDate value) {
+ this.settle_date = value;
+ }
+
+ public BigDecimal getPrice() {
+ return price;
+ }
+
+ public void setPrice(BigDecimal value) {
+ this.price = value;
+ }
+
+ public BigDecimal getValue() {
+ return value;
+ }
+
+ public void setValue(BigDecimal value) {
+ this.value = value;
+ }
+
+ public BigDecimal getQty() {
+ return qty;
+ }
+
+ public void setQty(BigDecimal value) {
+ this.qty = value;
+ }
+
+ public BigDecimal getAccruedint() {
+ return accruedint;
+ }
+
+ public void setAccruedint(BigDecimal value) {
+ this.accruedint = value;
+ }
+
+ public String getFirm_id() {
+ return firm_id;
+ }
+
+ public void setFirm_id(String value) {
+ this.firm_id = value;
+ }
+
+ public String getClient_code() {
+ return client_code;
+ }
+
+ public void setClient_code(String value) {
+ this.client_code = value;
+ }
+
+ public BigDecimal getExchange_commission() {
+ return exchange_commission;
+ }
+
+ public void setExchange_commission(BigDecimal value) {
+ this.exchange_commission = value;
+ }
+
+ public String getClass_code() {
+ return class_code;
+ }
+
+ public void setClass_code(String value) {
+ this.class_code = value;
+ }
+
+ public String getOperation() {
+ return operation;
+ }
+
+ public void setOperation(String value) {
+ this.operation = value;
+ }
+
+ public String getIssue_account() {
+ return issue_account;
+ }
+
+ public void setIssue_account(String value) {
+ this.issue_account = value;
+ }
+
+ public String getMoney_account() {
+ return money_account;
+ }
+
+ public void setMoney_account(String value) {
+ this.money_account = value;
+ }
+
+ public String getTrade_type() {
+ return trade_type;
+ }
+
+ public void setTrade_type(String value) {
+ this.trade_type = value;
+ }
+
+ public Long getDays_to_mat_date() {
+ return days_to_mat_date;
+ }
+
+ public void setDays_to_mat_date(Long value) {
+ this.days_to_mat_date = value;
+ }
+
+ public String getCollateral() {
+ return collateral;
+ }
+
+ public void setCollateral(String value) {
+ this.collateral = value;
+ }
+
+ public String getSettle_code() {
+ return settle_code;
+ }
+
+ public void setSettle_code(String value) {
+ this.settle_code = value;
+ }
+}
diff --git a/clearing-parent/imdg/src/main/java/ru/spcex/clearing/imdg/object/STradeMapStore.java b/clearing-parent/imdg/src/main/java/ru/spcex/clearing/imdg/object/STradeMapStore.java
new file mode 100644
index 000000000..fcdc90465
--- /dev/null
+++ b/clearing-parent/imdg/src/main/java/ru/spcex/clearing/imdg/object/STradeMapStore.java
@@ -0,0 +1,94 @@
+package ru.spcex.clearing.imdg.object;
+
+import org.springframework.jdbc.core.JdbcTemplate;
+import org.springframework.stereotype.Component;
+import ru.clearing.classes.statics.data.misc.STrade;
+import ru.spcex.clearing.imdg.IMDGDistributedNames;
+import ru.spcex.clearing.imdg.base.TemplateMapStore;
+import ru.spcex.platform.utils.time.TimeUtil;
+
+import java.math.BigDecimal;
+import java.sql.ResultSet;
+import java.sql.SQLException;
+import java.time.LocalDate;
+
+@Component
+public class STradeMapStore extends TemplateMapStore