|
|
@@ -0,0 +1,241 @@
|
|
|
+package com.yingpai.gupiao.domain.po;
|
|
|
+
|
|
|
+import com.baomidou.mybatisplus.annotation.IdType;
|
|
|
+import com.baomidou.mybatisplus.annotation.TableId;
|
|
|
+import com.baomidou.mybatisplus.annotation.TableName;
|
|
|
+
|
|
|
+import java.math.BigDecimal;
|
|
|
+import java.time.LocalDate;
|
|
|
+import java.time.OffsetDateTime;
|
|
|
+
|
|
|
+/**
|
|
|
+ * 对应 MySQL 表 stock_info
|
|
|
+ */
|
|
|
+@TableName("stock_info")
|
|
|
+public class StockInfo {
|
|
|
+
|
|
|
+ @TableId(type = IdType.AUTO)
|
|
|
+ private Long id;
|
|
|
+
|
|
|
+ private String stockCode;
|
|
|
+
|
|
|
+ private String stockName;
|
|
|
+
|
|
|
+ private String market;
|
|
|
+
|
|
|
+ private Integer strengthScore;
|
|
|
+
|
|
|
+ private String shortName;
|
|
|
+
|
|
|
+ private String pinyin;
|
|
|
+
|
|
|
+ private String abbr;
|
|
|
+
|
|
|
+ private LocalDate tradeDate;
|
|
|
+
|
|
|
+ // 下面这些字段目前不在搜索接口返回中使用,但保留映射方便后续扩展
|
|
|
+
|
|
|
+ private BigDecimal changePct;
|
|
|
+
|
|
|
+ private BigDecimal closePrice;
|
|
|
+
|
|
|
+ private BigDecimal totalAmount;
|
|
|
+
|
|
|
+ private BigDecimal circulationValue;
|
|
|
+
|
|
|
+ private Integer mainCycle;
|
|
|
+
|
|
|
+ private BigDecimal recentTurnover;
|
|
|
+
|
|
|
+ private Integer recentLimitUp;
|
|
|
+
|
|
|
+ private BigDecimal highPrice;
|
|
|
+
|
|
|
+ private BigDecimal lowPrice;
|
|
|
+
|
|
|
+ private BigDecimal avgPrice;
|
|
|
+
|
|
|
+ private BigDecimal lastClosePrice;
|
|
|
+
|
|
|
+ private OffsetDateTime createdAt;
|
|
|
+
|
|
|
+ private OffsetDateTime updatedAt;
|
|
|
+
|
|
|
+ public Long getId() {
|
|
|
+ return id;
|
|
|
+ }
|
|
|
+
|
|
|
+ public void setId(Long id) {
|
|
|
+ this.id = id;
|
|
|
+ }
|
|
|
+
|
|
|
+ public String getStockCode() {
|
|
|
+ return stockCode;
|
|
|
+ }
|
|
|
+
|
|
|
+ public void setStockCode(String stockCode) {
|
|
|
+ this.stockCode = stockCode;
|
|
|
+ }
|
|
|
+
|
|
|
+ public String getStockName() {
|
|
|
+ return stockName;
|
|
|
+ }
|
|
|
+
|
|
|
+ public void setStockName(String stockName) {
|
|
|
+ this.stockName = stockName;
|
|
|
+ }
|
|
|
+
|
|
|
+ public String getMarket() {
|
|
|
+ return market;
|
|
|
+ }
|
|
|
+
|
|
|
+ public void setMarket(String market) {
|
|
|
+ this.market = market;
|
|
|
+ }
|
|
|
+
|
|
|
+ public Integer getStrengthScore() {
|
|
|
+ return strengthScore;
|
|
|
+ }
|
|
|
+
|
|
|
+ public void setStrengthScore(Integer strengthScore) {
|
|
|
+ this.strengthScore = strengthScore;
|
|
|
+ }
|
|
|
+
|
|
|
+ public String getShortName() {
|
|
|
+ return shortName;
|
|
|
+ }
|
|
|
+
|
|
|
+ public void setShortName(String shortName) {
|
|
|
+ this.shortName = shortName;
|
|
|
+ }
|
|
|
+
|
|
|
+ public String getPinyin() {
|
|
|
+ return pinyin;
|
|
|
+ }
|
|
|
+
|
|
|
+ public void setPinyin(String pinyin) {
|
|
|
+ this.pinyin = pinyin;
|
|
|
+ }
|
|
|
+
|
|
|
+ public String getAbbr() {
|
|
|
+ return abbr;
|
|
|
+ }
|
|
|
+
|
|
|
+ public void setAbbr(String abbr) {
|
|
|
+ this.abbr = abbr;
|
|
|
+ }
|
|
|
+
|
|
|
+ public LocalDate getTradeDate() {
|
|
|
+ return tradeDate;
|
|
|
+ }
|
|
|
+
|
|
|
+ public void setTradeDate(LocalDate tradeDate) {
|
|
|
+ this.tradeDate = tradeDate;
|
|
|
+ }
|
|
|
+
|
|
|
+ public BigDecimal getChangePct() {
|
|
|
+ return changePct;
|
|
|
+ }
|
|
|
+
|
|
|
+ public void setChangePct(BigDecimal changePct) {
|
|
|
+ this.changePct = changePct;
|
|
|
+ }
|
|
|
+
|
|
|
+ public BigDecimal getClosePrice() {
|
|
|
+ return closePrice;
|
|
|
+ }
|
|
|
+
|
|
|
+ public void setClosePrice(BigDecimal closePrice) {
|
|
|
+ this.closePrice = closePrice;
|
|
|
+ }
|
|
|
+
|
|
|
+ public BigDecimal getTotalAmount() {
|
|
|
+ return totalAmount;
|
|
|
+ }
|
|
|
+
|
|
|
+ public void setTotalAmount(BigDecimal totalAmount) {
|
|
|
+ this.totalAmount = totalAmount;
|
|
|
+ }
|
|
|
+
|
|
|
+ public BigDecimal getCirculationValue() {
|
|
|
+ return circulationValue;
|
|
|
+ }
|
|
|
+
|
|
|
+ public void setCirculationValue(BigDecimal circulationValue) {
|
|
|
+ this.circulationValue = circulationValue;
|
|
|
+ }
|
|
|
+
|
|
|
+ public Integer getMainCycle() {
|
|
|
+ return mainCycle;
|
|
|
+ }
|
|
|
+
|
|
|
+ public void setMainCycle(Integer mainCycle) {
|
|
|
+ this.mainCycle = mainCycle;
|
|
|
+ }
|
|
|
+
|
|
|
+ public BigDecimal getRecentTurnover() {
|
|
|
+ return recentTurnover;
|
|
|
+ }
|
|
|
+
|
|
|
+ public void setRecentTurnover(BigDecimal recentTurnover) {
|
|
|
+ this.recentTurnover = recentTurnover;
|
|
|
+ }
|
|
|
+
|
|
|
+ public Integer getRecentLimitUp() {
|
|
|
+ return recentLimitUp;
|
|
|
+ }
|
|
|
+
|
|
|
+ public void setRecentLimitUp(Integer recentLimitUp) {
|
|
|
+ this.recentLimitUp = recentLimitUp;
|
|
|
+ }
|
|
|
+
|
|
|
+ public BigDecimal getHighPrice() {
|
|
|
+ return highPrice;
|
|
|
+ }
|
|
|
+
|
|
|
+ public void setHighPrice(BigDecimal highPrice) {
|
|
|
+ this.highPrice = highPrice;
|
|
|
+ }
|
|
|
+
|
|
|
+ public BigDecimal getLowPrice() {
|
|
|
+ return lowPrice;
|
|
|
+ }
|
|
|
+
|
|
|
+ public void setLowPrice(BigDecimal lowPrice) {
|
|
|
+ this.lowPrice = lowPrice;
|
|
|
+ }
|
|
|
+
|
|
|
+ public BigDecimal getAvgPrice() {
|
|
|
+ return avgPrice;
|
|
|
+ }
|
|
|
+
|
|
|
+ public void setAvgPrice(BigDecimal avgPrice) {
|
|
|
+ this.avgPrice = avgPrice;
|
|
|
+ }
|
|
|
+
|
|
|
+ public BigDecimal getLastClosePrice() {
|
|
|
+ return lastClosePrice;
|
|
|
+ }
|
|
|
+
|
|
|
+ public void setLastClosePrice(BigDecimal lastClosePrice) {
|
|
|
+ this.lastClosePrice = lastClosePrice;
|
|
|
+ }
|
|
|
+
|
|
|
+ public OffsetDateTime getCreatedAt() {
|
|
|
+ return createdAt;
|
|
|
+ }
|
|
|
+
|
|
|
+ public void setCreatedAt(OffsetDateTime createdAt) {
|
|
|
+ this.createdAt = createdAt;
|
|
|
+ }
|
|
|
+
|
|
|
+ public OffsetDateTime getUpdatedAt() {
|
|
|
+ return updatedAt;
|
|
|
+ }
|
|
|
+
|
|
|
+ public void setUpdatedAt(OffsetDateTime updatedAt) {
|
|
|
+ this.updatedAt = updatedAt;
|
|
|
+ }
|
|
|
+}
|
|
|
+
|
|
|
+
|