From 6ed33e43f153fe5536a10ef62aecd674453334f9 Mon Sep 17 00:00:00 2001 From: lanyuanxiaoyao Date: Thu, 11 Sep 2025 20:09:46 +0800 Subject: [PATCH] =?UTF-8?q?feat:=20=E5=A2=9E=E5=8A=A0=E8=B4=A2=E5=8A=A1?= =?UTF-8?q?=E4=BF=A1=E6=81=AF=E9=87=87=E9=9B=86?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../leopard/core/entity/BalanceSheet.java | 63 + .../leopard/core/entity/CashFlow.java | 29 + .../leopard/core/entity/Income.java | 57 + .../repository/BalanceSheetRepository.java | 13 + .../core/repository/CashFlowRepository.java | 13 + .../core/repository/IncomeRepository.java | 13 + .../server/service/TuShareService.java | 121 +- .../service/task/UpdateFinanceNode.java | 162 +++ .../src/test/resources/tushare.http | 41 +- note.md | 1212 +++++++++++++---- 10 files changed, 1409 insertions(+), 315 deletions(-) create mode 100644 leopard-core/src/main/java/com/lanyuanxiaoyao/leopard/core/repository/BalanceSheetRepository.java create mode 100644 leopard-core/src/main/java/com/lanyuanxiaoyao/leopard/core/repository/CashFlowRepository.java create mode 100644 leopard-core/src/main/java/com/lanyuanxiaoyao/leopard/core/repository/IncomeRepository.java create mode 100644 leopard-server/src/main/java/com/lanyuanxiaoyao/leopard/server/service/task/UpdateFinanceNode.java diff --git a/leopard-core/src/main/java/com/lanyuanxiaoyao/leopard/core/entity/BalanceSheet.java b/leopard-core/src/main/java/com/lanyuanxiaoyao/leopard/core/entity/BalanceSheet.java index 1bc807b..e1239b4 100644 --- a/leopard-core/src/main/java/com/lanyuanxiaoyao/leopard/core/entity/BalanceSheet.java +++ b/leopard-core/src/main/java/com/lanyuanxiaoyao/leopard/core/entity/BalanceSheet.java @@ -10,6 +10,7 @@ import lombok.Getter; import lombok.Setter; import lombok.ToString; import lombok.experimental.FieldNameConstants; +import org.hibernate.annotations.Comment; import org.hibernate.annotations.DynamicInsert; import org.hibernate.annotations.DynamicUpdate; import org.springframework.data.jpa.domain.support.AuditingEntityListener; @@ -29,4 +30,66 @@ import org.springframework.data.jpa.domain.support.AuditingEntityListener; public class BalanceSheet extends SimpleEntity { @ManyToOne private Stock stock; + @Comment("年报年度") + private Integer year; + @Comment("原始名称:total_share,描述:期末总股本") + private Double endingTotalShares; + @Comment("原始名称:cap_rese,描述:资本公积金") + private Double capitalSurplus; + @Comment("原始名称:undist_profit,描述:未分配利润") + private Double undistributedProfit; + @Comment("原始名称:money_cap,描述:货币资金") + private Double monetaryFunds; + @Comment("原始名称:accounts_receiv,描述:应收账款") + private Double accountsReceivable; + @Comment("原始名称:inventories,描述:存货") + private Double inventories; + @Comment("原始名称:total_cur_assets,描述:流动资产合计") + private Double totalCurrentAssets; + @Comment("原始名称:lt_eqt_invest,描述:长期股权投资") + private Double longTermEquityInvestments; + @Comment("原始名称:lt_rec,描述:长期应收款") + private Double longTermReceivables; + @Comment("原始名称:fix_assets,描述:固定资产") + private Double fixedAssets; + @Comment("原始名称:r_and_d,描述:研发支出") + private Double researchAndDevelopmentExpenditures; + @Comment("原始名称:goodwill,描述:商誉") + private Double goodwill; + @Comment("原始名称:total_nca,描述:非流动资产合计") + private Double totalNonCurrentAssets; + @Comment("原始名称:total_assets,描述:资产总计") + private Double totalAssets; + @Comment("原始名称:lt_borr,描述:长期借款") + private Double longTermBorrowings; + @Comment("原始名称:st_borr,描述:短期借款") + private Double shortTermBorrowings; + @Comment("原始名称:acct_payable,描述:应付账款") + private Double accountsPayable; + @Comment("原始名称:adv_receipts,描述:预收款项") + private Double advancesReceived; + @Comment("原始名称:total_cur_lab,描述:流动负债合计") + private Double totalCurrentLiabilities; + @Comment("原始名称:total_ncl,描述:非流动负债合计") + private Double totalNonCurrentLiabilities; + @Comment("原始名称:total_lab,描述:负债合计") + private Double totalLiabilities; + @Comment("原始名称:total_hldr_eqy_exc_min_int,描述:股东权益合计(不含少数股东权益)") + private Double totalShareholdersEquityExcludingMinorityInterest; + @Comment("原始名称:total_hldr_eqy_inc_min_int,描述:股东权益合计(含少数股东权益)") + private Double totalShareholdersEquityIncludingMinorityInterest; + @Comment("原始名称:total_lab_hldr_eqy,描述:负债及股东权益总计") + private Double totalLiabilitiesAndShareholdersEquity; + @Comment("原始名称:acc_receivable,描述:应收款项") + private Double receivables; + @Comment("原始名称:payables,描述:应付款项") + private Double payables; + @Comment("原始名称:accounts_receiv_bill,描述:应收票据及应收账款") + private Double notesAndAccountsReceivable; + @Comment("原始名称:accounts_pay_bill,描述:应付票据及应付账款") + private Double notesAndAccountsPayable; + @Comment("原始名称:oth_rcv_total,描述:其他应收款(合计)(元)") + private Double otherReceivablesTotal; + @Comment("原始名称:fix_assets_total,描述:固定资产(合计)(元)") + private Double fixedAssetsTotal; } diff --git a/leopard-core/src/main/java/com/lanyuanxiaoyao/leopard/core/entity/CashFlow.java b/leopard-core/src/main/java/com/lanyuanxiaoyao/leopard/core/entity/CashFlow.java index c97a1e5..ca7a8ec 100644 --- a/leopard-core/src/main/java/com/lanyuanxiaoyao/leopard/core/entity/CashFlow.java +++ b/leopard-core/src/main/java/com/lanyuanxiaoyao/leopard/core/entity/CashFlow.java @@ -10,6 +10,7 @@ import lombok.Getter; import lombok.Setter; import lombok.ToString; import lombok.experimental.FieldNameConstants; +import org.hibernate.annotations.Comment; import org.hibernate.annotations.DynamicInsert; import org.hibernate.annotations.DynamicUpdate; import org.springframework.data.jpa.domain.support.AuditingEntityListener; @@ -29,4 +30,32 @@ import org.springframework.data.jpa.domain.support.AuditingEntityListener; public class CashFlow extends SimpleEntity { @ManyToOne private Stock stock; + @Comment("年报年度") + private Integer year; + @Comment("原始名称:net_profit,描述:净利润") + private Double netProfit; + @Comment("原始名称:fin_exp,描述:财务费用") + private Double financialExpense; + @Comment("原始名称:c_f_sale_sg,描述:销售商品、提供劳务收到的现金") + private Double cashReceivedFromSalesAndServices; + @Comment("原始名称:c_f_oth_oper_a,描述:经营活动现金流入小计") + private Double subtotalOfCashInflowsFromOperatingActivities; + @Comment("原始名称:c_paid_to_for_empl,描述:支付给职工以及为职工支付的现金") + private Double cashPaidToAndForEmployees; + @Comment("原始名称:c_paid_for_taxes,描述:支付的各项税费") + private Double cashPaidForVariousTaxes; + @Comment("原始名称:st_cashflow_act,描述:经营活动产生的现金流量净额") + private Double netCashFlowFromOperatingActivities; + @Comment("原始名称:stoc_inflows_inv_act,描述:投资活动现金流入小计") + private Double subtotalOfCashInflowsFromInvestingActivities; + @Comment("原始名称:c_paid_subs_oth_biz,描述:购置固定资产、无形资产和其他长期资产支付的现金") + private Double cashPaidForAcquisitionOfFixedIntangibleAndOtherLongTermAssets; + @Comment("原始名称:stoc_cashout_inv_act,描述:投资活动现金流出小计") + private Double subtotalOfCashOutflowsFromInvestingActivities; + @Comment("原始名称:stoc_cashout_fin_act,描述:筹资活动现金流出小计") + private Double subtotalOfCashOutflowsFromFinancingActivities; + @Comment("原始名称:c_cash_equ_beg_period,描述:期初现金及现金等价物余额") + private Double beginningBalanceOfCashAndCashEquivalents; + @Comment("原始名称:c_cash_equ_end_period,描述:期末现金及现金等价物余额") + private Double endingBalanceOfCashAndCashEquivalents; } diff --git a/leopard-core/src/main/java/com/lanyuanxiaoyao/leopard/core/entity/Income.java b/leopard-core/src/main/java/com/lanyuanxiaoyao/leopard/core/entity/Income.java index c4f17a9..0d46182 100644 --- a/leopard-core/src/main/java/com/lanyuanxiaoyao/leopard/core/entity/Income.java +++ b/leopard-core/src/main/java/com/lanyuanxiaoyao/leopard/core/entity/Income.java @@ -10,6 +10,7 @@ import lombok.Getter; import lombok.Setter; import lombok.ToString; import lombok.experimental.FieldNameConstants; +import org.hibernate.annotations.Comment; import org.hibernate.annotations.DynamicInsert; import org.hibernate.annotations.DynamicUpdate; import org.springframework.data.jpa.domain.support.AuditingEntityListener; @@ -29,4 +30,60 @@ import org.springframework.data.jpa.domain.support.AuditingEntityListener; public class Income extends SimpleEntity { @ManyToOne private Stock stock; + @Comment("年报年度") + private Integer year; + @Comment("原始名称:basic_eps,描述:基本每股收益") + private Double basicEarningsPerShare; + @Comment("原始名称:diluted_eps,描述:稀释每股收益") + private Double dilutedEarningsPerShare; + @Comment("原始名称:total_revenue,描述:营业总收入") + private Double totalOperatingRevenue; + @Comment("原始名称:revenue,描述:营业收入") + private Double operatingRevenue; + @Comment("原始名称:total_cogs,描述:营业总成本") + private Double totalOperatingCost; + @Comment("原始名称:oper_cost,描述:减:营业成本") + private Double operatingCost; + @Comment("原始名称:sell_exp,描述:减:销售费用") + private Double sellingExpense; + @Comment("原始名称:admin_exp,描述:减:管理费用") + private Double administrativeExpense; + @Comment("原始名称:fin_exp,描述:减:财务费用") + private Double financialExpense; + @Comment("原始名称:oper_exp,描述:营业支出") + private Double operatingExpense; + @Comment("原始名称:operate_profit,描述:营业利润") + private Double operatingProfit; + @Comment("原始名称:non_oper_income,描述:加:营业外收入") + private Double addNonOperatingIncome; + @Comment("原始名称:non_oper_exp,描述:减:营业外支出") + private Double lessNonOperatingExpense; + @Comment("原始名称:total_profit,描述:利润总额") + private Double totalProfit; + @Comment("原始名称:income_tax,描述:所得税费用") + private Double incomeTaxExpense; + @Comment("原始名称:n_income,描述:净利润(含少数股东损益)") + private Double netProfitIncludingMinorityInterest; + @Comment("原始名称:n_income_attr_p,描述:净利润(不含少数股东损益)") + private Double netProfitExcludingMinorityInterest; + @Comment("原始名称:compr_inc_attr_p,描述:归属于母公司(或股东)的综合收益总额") + private Double comprehensiveIncomeAttributableToParent; + @Comment("原始名称:compr_inc_attr_m_s,描述:归属于少数股东的综合收益总额") + private Double comprehensiveIncomeAttributableToMinorityShareholders; + @Comment("原始名称:ebit,描述:息税前利润") + private Double earningsBeforeInterestAndTax; + @Comment("原始名称:ebida,描述:息税折旧摊销前利润") + private Double earningsBeforeInterestTaxDepreciationAndAmortization; + @Comment("原始名称:undist_profit,描述:年初未分配利润") + private Double beginningUndistributedProfit; + @Comment("原始名称:distable_profit,描述:可分配利润") + private Double distributableProfit; + @Comment("原始名称:rd_exp,描述:研发费用") + private Double researchAndDevelopmentExpense; + @Comment("原始名称:fin_exp_int_exp,描述:财务费用-利息费用") + private Double financialExpenseInterestExpense; + @Comment("原始名称:continued_net_profit,描述:持续经营净利润") + private Double netProfitFromContinuingOperations; + @Comment("原始名称:end_net_profit,描述:终止经营净利润") + private Double netProfitFromDiscontinuedOperations; } diff --git a/leopard-core/src/main/java/com/lanyuanxiaoyao/leopard/core/repository/BalanceSheetRepository.java b/leopard-core/src/main/java/com/lanyuanxiaoyao/leopard/core/repository/BalanceSheetRepository.java new file mode 100644 index 0000000..62990e3 --- /dev/null +++ b/leopard-core/src/main/java/com/lanyuanxiaoyao/leopard/core/repository/BalanceSheetRepository.java @@ -0,0 +1,13 @@ +package com.lanyuanxiaoyao.leopard.core.repository; + +import com.lanyuanxiaoyao.leopard.core.entity.BalanceSheet; +import com.lanyuanxiaoyao.service.template.repository.SimpleRepository; +import org.springframework.stereotype.Repository; + +/** + * @author lanyuanxiaoyao + * @version 20250911 + */ +@Repository +public interface BalanceSheetRepository extends SimpleRepository { +} diff --git a/leopard-core/src/main/java/com/lanyuanxiaoyao/leopard/core/repository/CashFlowRepository.java b/leopard-core/src/main/java/com/lanyuanxiaoyao/leopard/core/repository/CashFlowRepository.java new file mode 100644 index 0000000..d5a9cd2 --- /dev/null +++ b/leopard-core/src/main/java/com/lanyuanxiaoyao/leopard/core/repository/CashFlowRepository.java @@ -0,0 +1,13 @@ +package com.lanyuanxiaoyao.leopard.core.repository; + +import com.lanyuanxiaoyao.leopard.core.entity.CashFlow; +import com.lanyuanxiaoyao.service.template.repository.SimpleRepository; +import org.springframework.stereotype.Repository; + +/** + * @author lanyuanxiaoyao + * @version 20250911 + */ +@Repository +public interface CashFlowRepository extends SimpleRepository { +} diff --git a/leopard-core/src/main/java/com/lanyuanxiaoyao/leopard/core/repository/IncomeRepository.java b/leopard-core/src/main/java/com/lanyuanxiaoyao/leopard/core/repository/IncomeRepository.java new file mode 100644 index 0000000..305d458 --- /dev/null +++ b/leopard-core/src/main/java/com/lanyuanxiaoyao/leopard/core/repository/IncomeRepository.java @@ -0,0 +1,13 @@ +package com.lanyuanxiaoyao.leopard.core.repository; + +import com.lanyuanxiaoyao.leopard.core.entity.Income; +import com.lanyuanxiaoyao.service.template.repository.SimpleRepository; +import org.springframework.stereotype.Repository; + +/** + * @author lanyuanxiaoyao + * @version 20250911 + */ +@Repository +public interface IncomeRepository extends SimpleRepository { +} diff --git a/leopard-server/src/main/java/com/lanyuanxiaoyao/leopard/server/service/TuShareService.java b/leopard-server/src/main/java/com/lanyuanxiaoyao/leopard/server/service/TuShareService.java index 6546755..a453651 100644 --- a/leopard-server/src/main/java/com/lanyuanxiaoyao/leopard/server/service/TuShareService.java +++ b/leopard-server/src/main/java/com/lanyuanxiaoyao/leopard/server/service/TuShareService.java @@ -23,10 +23,9 @@ import org.springframework.stereotype.Service; @Slf4j @Service public class TuShareService { + public static final DateTimeFormatter TRADE_FORMAT = DateTimeFormatter.ofPattern("yyyyMMdd"); private static final String API_URL = "https://api.tushare.pro"; private static final String API_TOKEN = "64ebff4fa679167600b905ee45dd88e76f3963c0ff39157f3f085f0e"; - public static final DateTimeFormatter TRADE_FORMAT = DateTimeFormatter.ofPattern("yyyyMMdd"); - private final ObjectMapper mapper; public TuShareService(Jackson2ObjectMapperBuilder builder) { @@ -108,6 +107,124 @@ public class TuShareService { return tuShareResponse; } + @SneakyThrows + public TuShareResponse incomeList(int year) { + var response = HttpUtil.post(API_URL, buildRequest( + "income_vip", + Map.of("period", LocalDate.of(year, 12, 31).format(TRADE_FORMAT)), + List.of( + "ts_code", + "basic_eps", + "diluted_eps", + "total_revenue", + "revenue", + "total_cogs", + "oper_cost", + "sell_exp", + "admin_exp", + "fin_exp", + "oper_exp", + "operate_profit", + "non_oper_income", + "non_oper_exp", + "total_profit", + "income_tax", + "n_income", + "n_income_attr_p", + "compr_inc_attr_p", + "compr_inc_attr_m_s", + "ebit", + "ebida", + "undist_profit", + "distable_profit", + "rd_exp", + "fin_exp_int_exp", + "continued_net_profit", + "end_net_profit" + ) + )); + var tuShareResponse = mapper.readValue(response, TuShareResponse.class); + if (tuShareResponse.code != 0) { + throw new RuntimeException(tuShareResponse.message); + } + return tuShareResponse; + } + + @SneakyThrows + public TuShareResponse balanceList(int year) { + var response = HttpUtil.post(API_URL, buildRequest( + "balancesheet_vip", + Map.of("period", LocalDate.of(year, 12, 31).format(TRADE_FORMAT)), + List.of( + "ts_code", + "total_share", + "cap_rese", + "undist_profit", + "money_cap", + "accounts_receiv", + "inventories", + "total_cur_assets", + "lt_eqt_invest", + "lt_rec", + "fix_assets", + "r_and_d", + "goodwill", + "total_nca", + "total_assets", + "lt_borr", + "st_borr", + "acct_payable", + "adv_receipts", + "total_cur_lab", + "total_ncl", + "total_lab", + "total_hldr_eqy_exc_min_int", + "total_hldr_eqy_inc_min_int", + "total_lab_hldr_eqy", + "acc_receivable", + "payables", + "accounts_receiv_bill", + "accounts_pay_bill", + "oth_rcv_total", + "fix_assets_total" + ) + )); + var tuShareResponse = mapper.readValue(response, TuShareResponse.class); + if (tuShareResponse.code != 0) { + throw new RuntimeException(tuShareResponse.message); + } + return tuShareResponse; + } + + @SneakyThrows + public TuShareResponse cashFlowList(int year) { + var response = HttpUtil.post(API_URL, buildRequest( + "cashflow_vip", + Map.of("period", LocalDate.of(year, 12, 31).format(TRADE_FORMAT)), + List.of( + "ts_code", + "net_profit", + "fin_exp", + "c_f_sale_sg", + "c_f_oth_oper_a", + "c_paid_to_for_empl", + "c_paid_for_taxes", + "st_cashflow_act", + "stoc_inflows_inv_act", + "c_paid_subs_oth_biz", + "stoc_cashout_inv_act", + "stoc_cashout_fin_act", + "c_cash_equ_beg_period", + "c_cash_equ_end_period" + ) + )); + var tuShareResponse = mapper.readValue(response, TuShareResponse.class); + if (tuShareResponse.code != 0) { + throw new RuntimeException(tuShareResponse.message); + } + return tuShareResponse; + } + public record TuShareResponse( Integer code, @JsonProperty("msg") diff --git a/leopard-server/src/main/java/com/lanyuanxiaoyao/leopard/server/service/task/UpdateFinanceNode.java b/leopard-server/src/main/java/com/lanyuanxiaoyao/leopard/server/service/task/UpdateFinanceNode.java new file mode 100644 index 0000000..92dce75 --- /dev/null +++ b/leopard-server/src/main/java/com/lanyuanxiaoyao/leopard/server/service/task/UpdateFinanceNode.java @@ -0,0 +1,162 @@ +package com.lanyuanxiaoyao.leopard.server.service.task; + +import com.lanyuanxiaoyao.leopard.core.entity.BalanceSheet; +import com.lanyuanxiaoyao.leopard.core.entity.CashFlow; +import com.lanyuanxiaoyao.leopard.core.entity.Income; +import com.lanyuanxiaoyao.leopard.core.entity.Stock; +import com.lanyuanxiaoyao.leopard.core.repository.BalanceSheetRepository; +import com.lanyuanxiaoyao.leopard.core.repository.CashFlowRepository; +import com.lanyuanxiaoyao.leopard.core.repository.IncomeRepository; +import com.lanyuanxiaoyao.leopard.core.repository.StockRepository; +import com.lanyuanxiaoyao.leopard.server.service.TaskService; +import com.lanyuanxiaoyao.leopard.server.service.TuShareService; +import com.yomahub.liteflow.annotation.LiteflowComponent; +import java.time.LocalDate; +import java.util.List; +import java.util.stream.Collectors; +import lombok.extern.slf4j.Slf4j; + +/** + * 更新财务数据 + * + * @author lanyuanxiaoyao + * @version 20250911 + */ +@Slf4j +@LiteflowComponent("update_finance") +public class UpdateFinanceNode extends TaskNodeComponent { + private final TuShareService tuShareService; + + private final StockRepository stockRepository; + private final IncomeRepository incomeRepository; + private final BalanceSheetRepository balanceSheetRepository; + private final CashFlowRepository cashFlowRepository; + + public UpdateFinanceNode(TaskService taskService, TuShareService tuShareService, StockRepository stockRepository, IncomeRepository incomeRepository, BalanceSheetRepository balanceSheetRepository, CashFlowRepository cashFlowRepository) { + super(taskService); + this.tuShareService = tuShareService; + this.stockRepository = stockRepository; + this.incomeRepository = incomeRepository; + this.balanceSheetRepository = balanceSheetRepository; + this.cashFlowRepository = cashFlowRepository; + } + + @Override + public void process() { + var stocks = stockRepository.findAll(); + var stocksMap = stocks.stream().collect(Collectors.toMap(Stock::getCode, stock -> stock)); + var currentYear = LocalDate.now().getYear(); + for (int year = 1990; year < currentYear; year++) { + + var response = tuShareService.incomeList(year); + for (List item : response.data().items()) { + var code = item.get(0); + if (!stocksMap.containsKey(code)) { + continue; + } + var stock = stocksMap.get(code); + var income = new Income(); + income.setStock(stock); + income.setYear(year); + income.setBasicEarningsPerShare(Double.parseDouble(item.get(1))); + income.setDilutedEarningsPerShare(Double.parseDouble(item.get(2))); + income.setTotalOperatingRevenue(Double.parseDouble(item.get(3))); + income.setOperatingRevenue(Double.parseDouble(item.get(4))); + income.setTotalOperatingCost(Double.parseDouble(item.get(5))); + income.setOperatingCost(Double.parseDouble(item.get(6))); + income.setSellingExpense(Double.parseDouble(item.get(7))); + income.setAdministrativeExpense(Double.parseDouble(item.get(8))); + income.setFinancialExpense(Double.parseDouble(item.get(9))); + income.setOperatingExpense(Double.parseDouble(item.get(10))); + income.setOperatingProfit(Double.parseDouble(item.get(11))); + income.setAddNonOperatingIncome(Double.parseDouble(item.get(12))); + income.setLessNonOperatingExpense(Double.parseDouble(item.get(13))); + income.setTotalProfit(Double.parseDouble(item.get(14))); + income.setIncomeTaxExpense(Double.parseDouble(item.get(15))); + income.setNetProfitIncludingMinorityInterest(Double.parseDouble(item.get(16))); + income.setNetProfitExcludingMinorityInterest(Double.parseDouble(item.get(17))); + income.setComprehensiveIncomeAttributableToParent(Double.parseDouble(item.get(18))); + income.setComprehensiveIncomeAttributableToMinorityShareholders(Double.parseDouble(item.get(19))); + income.setEarningsBeforeInterestAndTax(Double.parseDouble(item.get(20))); + income.setEarningsBeforeInterestTaxDepreciationAndAmortization(Double.parseDouble(item.get(21))); + income.setBeginningUndistributedProfit(Double.parseDouble(item.get(22))); + income.setDistributableProfit(Double.parseDouble(item.get(23))); + income.setResearchAndDevelopmentExpense(Double.parseDouble(item.get(24))); + income.setFinancialExpenseInterestExpense(Double.parseDouble(item.get(25))); + income.setNetProfitFromContinuingOperations(Double.parseDouble(item.get(26))); + income.setNetProfitFromDiscontinuedOperations(Double.parseDouble(item.get(27))); + incomeRepository.save(income); + } + + response = tuShareService.balanceList(year); + for (List item : response.data().items()) { + var code = item.get(0); + if (!stocksMap.containsKey(code)) { + continue; + } + var stock = stocksMap.get(code); + var balanceSheet = new BalanceSheet(); + balanceSheet.setStock(stock); + balanceSheet.setYear(year); + balanceSheet.setEndingTotalShares(Double.parseDouble(item.get(1))); + balanceSheet.setCapitalSurplus(Double.parseDouble(item.get(2))); + balanceSheet.setUndistributedProfit(Double.parseDouble(item.get(3))); + balanceSheet.setMonetaryFunds(Double.parseDouble(item.get(4))); + balanceSheet.setAccountsReceivable(Double.parseDouble(item.get(5))); + balanceSheet.setInventories(Double.parseDouble(item.get(6))); + balanceSheet.setTotalCurrentAssets(Double.parseDouble(item.get(7))); + balanceSheet.setLongTermEquityInvestments(Double.parseDouble(item.get(8))); + balanceSheet.setLongTermReceivables(Double.parseDouble(item.get(9))); + balanceSheet.setFixedAssets(Double.parseDouble(item.get(10))); + balanceSheet.setResearchAndDevelopmentExpenditures(Double.parseDouble(item.get(11))); + balanceSheet.setGoodwill(Double.parseDouble(item.get(12))); + balanceSheet.setTotalNonCurrentAssets(Double.parseDouble(item.get(13))); + balanceSheet.setTotalAssets(Double.parseDouble(item.get(14))); + balanceSheet.setLongTermBorrowings(Double.parseDouble(item.get(15))); + balanceSheet.setShortTermBorrowings(Double.parseDouble(item.get(16))); + balanceSheet.setAccountsPayable(Double.parseDouble(item.get(17))); + balanceSheet.setAdvancesReceived(Double.parseDouble(item.get(18))); + balanceSheet.setTotalCurrentLiabilities(Double.parseDouble(item.get(19))); + balanceSheet.setTotalNonCurrentLiabilities(Double.parseDouble(item.get(20))); + balanceSheet.setTotalLiabilities(Double.parseDouble(item.get(21))); + balanceSheet.setTotalShareholdersEquityExcludingMinorityInterest(Double.parseDouble(item.get(22))); + balanceSheet.setTotalShareholdersEquityIncludingMinorityInterest(Double.parseDouble(item.get(23))); + balanceSheet.setTotalLiabilitiesAndShareholdersEquity(Double.parseDouble(item.get(24))); + balanceSheet.setAccountsReceivable(Double.parseDouble(item.get(25))); + balanceSheet.setPayables(Double.parseDouble(item.get(26))); + balanceSheet.setNotesAndAccountsReceivable(Double.parseDouble(item.get(27))); + balanceSheet.setNotesAndAccountsPayable(Double.parseDouble(item.get(28))); + balanceSheet.setOtherReceivablesTotal(Double.parseDouble(item.get(29))); + balanceSheet.setFixedAssetsTotal(Double.parseDouble(item.get(30))); + balanceSheetRepository.save(balanceSheet); + } + + response = tuShareService.cashFlowList(year); + for (List item : response.data().items()) { + var code = item.get(0); + if (!stocksMap.containsKey(code)) { + continue; + } + var stock = stocksMap.get(code); + var cashFlow = new CashFlow(); + cashFlow.setStock(stock); + cashFlow.setYear(year); + cashFlow.setNetProfit(Double.parseDouble(item.get(1))); + cashFlow.setFinancialExpense(Double.parseDouble(item.get(2))); + cashFlow.setCashReceivedFromSalesAndServices(Double.parseDouble(item.get(3))); + cashFlow.setSubtotalOfCashInflowsFromOperatingActivities(Double.parseDouble(item.get(4))); + cashFlow.setCashPaidToAndForEmployees(Double.parseDouble(item.get(5))); + cashFlow.setCashPaidForVariousTaxes(Double.parseDouble(item.get(6))); + cashFlow.setNetCashFlowFromOperatingActivities(Double.parseDouble(item.get(7))); + cashFlow.setSubtotalOfCashInflowsFromInvestingActivities(Double.parseDouble(item.get(8))); + cashFlow.setCashPaidForAcquisitionOfFixedIntangibleAndOtherLongTermAssets(Double.parseDouble(item.get(9))); + cashFlow.setSubtotalOfCashOutflowsFromInvestingActivities(Double.parseDouble(item.get(10))); + cashFlow.setSubtotalOfCashOutflowsFromFinancingActivities(Double.parseDouble(item.get(11))); + cashFlow.setBeginningBalanceOfCashAndCashEquivalents(Double.parseDouble(item.get(12))); + cashFlowRepository.save(cashFlow); + } + + setStep((year - 1990) * 100 / (currentYear - 1990)); + } + } +} diff --git a/leopard-server/src/test/resources/tushare.http b/leopard-server/src/test/resources/tushare.http index 4a6eff6..94507c4 100644 --- a/leopard-server/src/test/resources/tushare.http +++ b/leopard-server/src/test/resources/tushare.http @@ -29,24 +29,39 @@ POST {{api_url}} Content-Type: application/json { - "api_name": "income", + "api_name": "income_vip", "token": "{{api_key}}", "params": { - "ts_code": "600000.SH" + "period": "20241231" }, "fields": [ - "ts_code", - "ann_date", - "fiscal_year", - "report_type", - "net_profit", + "basic_eps", + "diluted_eps", "total_revenue", - "total_cost", - "gross_profit", - "operating_profit", - "net_profit_before_tax", - "net_profit_to_parent", - "total_revenue_to_parent" + "revenue", + "total_cogs", + "oper_cost", + "sell_exp", + "admin_exp", + "fin_exp", + "oper_exp", + "operate_profit", + "non_oper_income", + "non_oper_exp", + "total_profit", + "income_tax", + "n_income", + "n_income_attr_p", + "compr_inc_attr_p", + "compr_inc_attr_m_s", + "ebit", + "ebida", + "undist_profit", + "distable_profit", + "rd_exp", + "fin_exp_int_exp", + "continued_net_profit", + "end_net_profit" ] } diff --git a/note.md b/note.md index 7d01c4f..a57630b 100644 --- a/note.md +++ b/note.md @@ -1,308 +1,920 @@ 利润表 -| 名称 | 类型 | 描述 | -|---------------------------|-------|--------------------| -| basic_eps | float | 基本每股收益 | -| diluted_eps | float | 稀释每股收益 | -| total_revenue | float | 营业总收入 | -| revenue | float | 营业收入 | -| int_income | float | 利息收入 | -| prem_earned | float | 已赚保费 | -| comm_income | float | 手续费及佣金收入 | -| n_commis_income | float | 手续费及佣金净收入 | -| n_oth_income | float | 其他经营净收益 | -| n_oth_b_income | float | 加:其他业务净收益 | -| prem_income | float | 保险业务收入 | -| out_prem | float | 减:分出保费 | -| une_prem_reser | float | 提取未到期责任准备金 | -| reins_income | float | 其中:分保费收入 | -| n_sec_tb_income | float | 代理买卖证券业务净收入 | -| n_sec_uw_income | float | 证券承销业务净收入 | -| n_asset_mg_income | float | 受托客户资产管理业务净收入 | -| oth_b_income | float | 其他业务收入 | -| fv_value_chg_gain | float | 加:公允价值变动净收益 | -| invest_income | float | 加:投资净收益 | -| ass_invest_income | float | 其中:对联营企业和合营企业的投资收益 | -| forex_gain | float | 加:汇兑净收益 | -| total_cogs | float | 营业总成本 | -| oper_cost | float | 减:营业成本 | -| int_exp | float | 减:利息支出 | -| comm_exp | float | 减:手续费及佣金支出 | -| biz_tax_surchg | float | 减:营业税金及附加 | -| sell_exp | float | 减:销售费用 | -| admin_exp | float | 减:管理费用 | -| fin_exp | float | 减:财务费用 | -| assets_impair_loss | float | 减:资产减值损失 | -| prem_refund | float | 退保金 | -| compens_payout | float | 赔付总支出 | -| reser_insur_liab | float | 提取保险责任准备金 | -| div_payt | float | 保户红利支出 | -| reins_exp | float | 分保费用 | -| oper_exp | float | 营业支出 | -| compens_payout_refu | float | 减:摊回赔付支出 | -| insur_reser_refu | float | 减:摊回保险责任准备金 | -| reins_cost_refund | float | 减:摊回分保费用 | -| other_bus_cost | float | 其他业务成本 | -| operate_profit | float | 营业利润 | -| non_oper_income | float | 加:营业外收入 | -| non_oper_exp | float | 减:营业外支出 | -| nca_disploss | float | 其中:减:非流动资产处置净损失 | -| total_profit | float | 利润总额 | -| income_tax | float | 所得税费用 | -| n_income | float | 净利润(含少数股东损益) | -| n_income_attr_p | float | 净利润(不含少数股东损益) | -| minority_gain | float | 少数股东损益 | -| oth_compr_income | float | 其他综合收益 | -| t_compr_income | float | 综合收益总额 | -| compr_inc_attr_p | float | 归属于母公司(或股东)的综合收益总额 | -| compr_inc_attr_m_s | float | 归属于少数股东的综合收益总额 | -| ebit | float | 息税前利润 | -| ebida | float | 息税折旧摊销前利润 | -| insurance_exp | float | 保险业务支出 | -| undist_profit | float | 年初未分配利润 | -| distable_profit | float | 可分配利润 | -| rd_exp | float | 研发费用 | -| fin_exp_int_exp | float | 财务费用-利息费用 | -| fin_exp_int_inc | float | 财务费用-利息收入 | -| transfer_surplus_rese | float | 盈余公积转入 | -| transfer_housing_imprest | float | 住房周转金转入 | -| transfer_oth | float | 其他转入 | -| adj_lossgain | float | 调整以前年度损益 | -| withdra_legal_surplus | float | 提取法定盈余公积 | -| withdra_legal_pubfund | float | 提取法定公益金 | -| withdra_biz_devfund | float | 提取企业发展基金 | -| withdra_rese_fund | float | 提取储备基金 | -| withdra_oth_ersu | float | 提取任意盈余公积金 | -| workers_welfare | float | 职工奖福金 | -| distr_profit_shrder | float | 可供股东分配的利润 | -| prfshare_payable_dvd | float | 应付优先股股利 | -| comshare_payable_dvd | float | 应付普通股股利 | -| capit_comstock_div | float | 转作股本的普通股股利 | -| net_after_nr_p_correct | float | 扣除非经常性损益后的净利润(更正前) | -| credit_impa_loss | float | 信用减值损失 | -| net_expo_hedging_benefits | float | 净敞口套期收益 | -| oth_impair_loss_assets | float | 其他资产减值损失 | -| total_opcost | float | 营业总成本(二) | -| amodcost_fin_assets | float | 以摊余成本计量的金融资产终止确认收益 | -| oth_income | float | 其他收益 | -| asset_disp_income | float | 资产处置收益 | -| continued_net_profit | float | 持续经营净利润 | -| end_net_profit | float | 终止经营净利润 | +| 名称 | 描述 | +|---------------------------|--------------------| +| basic_eps | 基本每股收益 | +| diluted_eps | 稀释每股收益 | +| total_revenue | 营业总收入 | +| revenue | 营业收入 | +| int_income | 利息收入 | +| prem_earned | 已赚保费 | +| comm_income | 手续费及佣金收入 | +| n_commis_income | 手续费及佣金净收入 | +| n_oth_income | 其他经营净收益 | +| n_oth_b_income | 加:其他业务净收益 | +| prem_income | 保险业务收入 | +| out_prem | 减:分出保费 | +| une_prem_reser | 提取未到期责任准备金 | +| reins_income | 其中:分保费收入 | +| n_sec_tb_income | 代理买卖证券业务净收入 | +| n_sec_uw_income | 证券承销业务净收入 | +| n_asset_mg_income | 受托客户资产管理业务净收入 | +| oth_b_income | 其他业务收入 | +| fv_value_chg_gain | 加:公允价值变动净收益 | +| invest_income | 加:投资净收益 | +| ass_invest_income | 其中:对联营企业和合营企业的投资收益 | +| forex_gain | 加:汇兑净收益 | +| total_cogs | 营业总成本 | +| oper_cost | 减:营业成本 | +| int_exp | 减:利息支出 | +| comm_exp | 减:手续费及佣金支出 | +| biz_tax_surchg | 减:营业税金及附加 | +| sell_exp | 减:销售费用 | +| admin_exp | 减:管理费用 | +| fin_exp | 减:财务费用 | +| assets_impair_loss | 减:资产减值损失 | +| prem_refund | 退保金 | +| compens_payout | 赔付总支出 | +| reser_insur_liab | 提取保险责任准备金 | +| div_payt | 保户红利支出 | +| reins_exp | 分保费用 | +| oper_exp | 营业支出 | +| compens_payout_refu | 减:摊回赔付支出 | +| insur_reser_refu | 减:摊回保险责任准备金 | +| reins_cost_refund | 减:摊回分保费用 | +| other_bus_cost | 其他业务成本 | +| operate_profit | 营业利润 | +| non_oper_income | 加:营业外收入 | +| non_oper_exp | 减:营业外支出 | +| nca_disploss | 其中:减:非流动资产处置净损失 | +| total_profit | 利润总额 | +| income_tax | 所得税费用 | +| n_income | 净利润(含少数股东损益) | +| n_income_attr_p | 净利润(不含少数股东损益) | +| minority_gain | 少数股东损益 | +| oth_compr_income | 其他综合收益 | +| t_compr_income | 综合收益总额 | +| compr_inc_attr_p | 归属于母公司(或股东)的综合收益总额 | +| compr_inc_attr_m_s | 归属于少数股东的综合收益总额 | +| ebit | 息税前利润 | +| ebida | 息税折旧摊销前利润 | +| insurance_exp | 保险业务支出 | +| undist_profit | 年初未分配利润 | +| distable_profit | 可分配利润 | +| rd_exp | 研发费用 | +| fin_exp_int_exp | 财务费用-利息费用 | +| fin_exp_int_inc | 财务费用-利息收入 | +| transfer_surplus_rese | 盈余公积转入 | +| transfer_housing_imprest | 住房周转金转入 | +| transfer_oth | 其他转入 | +| adj_lossgain | 调整以前年度损益 | +| withdra_legal_surplus | 提取法定盈余公积 | +| withdra_legal_pubfund | 提取法定公益金 | +| withdra_biz_devfund | 提取企业发展基金 | +| withdra_rese_fund | 提取储备基金 | +| withdra_oth_ersu | 提取任意盈余公积金 | +| workers_welfare | 职工奖福金 | +| distr_profit_shrder | 可供股东分配的利润 | +| prfshare_payable_dvd | 应付优先股股利 | +| comshare_payable_dvd | 应付普通股股利 | +| capit_comstock_div | 转作股本的普通股股利 | +| net_after_nr_p_correct | 扣除非经常性损益后的净利润(更正前) | +| credit_impa_loss | 信用减值损失 | +| net_expo_hedging_benefits | 净敞口套期收益 | +| oth_impair_loss_assets | 其他资产减值损失 | +| total_opcost | 营业总成本(二) | +| amodcost_fin_assets | 以摊余成本计量的金融资产终止确认收益 | +| oth_income | 其他收益 | +| asset_disp_income | 资产处置收益 | +| continued_net_profit | 持续经营净利润 | +| end_net_profit | 终止经营净利润 | 现金流量表 -| 名称 | 类型 | 描述 | -|----------------------------|-------|---------------------------| -| net_profit | float | 净利润 | -| fin_exp | float | 财务费用 | -| c_f_sale_sg | float | 销售商品、提供劳务收到的现金 | -| recp_tax_refds | float | 收到的税费返还 | -| n_depos_incr_f | float | 客户存款和同业存放款项净增加额 | -| n_inc_loans_oth_bank | float | 拆入资金净增加额 | -| c_cap_incr_repur | float | 回购业务资金净增加额 | -| c_f_oth_oper_a | float | 经营活动现金流入小计 | -| c_paid_to_for_empl | float | 支付给职工以及为职工支付的现金 | -| c_paid_for_taxes | float | 支付的各项税费 | -| n_inc_ct_loan_adv | float | 存放中央银行和同业款项净增加额 | -| n_inc_dep_cbob | float | 客户贷款及垫款净增加额 | -| c_pay_dams_ond_inco | float | 支付原保险合同赔付款项的现金 | -| pay_handling_chg | float | 支付手续费及佣金的现金 | -| oth_cashout_oper_act | float | 支付其他与经营活动有关的现金 | -| st_cashflow_act | float | 经营活动产生的现金流量净额 | -| n_inc_recp_lal_inv_act | float | 收回投资收到的现金 | -| c_disp_without_inv_act | float | 处置固定资产、无形资产和其他长期资产收回的现金净额 | -| n_recp_return_invest | float | 取得投资收益收到的现金 | -| n_disp_dep_folla | float | 处置子公司及其他营业单位收到的现金净额 | -| stoc_inflows_inv_act | float | 投资活动现金流入小计 | -| c_paid_subs_oth_biz | float | 购置固定资产、无形资产和其他长期资产支付的现金 | -| c_paid_acq_cons_iota | float | 投资支付的现金 | -| n_inc_disp_bedge_act | float | 取得子公司及其他营业单位支付的现金净额 | -| stoc_cashout_inv_act | float | 投资活动现金流出小计 | -| c_recp_bonds | float | 质押贷款净增加额 | -| proc_issue_in_inc_act | float | 发行债券收到的现金 | -| incl_dvd_profit_paid_sc_ms | float | 其中:子公司支付少数股东的股利、利润 | -| oth_cashflow_fin_act | float | 支付其他与筹资活动有关的现金 | -| stoc_cashout_fin_act | float | 筹资活动现金流出小计 | -| eff_fx_flows_cash_equ | float | 汇率变动对现金及现金等价物的影响 | -| c_cash_equ_beg_period | float | 期初现金及现金等价物余额 | -| c_cash_equ_end_period | float | 期末现金及现金等价物余额 | -| incl_rec_inv_assets | float | 其中:子公司吸收少数股东投资收到的现金 | -| unconv_inv_assets | float | 加:资产减值准备 | -| prov_fa_coga_dpba | float | 固定资产折旧、油气资产折耗、生产性生物资产折旧 | -| amort_intang_exp | float | 无形资产摊销 | -| lt_amort_defer_exp | float | 长期待摊费用摊销 | -| defer_defere_exp | float | 处置固定资产、无形资产和其他长期资产的损失 | -| inc_acq_expo | float | 公允价值变动损失 | -| loss_disp_fa | float | 投资损失 | -| loss_sc | float | 递延所得税资产减少 | -| invest_inc_tax_assets | float | 递延所得税负债增加 | -| der_inc_tv | float | 存货的减少 | -| der_del_inventories | float | 经营性应收项目的减少 | -| inc_payable | float | 经营性应付项目的增加 | -| others | float | 其他 | -| im_net_cashflow_oper_act | float | 经营活动产生的现金流量净额(间接法) | -| conv_debt_into_cap | float | 债务转为资本 | -| conv_coponds_due_within1y | float | 一年内到期的可转换公司债券 | -| fa_in_lease | float | 融资租入固定资产 | -| im_n_inc_cash_equ | float | 现金及现金等价物净增加额(间接法) | -| net_dism_cash_equ | float | 加:期初现金及现金等价物余额 | -| credit_impa_loss | float | 信用减值损失 | -| use_light_asset_dep | float | 使用固定资产的折旧 | -| oth_end_asset | float | 其他资产减值准备 | -| beg_bal_cash | float | 减:期初现金及现金等价物余额 | -| end_bal_cash_equ | float | 加:期末现金及现金等价物余额 | +| 名称 | 描述 | +|----------------------------|---------------------------| +| net_profit | 净利润 | +| fin_exp | 财务费用 | +| c_f_sale_sg | 销售商品、提供劳务收到的现金 | +| recp_tax_refds | 收到的税费返还 | +| n_depos_incr_f | 客户存款和同业存放款项净增加额 | +| n_inc_loans_oth_bank | 拆入资金净增加额 | +| c_cap_incr_repur | 回购业务资金净增加额 | +| c_f_oth_oper_a | 经营活动现金流入小计 | +| c_paid_to_for_empl | 支付给职工以及为职工支付的现金 | +| c_paid_for_taxes | 支付的各项税费 | +| n_inc_ct_loan_adv | 存放中央银行和同业款项净增加额 | +| n_inc_dep_cbob | 客户贷款及垫款净增加额 | +| c_pay_dams_ond_inco | 支付原保险合同赔付款项的现金 | +| pay_handling_chg | 支付手续费及佣金的现金 | +| oth_cashout_oper_act | 支付其他与经营活动有关的现金 | +| st_cashflow_act | 经营活动产生的现金流量净额 | +| n_inc_recp_lal_inv_act | 收回投资收到的现金 | +| c_disp_without_inv_act | 处置固定资产、无形资产和其他长期资产收回的现金净额 | +| n_recp_return_invest | 取得投资收益收到的现金 | +| n_disp_dep_folla | 处置子公司及其他营业单位收到的现金净额 | +| stoc_inflows_inv_act | 投资活动现金流入小计 | +| c_paid_subs_oth_biz | 购置固定资产、无形资产和其他长期资产支付的现金 | +| c_paid_acq_cons_iota | 投资支付的现金 | +| n_inc_disp_bedge_act | 取得子公司及其他营业单位支付的现金净额 | +| stoc_cashout_inv_act | 投资活动现金流出小计 | +| c_recp_bonds | 质押贷款净增加额 | +| proc_issue_in_inc_act | 发行债券收到的现金 | +| incl_dvd_profit_paid_sc_ms | 其中:子公司支付少数股东的股利、利润 | +| oth_cashflow_fin_act | 支付其他与筹资活动有关的现金 | +| stoc_cashout_fin_act | 筹资活动现金流出小计 | +| eff_fx_flows_cash_equ | 汇率变动对现金及现金等价物的影响 | +| c_cash_equ_beg_period | 期初现金及现金等价物余额 | +| c_cash_equ_end_period | 期末现金及现金等价物余额 | +| incl_rec_inv_assets | 其中:子公司吸收少数股东投资收到的现金 | +| unconv_inv_assets | 加:资产减值准备 | +| prov_fa_coga_dpba | 固定资产折旧、油气资产折耗、生产性生物资产折旧 | +| amort_intang_exp | 无形资产摊销 | +| lt_amort_defer_exp | 长期待摊费用摊销 | +| defer_defere_exp | 处置固定资产、无形资产和其他长期资产的损失 | +| inc_acq_expo | 公允价值变动损失 | +| loss_disp_fa | 投资损失 | +| loss_sc | 递延所得税资产减少 | +| invest_inc_tax_assets | 递延所得税负债增加 | +| der_inc_tv | 存货的减少 | +| der_del_inventories | 经营性应收项目的减少 | +| inc_payable | 经营性应付项目的增加 | +| others | 其他 | +| im_net_cashflow_oper_act | 经营活动产生的现金流量净额(间接法) | +| conv_debt_into_cap | 债务转为资本 | +| conv_coponds_due_within1y | 一年内到期的可转换公司债券 | +| fa_in_lease | 融资租入固定资产 | +| im_n_inc_cash_equ | 现金及现金等价物净增加额(间接法) | +| net_dism_cash_equ | 加:期初现金及现金等价物余额 | +| credit_impa_loss | 信用减值损失 | +| use_light_asset_dep | 使用固定资产的折旧 | +| oth_end_asset | 其他资产减值准备 | +| beg_bal_cash | 减:期初现金及现金等价物余额 | +| end_bal_cash_equ | 加:期末现金及现金等价物余额 | 资产负债表 -| 名称 | 类型 | 描述 | -|----------------------------|-------|--------------------------| -| total_share | float | 期末总股本 | -| cap_rese | float | 资本公积金 | -| undist_profit | float | 未分配利润 | -| surplus_rese | float | 盈余公积金 | -| special_rese | float | 专项储备 | -| money_cap | float | 货币资金 | -| trad_asset | float | 交易性金融资产 | -| notes_receiv | float | 应收票据 | -| accounts_receiv | float | 应收账款 | -| oth_receiv | float | 其他应收款 | -| prepayment | float | 预付款项 | -| div_receiv | float | 应收股利 | -| int_receiv | float | 应收利息 | -| inventories | float | 存货 | -| amor_exp | float | 待摊费用 | -| nca_within_1y | float | 一年内到期的非流动资产 | -| sett_rsrv | float | 结算备付金 | -| loan_to_oth_bank_fi | float | 拆出资金 | -| premium_receiv | float | 应收保费 | -| reinsur_receiv | float | 应收分保账款 | -| reinsur_res_receiv | float | 应收分保合同准备金 | -| pur_resale_fa | float | 买入返售金融资产 | -| oth_cur_assets | float | 其他流动资产 | -| total_cur_assets | float | 流动资产合计 | -| fa_avail_for_sale | float | 可供出售金融资产 | -| htm_invest | float | 持有至到期投资 | -| lt_eqt_invest | float | 长期股权投资 | -| invest_real_estate | float | 投资性房地产 | -| time_deposits | float | 定期存款 | -| oth_assets | float | 其他资产 | -| lt_rec | float | 长期应收款 | -| fix_assets | float | 固定资产 | -| cip | float | 在建工程 | -| const_materials | float | 工程物资 | -| fixed_assets_disp | float | 固定资产清理 | -| produc_bio_assets | float | 生产性生物资产 | -| oil_and_gas_assets | float | 油气资产 | -| intan_assets | float | 无形资产 | -| r_and_d | float | 研发支出 | -| goodwill | float | 商誉 | -| lt_amor_exp | float | 长期待摊费用 | -| defer_tax_assets | float | 递延所得税资产 | -| decr_in_disbur | float | 发放贷款及垫款 | -| oth_nca | float | 其他非流动资产 | -| total_nca | float | 非流动资产合计 | -| cash_reser_cb | float | 现金及存放中央银行款项 | -| depos_in_oth_bfi | float | 存放同业和其它金融机构款项 | -| prec_metals | float | 贵金属 | -| deriv_assets | float | 衍生金融资产 | -| rr_reins_une_prem | float | 应收分保未到期责任准备金 | -| rr_reins_outstd_cla | float | 应收分保未决赔款准备金 | -| rr_reins_lins_liab | float | 应收分保寿险责任准备金 | -| rr_reins_lthins_liab | float | 应收分保长期健康险责任准备金 | -| refund_depos | float | 存出保证金 | -| ph_pledge_loans | float | 保户质押贷款 | -| refund_cap_depos | float | 存出资本保证金 | -| indep_acct_assets | float | 独立账户资产 | -| client_depos | float | 其中:客户资金存款 | -| client_prov | float | 其中:客户备付金 | -| transac_seat_fee | float | 其中:交易席位费 | -| invest_as_receiv | float | 应收款项类投资 | -| total_assets | float | 资产总计 | -| lt_borr | float | 长期借款 | -| st_borr | float | 短期借款 | -| cb_borr | float | 向中央银行借款 | -| depos_ib_deposits | float | 吸收存款及同业存放 | -| loan_oth_bank | float | 拆入资金 | -| trading_fl | float | 交易性金融负债 | -| notes_payable | float | 应付票据 | -| acct_payable | float | 应付账款 | -| adv_receipts | float | 预收款项 | -| sold_for_repur_fa | float | 卖出回购金融资产款 | -| comm_payable | float | 应付手续费及佣金 | -| payroll_payable | float | 应付职工薪酬 | -| taxes_payable | float | 应交税费 | -| int_payable | float | 应付利息 | -| div_payable | float | 应付股利 | -| oth_payable | float | 其他应付款 | -| acc_exp | float | 预提费用 | -| deferred_inc | float | 递延收益 | -| st_bonds_payable | float | 应付短期债券 | -| payable_to_reinsurer | float | 应付分保账款 | -| rsv_insur_cont | float | 保险合同准备金 | -| acting_trading_sec | float | 代理买卖证券款 | -| acting_uw_sec | float | 代理承销证券款 | -| non_cur_lab_due_1y | float | 一年内到期的非流动负债 | -| oth_cur_lab | float | 其他流动负债 | -| total_cur_lab | float | 流动负债合计 | -| bond_payable | float | 应付债券 | -| lt_payable | float | 长期应付款 | -| specific_payables | float | 专项应付款 | -| estimated_lab | float | 预计负债 | -| defer_tax_lab | float | 递延所得税负债 | -| defer_inc_non_cur_lab | float | 递延收益-非流动负债 | -| oth_ncl | float | 其他非流动负债 | -| total_ncl | float | 非流动负债合计 | -| depos_oth_bfi | float | 同业和其它金融机构存放款项 | -| deriv_lab | float | 衍生金融负债 | -| depos | float | 吸收存款 | -| agency_bus_lab | float | 代理业务负债 | -| oth_lab | float | 其他负债 | -| prem_receiv_ava | float | 预收保费 | -| depos_received | float | 存入保证金 | -| pr_invest | float | 保户储金及投资款 | -| reser_une_prem | float | 未到期责任准备金 | -| reser_outstd_claims | float | 未决赔款准备金 | -| reser_lins_lab | float | 寿险责任准备金 | -| reser_lthins_lab | float | 长期健康险责任准备金 | -| indep_acct_lab | float | 独立账户负债 | -| pledge_borr | float | 其中:质押借款 | -| indem_payable | float | 应付赔付款 | -| policy_div_payable | float | 应付保单红利 | -| total_lab | float | 负债合计 | -| treasury_share | float | 减:库存股 | -| ordin_risk_reser | float | 一般风险准备 | -| forex_differ | float | 外币报表折算差额 | -| invest_loss_unconf | float | 未确认的投资损失 | -| minority_int | float | 少数股东权益 | -| total_hldr_eqy_exc_min_int | float | 股东权益合计(不含少数股东权益) | -| total_hldr_eqy_inc_min_int | float | 股东权益合计(含少数股东权益) | -| total_lab_hldr_eqy | float | 负债及股东权益总计 | -| lt_payroll_payable | float | 长期应付职工薪酬 | -| oth_compr_income | float | 其他综合收益 | -| oth_eq_tools | float | 其他权益工具 | -| oth_eq_tools_p_shr | float | 其他权益工具(优先股) | -| lending_funs | float | 融出资金 | -| acc_receivable | float | 应收款项 | -| st_fin_payable | float | 应付短期融资款 | -| payables | float | 应付款项 | -| hfs_assets | float | 持有待售的资产 | -| hfs_sales | float | 持有待售的负债 | -| cost_fin_assets | float | 以摊余成本计量的金融资产 | -| fair_value_fin_assets | float | 以公允价值计量且其变动计入其他综合收益的金融资产 | -| cip_total | float | 在建工程(合计)(元) | -| oth_pay_total | float | 其他应付款(合计)(元) | -| long_pay_total | float | 长期应付款(合计)(元) | -| debt_invest | float | 债权投资(元) | -| oth_debt_invest | float | 其他债权投资(元) | -| oth_eq_invest | float | 其他权益工具投资(元) | -| oth_illi_fin_assets | float | 其他非流动金融资产(元) | -| oth_eq_pbond | float | 其他权益工具-永续债(元) | -| receiv_financing | float | 应收款项类投资 | -| use_right_assets | float | 使用权资产 | -| lease_lab | float | 租赁负债 | -| contract_assets | float | 合同资产 | -| contract_lab | float | 合同负债 | -| accounts_receiv_bill | float | 应收票据及应收账款 | -| accounts_pay_bill | float | 应付票据及应付账款 | -| oth_rcv_total | float | 其他应收款(合计)(元) | -| fix_assets_total | float | 固定资产(合计)(元) | \ No newline at end of file +| 名称 | 描述 | +|----------------------------|--------------------------| +| total_share | 期末总股本 | +| cap_rese | 资本公积金 | +| undist_profit | 未分配利润 | +| surplus_rese | 盈余公积金 | +| special_rese | 专项储备 | +| money_cap | 货币资金 | +| trad_asset | 交易性金融资产 | +| notes_receiv | 应收票据 | +| accounts_receiv | 应收账款 | +| oth_receiv | 其他应收款 | +| prepayment | 预付款项 | +| div_receiv | 应收股利 | +| int_receiv | 应收利息 | +| inventories | 存货 | +| amor_exp | 待摊费用 | +| nca_within_1y | 一年内到期的非流动资产 | +| sett_rsrv | 结算备付金 | +| loan_to_oth_bank_fi | 拆出资金 | +| premium_receiv | 应收保费 | +| reinsur_receiv | 应收分保账款 | +| reinsur_res_receiv | 应收分保合同准备金 | +| pur_resale_fa | 买入返售金融资产 | +| oth_cur_assets | 其他流动资产 | +| total_cur_assets | 流动资产合计 | +| fa_avail_for_sale | 可供出售金融资产 | +| htm_invest | 持有至到期投资 | +| lt_eqt_invest | 长期股权投资 | +| invest_real_estate | 投资性房地产 | +| time_deposits | 定期存款 | +| oth_assets | 其他资产 | +| lt_rec | 长期应收款 | +| fix_assets | 固定资产 | +| cip | 在建工程 | +| const_materials | 工程物资 | +| fixed_assets_disp | 固定资产清理 | +| produc_bio_assets | 生产性生物资产 | +| oil_and_gas_assets | 油气资产 | +| intan_assets | 无形资产 | +| r_and_d | 研发支出 | +| goodwill | 商誉 | +| lt_amor_exp | 长期待摊费用 | +| defer_tax_assets | 递延所得税资产 | +| decr_in_disbur | 发放贷款及垫款 | +| oth_nca | 其他非流动资产 | +| total_nca | 非流动资产合计 | +| cash_reser_cb | 现金及存放中央银行款项 | +| depos_in_oth_bfi | 存放同业和其它金融机构款项 | +| prec_metals | 贵金属 | +| deriv_assets | 衍生金融资产 | +| rr_reins_une_prem | 应收分保未到期责任准备金 | +| rr_reins_outstd_cla | 应收分保未决赔款准备金 | +| rr_reins_lins_liab | 应收分保寿险责任准备金 | +| rr_reins_lthins_liab | 应收分保长期健康险责任准备金 | +| refund_depos | 存出保证金 | +| ph_pledge_loans | 保户质押贷款 | +| refund_cap_depos | 存出资本保证金 | +| indep_acct_assets | 独立账户资产 | +| client_depos | 其中:客户资金存款 | +| client_prov | 其中:客户备付金 | +| transac_seat_fee | 其中:交易席位费 | +| invest_as_receiv | 应收款项类投资 | +| total_assets | 资产总计 | +| lt_borr | 长期借款 | +| st_borr | 短期借款 | +| cb_borr | 向中央银行借款 | +| depos_ib_deposits | 吸收存款及同业存放 | +| loan_oth_bank | 拆入资金 | +| trading_fl | 交易性金融负债 | +| notes_payable | 应付票据 | +| acct_payable | 应付账款 | +| adv_receipts | 预收款项 | +| sold_for_repur_fa | 卖出回购金融资产款 | +| comm_payable | 应付手续费及佣金 | +| payroll_payable | 应付职工薪酬 | +| taxes_payable | 应交税费 | +| int_payable | 应付利息 | +| div_payable | 应付股利 | +| oth_payable | 其他应付款 | +| acc_exp | 预提费用 | +| deferred_inc | 递延收益 | +| st_bonds_payable | 应付短期债券 | +| payable_to_reinsurer | 应付分保账款 | +| rsv_insur_cont | 保险合同准备金 | +| acting_trading_sec | 代理买卖证券款 | +| acting_uw_sec | 代理承销证券款 | +| non_cur_lab_due_1y | 一年内到期的非流动负债 | +| oth_cur_lab | 其他流动负债 | +| total_cur_lab | 流动负债合计 | +| bond_payable | 应付债券 | +| lt_payable | 长期应付款 | +| specific_payables | 专项应付款 | +| estimated_lab | 预计负债 | +| defer_tax_lab | 递延所得税负债 | +| defer_inc_non_cur_lab | 递延收益-非流动负债 | +| oth_ncl | 其他非流动负债 | +| total_ncl | 非流动负债合计 | +| depos_oth_bfi | 同业和其它金融机构存放款项 | +| deriv_lab | 衍生金融负债 | +| depos | 吸收存款 | +| agency_bus_lab | 代理业务负债 | +| oth_lab | 其他负债 | +| prem_receiv_ava | 预收保费 | +| depos_received | 存入保证金 | +| pr_invest | 保户储金及投资款 | +| reser_une_prem | 未到期责任准备金 | +| reser_outstd_claims | 未决赔款准备金 | +| reser_lins_lab | 寿险责任准备金 | +| reser_lthins_lab | 长期健康险责任准备金 | +| indep_acct_lab | 独立账户负债 | +| pledge_borr | 其中:质押借款 | +| indem_payable | 应付赔付款 | +| policy_div_payable | 应付保单红利 | +| total_lab | 负债合计 | +| treasury_share | 减:库存股 | +| ordin_risk_reser | 一般风险准备 | +| forex_differ | 外币报表折算差额 | +| invest_loss_unconf | 未确认的投资损失 | +| minority_int | 少数股东权益 | +| total_hldr_eqy_exc_min_int | 股东权益合计(不含少数股东权益) | +| total_hldr_eqy_inc_min_int | 股东权益合计(含少数股东权益) | +| total_lab_hldr_eqy | 负债及股东权益总计 | +| lt_payroll_payable | 长期应付职工薪酬 | +| oth_compr_income | 其他综合收益 | +| oth_eq_tools | 其他权益工具 | +| oth_eq_tools_p_shr | 其他权益工具(优先股) | +| lending_funs | 融出资金 | +| acc_receivable | 应收款项 | +| st_fin_payable | 应付短期融资款 | +| payables | 应付款项 | +| hfs_assets | 持有待售的资产 | +| hfs_sales | 持有待售的负债 | +| cost_fin_assets | 以摊余成本计量的金融资产 | +| fair_value_fin_assets | 以公允价值计量且其变动计入其他综合收益的金融资产 | +| cip_total | 在建工程(合计)(元) | +| oth_pay_total | 其他应付款(合计)(元) | +| long_pay_total | 长期应付款(合计)(元) | +| debt_invest | 债权投资(元) | +| oth_debt_invest | 其他债权投资(元) | +| oth_eq_invest | 其他权益工具投资(元) | +| oth_illi_fin_assets | 其他非流动金融资产(元) | +| oth_eq_pbond | 其他权益工具-永续债(元) | +| receiv_financing | 应收款项类投资 | +| use_right_assets | 使用权资产 | +| lease_lab | 租赁负债 | +| contract_assets | 合同资产 | +| contract_lab | 合同负债 | +| accounts_receiv_bill | 应收票据及应收账款 | +| accounts_pay_bill | 应付票据及应付账款 | +| oth_rcv_total | 其他应收款(合计)(元) | +| fix_assets_total | 固定资产(合计)(元) | + +```java +/** + * 利润表 + */ +public class Income { + @Comment("原始名称:basic_eps,描述:基本每股收益") + private Double basicEarningsPerShare; + @Comment("原始名称:diluted_eps,描述:稀释每股收益") + private Double dilutedEarningsPerShare; + @Comment("原始名称:total_revenue,描述:营业总收入") + private Double totalOperatingRevenue; + @Comment("原始名称:revenue,描述:营业收入") + private Double operatingRevenue; + @Comment("原始名称:int_income,描述:利息收入") + private Double interestIncome; + @Comment("原始名称:prem_earned,描述:已赚保费") + private Double earnedPremium; + @Comment("原始名称:comm_income,描述:手续费及佣金收入") + private Double commissionIncome; + @Comment("原始名称:n_commis_income,描述:手续费及佣金净收入") + private Double netCommissionIncome; + @Comment("原始名称:n_oth_income,描述:其他经营净收益") + private Double netOtherOperatingIncome; + @Comment("原始名称:n_oth_b_income,描述:加:其他业务净收益") + private Double addNetOtherBusinessIncome; + @Comment("原始名称:prem_income,描述:保险业务收入") + private Double insuranceBusinessIncome; + @Comment("原始名称:out_prem,描述:减:分出保费") + private Double lessCededPremium; + @Comment("原始名称:une_prem_reser,描述:提取未到期责任准备金") + private Double unearnedPremiumReserveWithdrawn; + @Comment("原始名称:reins_income,描述:其中:分保费收入") + private Double reinsurancePremiumIncome; + @Comment("原始名称:n_sec_tb_income,描述:代理买卖证券业务净收入") + private Double netIncomeFromSecuritiesAgencyTrading; + @Comment("原始名称:n_sec_uw_income,描述:证券承销业务净收入") + private Double netIncomeFromSecuritiesUnderwriting; + @Comment("原始名称:n_asset_mg_income,描述:受托客户资产管理业务净收入") + private Double netIncomeFromClientAssetManagement; + @Comment("原始名称:oth_b_income,描述:其他业务收入") + private Double otherBusinessIncome; + @Comment("原始名称:fv_value_chg_gain,描述:加:公允价值变动净收益") + private Double addNetFairValueChangeGain; + @Comment("原始名称:invest_income,描述:加:投资净收益") + private Double addNetInvestmentIncome; + @Comment("原始名称:ass_invest_income,描述:其中:对联营企业和合营企业的投资收益") + private Double investmentIncomeFromAssociatesAndJointVentures; + @Comment("原始名称:forex_gain,描述:加:汇兑净收益") + private Double addNetForeignExchangeGain; + @Comment("原始名称:total_cogs,描述:营业总成本") + private Double totalOperatingCost; + @Comment("原始名称:oper_cost,描述:减:营业成本") + private Double lessOperatingCost; + @Comment("原始名称:int_exp,描述:减:利息支出") + private Double lessInterestExpense; + @Comment("原始名称:comm_exp,描述:减:手续费及佣金支出") + private Double lessCommissionExpense; + @Comment("原始名称:biz_tax_surchg,描述:减:营业税金及附加") + private Double lessBusinessTaxAndSurcharges; + @Comment("原始名称:sell_exp,描述:减:销售费用") + private Double lessSellingExpense; + @Comment("原始名称:admin_exp,描述:减:管理费用") + private Double lessAdministrativeExpense; + @Comment("原始名称:fin_exp,描述:减:财务费用") + private Double lessFinancialExpense; + @Comment("原始名称:assets_impair_loss,描述:减:资产减值损失") + private Double lessAssetImpairmentLoss; + @Comment("原始名称:prem_refund,描述:退保金") + private Double premiumRefund; + @Comment("原始名称:compens_payout,描述:赔付总支出") + private Double totalCompensationPayout; + @Comment("原始名称:reser_insur_liab,描述:提取保险责任准备金") + private Double insuranceLiabilityReserveWithdrawn; + @Comment("原始名称:div_payt,描述:保户红利支出") + private Double policyholderDividendPayout; + @Comment("原始名称:reins_exp,描述:分保费用") + private Double reinsuranceExpense; + @Comment("原始名称:oper_exp,描述:营业支出") + private Double operatingExpense; + @Comment("原始名称:compens_payout_refu,描述:减:摊回赔付支出") + private Double lessRecoveredCompensationPayout; + @Comment("原始名称:insur_reser_refu,描述:减:摊回保险责任准备金") + private Double lessRecoveredInsuranceLiabilityReserve; + @Comment("原始名称:reins_cost_refund,描述:减:摊回分保费用") + private Double lessRecoveredReinsuranceCost; + @Comment("原始名称:other_bus_cost,描述:其他业务成本") + private Double otherBusinessCost; + @Comment("原始名称:operate_profit,描述:营业利润") + private Double operatingProfit; + @Comment("原始名称:non_oper_income,描述:加:营业外收入") + private Double addNonOperatingIncome; + @Comment("原始名称:non_oper_exp,描述:减:营业外支出") + private Double lessNonOperatingExpense; + @Comment("原始名称:nca_disploss,描述:其中:减:非流动资产处置净损失") + private Double lessNetLossOnDisposalOfNonCurrentAssets; + @Comment("原始名称:total_profit,描述:利润总额") + private Double totalProfit; + @Comment("原始名称:income_tax,描述:所得税费用") + private Double incomeTaxExpense; + @Comment("原始名称:n_income,描述:净利润(含少数股东损益)") + private Double netProfitIncludingMinorityInterest; + @Comment("原始名称:n_income_attr_p,描述:净利润(不含少数股东损益)") + private Double netProfitExcludingMinorityInterest; + @Comment("原始名称:minority_gain,描述:少数股东损益") + private Double minorityInterestGain; + @Comment("原始名称:oth_compr_income,描述:其他综合收益") + private Double otherComprehensiveIncome; + @Comment("原始名称:t_compr_income,描述:综合收益总额") + private Double totalComprehensiveIncome; + @Comment("原始名称:compr_inc_attr_p,描述:归属于母公司(或股东)的综合收益总额") + private Double comprehensiveIncomeAttributableToParent; + @Comment("原始名称:compr_inc_attr_m_s,描述:归属于少数股东的综合收益总额") + private Double comprehensiveIncomeAttributableToMinorityShareholders; + @Comment("原始名称:ebit,描述:息税前利润") + private Double earningsBeforeInterestAndTax; + @Comment("原始名称:ebida,描述:息税折旧摊销前利润") + private Double earningsBeforeInterestTaxDepreciationAndAmortization; + @Comment("原始名称:insurance_exp,描述:保险业务支出") + private Double insuranceBusinessExpense; + @Comment("原始名称:undist_profit,描述:年初未分配利润") + private Double beginningUndistributedProfit; + @Comment("原始名称:distable_profit,描述:可分配利润") + private Double distributableProfit; + @Comment("原始名称:rd_exp,描述:研发费用") + private Double researchAndDevelopmentExpense; + @Comment("原始名称:fin_exp_int_exp,描述:财务费用-利息费用") + private Double financialExpenseInterestExpense; + @Comment("原始名称:fin_exp_int_inc,描述:财务费用-利息收入") + private Double financialExpenseInterestIncome; + @Comment("原始名称:transfer_surplus_rese,描述:盈余公积转入") + private Double transferFromSurplusReserve; + @Comment("原始名称:transfer_housing_imprest,描述:住房周转金转入") + private Double transferFromHousingRevolvingFund; + @Comment("原始名称:transfer_oth,描述:其他转入") + private Double otherTransfersIn; + @Comment("原始名称:adj_lossgain,描述:调整以前年度损益") + private Double priorYearProfitOrLossAdjustment; + @Comment("原始名称:withdra_legal_surplus,描述:提取法定盈余公积") + private Double legalSurplusReserveWithdrawn; + @Comment("原始名称:withdra_legal_pubfund,描述:提取法定公益金") + private Double legalPublicWelfareFundWithdrawn; + @Comment("原始名称:withdra_biz_devfund,描述:提取企业发展基金") + private Double enterpriseDevelopmentFundWithdrawn; + @Comment("原始名称:withdra_rese_fund,描述:提取储备基金") + private Double reserveFundWithdrawn; + @Comment("原始名称:withdra_oth_ersu,描述:提取任意盈余公积金") + private Double discretionarySurplusReserveWithdrawn; + @Comment("原始名称:workers_welfare,描述:职工奖福金") + private Double staffBonusAndWelfareFund; + @Comment("原始名称:distr_profit_shrder,描述:可供股东分配的利润") + private Double profitAvailableForShareholdersDistribution; + @Comment("原始名称:prfshare_payable_dvd,描述:应付优先股股利") + private Double preferredStockDividendPayable; + @Comment("原始名称:comshare_payable_dvd,描述:应付普通股股利") + private Double commonStockDividendPayable; + @Comment("原始名称:capit_comstock_div,描述:转作股本的普通股股利") + private Double commonStockDividendConvertedToCapital; + @Comment("原始名称:net_after_nr_p_correct,描述:扣除非经常性损益后的净利润(更正前)") + private Double netProfitAfterNonRecurringItemsBeforeCorrection; + @Comment("原始名称:credit_impa_loss,描述:信用减值损失") + private Double creditImpairmentLoss; + @Comment("原始名称:net_expo_hedging_benefits,描述:净敞口套期收益") + private Double netExposureHedgingGains; + @Comment("原始名称:oth_impair_loss_assets,描述:其他资产减值损失") + private Double otherAssetImpairmentLosses; + @Comment("原始名称:total_opcost,描述:营业总成本(二)") + private Double totalOperatingCost2; + @Comment("原始名称:amodcost_fin_assets,描述:以摊余成本计量的金融资产终止确认收益") + private Double gainOnDerecognitionOfAmortizedCostFinancialAssets; + @Comment("原始名称:oth_income,描述:其他收益") + private Double otherGains; + @Comment("原始名称:asset_disp_income,描述:资产处置收益") + private Double assetDisposalGains; + @Comment("原始名称:continued_net_profit,描述:持续经营净利润") + private Double netProfitFromContinuingOperations; + @Comment("原始名称:end_net_profit,描述:终止经营净利润") + private Double netProfitFromDiscontinuedOperations; +} +``` + +```java +/** + * 现金流量表实体类 + */ +public class CashFlow { + @Comment("原始名称:net_profit,描述:净利润") + private Double netProfit; + @Comment("原始名称:fin_exp,描述:财务费用") + private Double financialExpense; + @Comment("原始名称:c_f_sale_sg,描述:销售商品、提供劳务收到的现金") + private Double cashReceivedFromSalesAndServices; + @Comment("原始名称:recp_tax_refds,描述:收到的税费返还") + private Double taxRefundsReceived; + @Comment("原始名称:n_depos_incr_f,描述:客户存款和同业存放款项净增加额") + private Double netIncreaseInCustomerDepositsAndInterbankPlacements; + @Comment("原始名称:n_inc_loans_oth_bank,描述:拆入资金净增加额") + private Double netIncreaseInInterbankBorrowings; + @Comment("原始名称:c_cap_incr_repur,描述:回购业务资金净增加额") + private Double netIncreaseInRepurchaseAgreementFunds; + @Comment("原始名称:c_f_oth_oper_a,描述:经营活动现金流入小计") + private Double subtotalOfCashInflowsFromOperatingActivities; + @Comment("原始名称:c_paid_to_for_empl,描述:支付给职工以及为职工支付的现金") + private Double cashPaidToAndForEmployees; + @Comment("原始名称:c_paid_for_taxes,描述:支付的各项税费") + private Double cashPaidForVariousTaxes; + @Comment("原始名称:n_inc_ct_loan_adv,描述:存放中央银行和同业款项净增加额") + private Double netIncreaseInDepositsWithCentralBankAndInterbank; + @Comment("原始名称:n_inc_dep_cbob,描述:客户贷款及垫款净增加额") + private Double netIncreaseInCustomerLoansAndAdvances; + @Comment("原始名称:c_pay_dams_ond_inco,描述:支付原保险合同赔付款项的现金") + private Double cashPaidForOriginalInsuranceClaims; + @Comment("原始名称:pay_handling_chg,描述:支付手续费及佣金的现金") + private Double cashPaidForHandlingFeesAndCommissions; + @Comment("原始名称:oth_cashout_oper_act,描述:支付其他与经营活动有关的现金") + private Double otherCashPaymentsRelatedToOperatingActivities; + @Comment("原始名称:st_cashflow_act,描述:经营活动产生的现金流量净额") + private Double netCashFlowFromOperatingActivities; + @Comment("原始名称:n_inc_recp_lal_inv_act,描述:收回投资收到的现金") + private Double cashReceivedFromInvestmentRecovery; + @Comment("原始名称:c_disp_without_inv_act,描述:处置固定资产、无形资产和其他长期资产收回的现金净额") + private Double netCashReceivedFromDisposalOfFixedIntangibleAndOtherLongTermAssets; + @Comment("原始名称:n_recp_return_invest,描述:取得投资收益收到的现金") + private Double cashReceivedFromInvestmentIncome; + @Comment("原始名称:n_disp_dep_folla,描述:处置子公司及其他营业单位收到的现金净额") + private Double netCashReceivedFromDisposalOfSubsidiariesAndOtherBusinessUnits; + @Comment("原始名称:stoc_inflows_inv_act,描述:投资活动现金流入小计") + private Double subtotalOfCashInflowsFromInvestingActivities; + @Comment("原始名称:c_paid_subs_oth_biz,描述:购置固定资产、无形资产和其他长期资产支付的现金") + private Double cashPaidForAcquisitionOfFixedIntangibleAndOtherLongTermAssets; + @Comment("原始名称:c_paid_acq_cons_iota,描述:投资支付的现金") + private Double cashPaidForInvestments; + @Comment("原始名称:n_inc_disp_bedge_act,描述:取得子公司及其他营业单位支付的现金净额") + private Double netCashPaidForAcquisitionOfSubsidiariesAndOtherBusinessUnits; + @Comment("原始名称:stoc_cashout_inv_act,描述:投资活动现金流出小计") + private Double subtotalOfCashOutflowsFromInvestingActivities; + @Comment("原始名称:c_recp_bonds,描述:质押贷款净增加额") + private Double netIncreaseInPledgedLoans; + @Comment("原始名称:proc_issue_in_inc_act,描述:发行债券收到的现金") + private Double cashReceivedFromBondIssuance; + @Comment("原始名称:incl_dvd_profit_paid_sc_ms,描述:其中:子公司支付少数股东的股利、利润") + private Double dividendsAndProfitsPaidToMinorityShareholdersBySubsidiaries; + @Comment("原始名称:oth_cashflow_fin_act,描述:支付其他与筹资活动有关的现金") + private Double otherCashPaymentsRelatedToFinancingActivities; + @Comment("原始名称:stoc_cashout_fin_act,描述:筹资活动现金流出小计") + private Double subtotalOfCashOutflowsFromFinancingActivities; + @Comment("原始名称:eff_fx_flows_cash_equ,描述:汇率变动对现金及现金等价物的影响") + private Double effectOfExchangeRateChangesOnCashAndCashEquivalents; + @Comment("原始名称:c_cash_equ_beg_period,描述:期初现金及现金等价物余额") + private Double beginningBalanceOfCashAndCashEquivalents; + @Comment("原始名称:c_cash_equ_end_period,描述:期末现金及现金等价物余额") + private Double endingBalanceOfCashAndCashEquivalents; + @Comment("原始名称:incl_rec_inv_assets,描述:其中:子公司吸收少数股东投资收到的现金") + private Double cashReceivedBySubsidiariesFromMinorityShareholdersInvestment; + @Comment("原始名称:unconv_inv_assets,描述:加:资产减值准备") + private Double addAssetImpairmentProvisions; + @Comment("原始名称:prov_fa_coga_dpba,描述:固定资产折旧、油气资产折耗、生产性生物资产折旧") + private Double depreciationOfFixedAssetsDepletionOfOilAndGasAssetsDepreciationOfProductiveBiologicalAssets; + @Comment("原始名称:amort_intang_exp,描述:无形资产摊销") + private Double amortizationOfIntangibleAssets; + @Comment("原始名称:lt_amort_defer_exp,描述:长期待摊费用摊销") + private Double amortizationOfLongTermDeferredExpenses; + @Comment("原始名称:defer_defere_exp,描述:处置固定资产、无形资产和其他长期资产的损失") + private Double lossOnDisposalOfFixedIntangibleAndOtherLongTermAssets; + @Comment("原始名称:inc_acq_expo,描述:公允价值变动损失") + private Double fairValueChangeLoss; + @Comment("原始名称:loss_disp_fa,描述:投资损失") + private Double investmentLoss; + @Comment("原始名称:loss_sc,描述:递延所得税资产减少") + private Double decreaseInDeferredTaxAssets; + @Comment("原始名称:invest_inc_tax_assets,描述:递延所得税负债增加") + private Double increaseInDeferredTaxLiabilities; + @Comment("原始名称:der_inc_tv,描述:存货的减少") + private Double decreaseInInventories; + @Comment("原始名称:der_del_inventories,描述:经营性应收项目的减少") + private Double decreaseInOperatingReceivables; + @Comment("原始名称:inc_payable,描述:经营性应付项目的增加") + private Double increaseInOperatingPayables; + @Comment("原始名称:others,描述:其他") + private Double others; + @Comment("原始名称:im_net_cashflow_oper_act,描述:经营活动产生的现金流量净额(间接法)") + private Double netCashFlowFromOperatingActivitiesIndirectMethod; + @Comment("原始名称:conv_debt_into_cap,描述:债务转为资本") + private Double conversionOfDebtToCapital; + @Comment("原始名称:conv_coponds_due_within1y,描述:一年内到期的可转换公司债券") + private Double convertibleBondsDueWithinOneYear; + @Comment("原始名称:fa_in_lease,描述:融资租入固定资产") + private Double fixedAssetsAcquiredUnderFinanceLeases; + @Comment("原始名称:im_n_inc_cash_equ,描述:现金及现金等价物净增加额(间接法)") + private Double netIncreaseInCashAndCashEquivalentsIndirectMethod; + @Comment("原始名称:net_dism_cash_equ,描述:加:期初现金及现金等价物余额") + private Double addBeginningBalanceOfCashAndCashEquivalents; + @Comment("原始名称:credit_impa_loss,描述:信用减值损失") + private Double creditImpairmentLoss; + @Comment("原始名称:use_light_asset_dep,描述:使用固定资产的折旧") + private Double depreciationOfUsedFixedAssets; + @Comment("原始名称:oth_end_asset,描述:其他资产减值准备") + private Double otherAssetImpairmentProvisions; + @Comment("原始名称:beg_bal_cash,描述:减:期初现金及现金等价物余额") + private Double lessBeginningBalanceOfCashAndCashEquivalents; + @Comment("原始名称:end_bal_cash_equ,描述:加:期末现金及现金等价物余额") + private Double addEndingBalanceOfCashAndCashEquivalents; +} +``` + +```java +/** + * 资产负债表实体类 + */ +public class BalanceSheet { + @Comment("原始名称:total_share,描述:期末总股本") + private Double endingTotalShares; + @Comment("原始名称:cap_rese,描述:资本公积金") + private Double capitalSurplus; + @Comment("原始名称:undist_profit,描述:未分配利润") + private Double undistributedProfit; + @Comment("原始名称:surplus_rese,描述:盈余公积金") + private Double surplusReserve; + @Comment("原始名称:special_rese,描述:专项储备") + private Double specialReserve; + @Comment("原始名称:money_cap,描述:货币资金") + private Double monetaryFunds; + @Comment("原始名称:trad_asset,描述:交易性金融资产") + private Double tradingFinancialAssets; + @Comment("原始名称:notes_receiv,描述:应收票据") + private Double notesReceivable; + @Comment("原始名称:accounts_receiv,描述:应收账款") + private Double accountsReceivable; + @Comment("原始名称:oth_receiv,描述:其他应收款") + private Double otherReceivables; + @Comment("原始名称:prepayment,描述:预付款项") + private Double prepayments; + @Comment("原始名称:div_receiv,描述:应收股利") + private Double dividendsReceivable; + @Comment("原始名称:int_receiv,描述:应收利息") + private Double interestReceivable; + @Comment("原始名称:inventories,描述:存货") + private Double inventories; + @Comment("原始名称:amor_exp,描述:待摊费用") + private Double deferredExpenses; + @Comment("原始名称:nca_within_1y,描述:一年内到期的非流动资产") + private Double nonCurrentAssetsDueWithinOneYear; + @Comment("原始名称:sett_rsrv,描述:结算备付金") + private Double settlementReserves; + @Comment("原始名称:loan_to_oth_bank_fi,描述:拆出资金") + private Double fundsLentToOtherBanksAndFinancialInstitutions; + @Comment("原始名称:premium_receiv,描述:应收保费") + private Double premiumsReceivable; + @Comment("原始名称:reinsur_receiv,描述:应收分保账款") + private Double reinsuranceReceivables; + @Comment("原始名称:reinsur_res_receiv,描述:应收分保合同准备金") + private Double reinsuranceContractReservesReceivable; + @Comment("原始名称:pur_resale_fa,描述:买入返售金融资产") + private Double financialAssetsPurchasedUnderResaleAgreements; + @Comment("原始名称:oth_cur_assets,描述:其他流动资产") + private Double otherCurrentAssets; + @Comment("原始名称:total_cur_assets,描述:流动资产合计") + private Double totalCurrentAssets; + @Comment("原始名称:fa_avail_for_sale,描述:可供出售金融资产") + private Double availableForSaleFinancialAssets; + @Comment("原始名称:htm_invest,描述:持有至到期投资") + private Double heldToMaturityInvestments; + @Comment("原始名称:lt_eqt_invest,描述:长期股权投资") + private Double longTermEquityInvestments; + @Comment("原始名称:invest_real_estate,描述:投资性房地产") + private Double investmentProperty; + @Comment("原始名称:time_deposits,描述:定期存款") + private Double timeDeposits; + @Comment("原始名称:oth_assets,描述:其他资产") + private Double otherAssets; + @Comment("原始名称:lt_rec,描述:长期应收款") + private Double longTermReceivables; + @Comment("原始名称:fix_assets,描述:固定资产") + private Double fixedAssets; + @Comment("原始名称:cip,描述:在建工程") + private Double constructionInProgress; + @Comment("原始名称:const_materials,描述:工程物资") + private Double constructionMaterials; + @Comment("原始名称:fixed_assets_disp,描述:固定资产清理") + private Double fixedAssetsToBeDisposed; + @Comment("原始名称:produc_bio_assets,描述:生产性生物资产") + private Double productiveBiologicalAssets; + @Comment("原始名称:oil_and_gas_assets,描述:油气资产") + private Double oilAndGasAssets; + @Comment("原始名称:intan_assets,描述:无形资产") + private Double intangibleAssets; + @Comment("原始名称:r_and_d,描述:研发支出") + private Double researchAndDevelopmentExpenditures; + @Comment("原始名称:goodwill,描述:商誉") + private Double goodwill; + @Comment("原始名称:lt_amor_exp,描述:长期待摊费用") + private Double longTermDeferredExpenses; + @Comment("原始名称:defer_tax_assets,描述:递延所得税资产") + private Double deferredTaxAssets; + @Comment("原始名称:decr_in_disbur,描述:发放贷款及垫款") + private Double loansAndAdvancesGranted; + @Comment("原始名称:oth_nca,描述:其他非流动资产") + private Double otherNonCurrentAssets; + @Comment("原始名称:total_nca,描述:非流动资产合计") + private Double totalNonCurrentAssets; + @Comment("原始名称:cash_reser_cb,描述:现金及存放中央银行款项") + private Double cashAndDepositsWithCentralBank; + @Comment("原始名称:depos_in_oth_bfi,描述:存放同业和其它金融机构款项") + private Double depositsWithOtherBanksAndFinancialInstitutions; + @Comment("原始名称:prec_metals,描述:贵金属") + private Double preciousMetals; + @Comment("原始名称:deriv_assets,描述:衍生金融资产") + private Double derivativeFinancialAssets; + @Comment("原始名称:rr_reins_une_prem,描述:应收分保未到期责任准备金") + private Double reinsuranceUnearnedPremiumReservesReceivable; + @Comment("原始名称:rr_reins_outstd_cla,描述:应收分保未决赔款准备金") + private Double reinsuranceOutstandingClaimsReservesReceivable; + @Comment("原始名称:rr_reins_lins_liab,描述:应收分保寿险责任准备金") + private Double reinsuranceLifeInsuranceLiabilityReservesReceivable; + @Comment("原始名称:rr_reins_lthins_liab,描述:应收分保长期健康险责任准备金") + private Double reinsuranceLongTermHealthInsuranceLiabilityReservesReceivable; + @Comment("原始名称:refund_depos,描述:存出保证金") + private Double depositsReceivedInAdvance; + @Comment("原始名称:ph_pledge_loans,描述:保户质押贷款") + private Double policyholderPledgedLoans; + @Comment("原始名称:refund_cap_depos,描述:存出资本保证金") + private Double capitalMarginDeposited; + @Comment("原始名称:indep_acct_assets,描述:独立账户资产") + private Double independentAccountAssets; + @Comment("原始名称:client_depos,描述:其中:客户资金存款") + private Double clientFundDeposits; + @Comment("原始名称:client_prov,描述:其中:客户备付金") + private Double clientReserves; + @Comment("原始名称:transac_seat_fee,描述:其中:交易席位费") + private Double tradingSeatFees; + @Comment("原始名称:invest_as_receiv,描述:应收款项类投资") + private Double receivableTypeInvestments; + @Comment("原始名称:total_assets,描述:资产总计") + private Double totalAssets; + @Comment("原始名称:lt_borr,描述:长期借款") + private Double longTermBorrowings; + @Comment("原始名称:st_borr,描述:短期借款") + private Double shortTermBorrowings; + @Comment("原始名称:cb_borr,描述:向中央银行借款") + private Double borrowingsFromCentralBank; + @Comment("原始名称:depos_ib_deposits,描述:吸收存款及同业存放") + private Double depositsAbsorbedAndInterbankPlacements; + @Comment("原始名称:loan_oth_bank,描述:拆入资金") + private Double fundsBorrowedFromOtherBanks; + @Comment("原始名称:trading_fl,描述:交易性金融负债") + private Double tradingFinancialLiabilities; + @Comment("原始名称:notes_payable,描述:应付票据") + private Double notesPayable; + @Comment("原始名称:acct_payable,描述:应付账款") + private Double accountsPayable; + @Comment("原始名称:adv_receipts,描述:预收款项") + private Double advancesReceived; + @Comment("原始名称:sold_for_repur_fa,描述:卖出回购金融资产款") + private Double proceedsFromFinancialAssetsSoldUnderRepurchaseAgreements; + @Comment("原始名称:comm_payable,描述:应付手续费及佣金") + private Double handlingFeesAndCommissionsPayable; + @Comment("原始名称:payroll_payable,描述:应付职工薪酬") + private Double employeeBenefitsPayable; + @Comment("原始名称:taxes_payable,描述:应交税费") + private Double taxesPayable; + @Comment("原始名称:int_payable,描述:应付利息") + private Double interestPayable; + @Comment("原始名称:div_payable,描述:应付股利") + private Double dividendsPayable; + @Comment("原始名称:oth_payable,描述:其他应付款") + private Double otherPayables; + @Comment("原始名称:acc_exp,描述:预提费用") + private Double accruedExpenses; + @Comment("原始名称:deferred_inc,描述:递延收益") + private Double deferredRevenue; + @Comment("原始名称:st_bonds_payable,描述:应付短期债券") + private Double shortTermBondsPayable; + @Comment("原始名称:payable_to_reinsurer,描述:应付分保账款") + private Double reinsurancePayables; + @Comment("原始名称:rsv_insur_cont,描述:保险合同准备金") + private Double insuranceContractReserves; + @Comment("原始名称:acting_trading_sec,描述:代理买卖证券款") + private Double fundsForSecuritiesAgencyTrading; + @Comment("原始名称:acting_uw_sec,描述:代理承销证券款") + private Double fundsForSecuritiesAgencyUnderwriting; + @Comment("原始名称:non_cur_lab_due_1y,描述:一年内到期的非流动负债") + private Double nonCurrentLiabilitiesDueWithinOneYear; + @Comment("原始名称:oth_cur_lab,描述:其他流动负债") + private Double otherCurrentLiabilities; + @Comment("原始名称:total_cur_lab,描述:流动负债合计") + private Double totalCurrentLiabilities; + @Comment("原始名称:bond_payable,描述:应付债券") + private Double bondsPayable; + @Comment("原始名称:lt_payable,描述:长期应付款") + private Double longTermPayables; + @Comment("原始名称:specific_payables,描述:专项应付款") + private Double specificPayables; + @Comment("原始名称:estimated_lab,描述:预计负债") + private Double estimatedLiabilities; + @Comment("原始名称:defer_tax_lab,描述:递延所得税负债") + private Double deferredTaxLiabilities; + @Comment("原始名称:defer_inc_non_cur_lab,描述:递延收益-非流动负债") + private Double deferredRevenueNonCurrentLiabilities; + @Comment("原始名称:oth_ncl,描述:其他非流动负债") + private Double otherNonCurrentLiabilities; + @Comment("原始名称:total_ncl,描述:非流动负债合计") + private Double totalNonCurrentLiabilities; + @Comment("原始名称:depos_oth_bfi,描述:同业和其它金融机构存放款项") + private Double depositsFromOtherBanksAndFinancialInstitutions; + @Comment("原始名称:deriv_lab,描述:衍生金融负债") + private Double derivativeFinancialLiabilities; + @Comment("原始名称:depos,描述:吸收存款") + private Double depositsAbsorbed; + @Comment("原始名称:agency_bus_lab,描述:代理业务负债") + private Double agencyBusinessLiabilities; + @Comment("原始名称:oth_lab,描述:其他负债") + private Double otherLiabilities; + @Comment("原始名称:prem_receiv_ava,描述:预收保费") + private Double premiumsReceivedInAdvance; + @Comment("原始名称:depos_received,描述:存入保证金") + private Double depositsReceived; + @Comment("原始名称:pr_invest,描述:保户储金及投资款") + private Double policyholderDepositsAndInvestmentFunds; + @Comment("原始名称:reser_une_prem,描述:未到期责任准备金") + private Double unearnedPremiumReserves; + @Comment("原始名称:reser_outstd_claims,描述:未决赔款准备金") + private Double outstandingClaimsReserves; + @Comment("原始名称:reser_lins_lab,描述:寿险责任准备金") + private Double lifeInsuranceLiabilityReserves; + @Comment("原始名称:reser_lthins_lab,描述:长期健康险责任准备金") + private Double longTermHealthInsuranceLiabilityReserves; + @Comment("原始名称:indep_acct_lab,描述:独立账户负债") + private Double independentAccountLiabilities; + @Comment("原始名称:pledge_borr,描述:其中:质押借款") + private Double pledgedBorrowings; + @Comment("原始名称:indem_payable,描述:应付赔付款") + private Double indemnitiesPayable; + @Comment("原始名称:policy_div_payable,描述:应付保单红利") + private Double policyDividendsPayable; + @Comment("原始名称:total_lab,描述:负债合计") + private Double totalLiabilities; + @Comment("原始名称:treasury_share,描述:减:库存股") + private Double lessTreasuryShares; + @Comment("原始名称:ordin_risk_reser,描述:一般风险准备") + private Double generalRiskReserve; + @Comment("原始名称:forex_differ,描述:外币报表折算差额") + private Double foreignCurrencyStatementTranslationDifference; + @Comment("原始名称:invest_loss_unconf,描述:未确认的投资损失") + private Double unrecognizedInvestmentLosses; + @Comment("原始名称:minority_int,描述:少数股东权益") + private Double minorityInterest; + @Comment("原始名称:total_hldr_eqy_exc_min_int,描述:股东权益合计(不含少数股东权益)") + private Double totalShareholdersEquityExcludingMinorityInterest; + @Comment("原始名称:total_hldr_eqy_inc_min_int,描述:股东权益合计(含少数股东权益)") + private Double totalShareholdersEquityIncludingMinorityInterest; + @Comment("原始名称:total_lab_hldr_eqy,描述:负债及股东权益总计") + private Double totalLiabilitiesAndShareholdersEquity; + @Comment("原始名称:lt_payroll_payable,描述:长期应付职工薪酬") + private Double longTermEmployeeBenefitsPayable; + @Comment("原始名称:oth_compr_income,描述:其他综合收益") + private Double otherComprehensiveIncome; + @Comment("原始名称:oth_eq_tools,描述:其他权益工具") + private Double otherEquityInstruments; + @Comment("原始名称:oth_eq_tools_p_shr,描述:其他权益工具(优先股)") + private Double otherEquityInstrumentsPreferredShares; + @Comment("原始名称:lending_funs,描述:融出资金") + private Double fundsLent; + @Comment("原始名称:acc_receivable,描述:应收款项") + private Double receivables; + @Comment("原始名称:st_fin_payable,描述:应付短期融资款") + private Double shortTermFinancingPayable; + @Comment("原始名称:payables,描述:应付款项") + private Double payables; + @Comment("原始名称:hfs_assets,描述:持有待售的资产") + private Double assetsHeldForSale; + @Comment("原始名称:hfs_sales,描述:持有待售的负债") + private Double liabilitiesHeldForSale; + @Comment("原始名称:cost_fin_assets,描述:以摊余成本计量的金融资产") + private Double financialAssetsMeasuredAtAmortizedCost; + @Comment("原始名称:fair_value_fin_assets,描述:以公允价值计量且其变动计入其他综合收益的金融资产") + private Double financialAssetsMeasuredAtFairValueWithChangesInOtherComprehensiveIncome; + @Comment("原始名称:cip_total,描述:在建工程(合计)(元)") + private Double constructionInProgressTotal; + @Comment("原始名称:oth_pay_total,描述:其他应付款(合计)(元)") + private Double otherPayablesTotal; + @Comment("原始名称:long_pay_total,描述:长期应付款(合计)(元)") + private Double longTermPayablesTotal; + @Comment("原始名称:debt_invest,描述:债权投资(元)") + private Double debtInvestments; + @Comment("原始名称:oth_debt_invest,描述:其他债权投资(元)") + private Double otherDebtInvestments; + @Comment("原始名称:oth_eq_invest,描述:其他权益工具投资(元)") + private Double otherEquityInstrumentInvestments; + @Comment("原始名称:oth_illi_fin_assets,描述:其他非流动金融资产(元)") + private Double otherNonCurrentFinancialAssets; + @Comment("原始名称:oth_eq_pbond,描述:其他权益工具-永续债(元)") + private Double otherEquityInstrumentsPerpetualBonds; + @Comment("原始名称:receiv_financing,描述:应收款项类投资") + private Double receivableTypeInvestments; + @Comment("原始名称:use_right_assets,描述:使用权资产") + private Double rightOfUseAssets; + @Comment("原始名称:lease_lab,描述:租赁负债") + private Double leaseLiabilities; + @Comment("原始名称:contract_assets,描述:合同资产") + private Double contractAssets; + @Comment("原始名称:contract_lab,描述:合同负债") + private Double contractLiabilities; + @Comment("原始名称:accounts_receiv_bill,描述:应收票据及应收账款") + private Double notesAndAccountsReceivable; + @Comment("原始名称:accounts_pay_bill,描述:应付票据及应付账款") + private Double notesAndAccountsPayable; + @Comment("原始名称:oth_rcv_total,描述:其他应收款(合计)(元)") + private Double otherReceivablesTotal; + @Comment("原始名称:fix_assets_total,描述:固定资产(合计)(元)") + private Double fixedAssetsTotal; +} +``` \ No newline at end of file