You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
RuoYi-Vue/newstock-system/src/main/java/com/ruoyi/newstocksystem/domain/TStockDailyTrade.java

360 lines
8.2 KiB

This file contains ambiguous Unicode characters!

This file contains ambiguous Unicode characters that may be confused with others in your current locale. If your use case is intentional and legitimate, you can safely ignore this warning. Use the Escape button to highlight these characters.

package com.ruoyi.newstocksystem.domain;
import com.fasterxml.jackson.annotation.JsonFormat;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;
import java.math.BigDecimal;
import java.util.Date;
/**
* 个股每日交易数据实体类
* 对应表 t_stock_daily_trade
*
* @author lxy
* @date 2026-01-21
*/
public class TStockDailyTrade extends BaseEntity
{
private static final long serialVersionUID = 1L;
/** 证券代码关联t_stock_basic */
@Excel(name = "证券代码")
private String stockCode;
/** 交易日期 */
@JsonFormat(pattern = "yyyy-MM-dd")
@Excel(name = "交易日期", dateFormat = "yyyy-MM-dd")
private Date tradeDate;
/** 开盘价(单位:元) */
@Excel(name = "开盘价")
private BigDecimal openPrice;
/** 收盘价(单位:元) */
@Excel(name = "收盘价")
private BigDecimal closePrice;
/** 最高价(单位:元) */
@Excel(name = "最高价")
private BigDecimal highPrice;
/** 最低价(单位:元) */
@Excel(name = "最低价")
private BigDecimal lowPrice;
/** 当日涨跌幅(百分比) */
@Excel(name = "涨跌幅")
private BigDecimal priceChangeRate;
/** 成交量(单位:股) */
@Excel(name = "成交量")
private Long volume;
/** 成交额(单位:万元) */
@Excel(name = "成交额")
private BigDecimal turnover;
/** 自由流通市值(单位:万元) */
@Excel(name = "自由流通市值")
private BigDecimal freeCirculationCap;
/** 是否涨停1=是0=否) */
@Excel(name = "是否涨停", readConverterExp = "1=是,0=否")
private Integer isLimitUp;
/** 是否跌停1=是0=否) */
@Excel(name = "是否跌停", readConverterExp = "1=是,0=否")
private Integer isLimitDown;
/** 10日动量涨跌幅 */
@Excel(name = "10日区间涨跌幅")
private BigDecimal momentum10d;
/** 20日动量涨跌幅 */
@Excel(name = "20日区间涨跌幅")
private BigDecimal momentum20d;
/** 60日动量涨跌幅 */
@Excel(name = "60日区间涨跌幅")
private BigDecimal momentum60d;
/** 证券名称(查询时关联获取) */
@Excel(name = "证券名称")
private String stockName;
/** 行业指数代码(查询时关联获取) */
@Excel(name = "所属东财行业指数代码\n[行业类别]2级")
private String industryIndexCode;
/** 行业指数名称(查询时关联获取) */
@Excel(name = "所属东财行业指数2级")
private String industryIndexName;
/** 首发上市日期 */
@JsonFormat(pattern = "yyyy-MM-dd")
@Excel(name = "首发上市日期", dateFormat = "yyyy-MM-dd")
private Date listingDate;
/** 上市天数(冗余存储,提升查询效率) */
@Excel(name = "可交易日数")
private Integer listingDays;
/** 是否为ST股票1=是0=否) */
@Excel(name = "是否ST", readConverterExp = "1=是,0=否")
private Integer isSt;
/** 是否为*ST股票1=是0=否) */
@Excel(name = "是否*ST", readConverterExp = "1=是,0=否")
private Integer isStarSt;
public String getStockCode()
{
return stockCode;
}
public void setStockCode(String stockCode)
{
this.stockCode = stockCode;
}
public Date getTradeDate()
{
return tradeDate;
}
public void setTradeDate(Date tradeDate)
{
this.tradeDate = tradeDate;
}
public BigDecimal getOpenPrice()
{
return openPrice;
}
public void setOpenPrice(BigDecimal openPrice)
{
this.openPrice = openPrice;
}
public BigDecimal getClosePrice()
{
return closePrice;
}
public void setClosePrice(BigDecimal closePrice)
{
this.closePrice = closePrice;
}
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 getPriceChangeRate()
{
return priceChangeRate;
}
public void setPriceChangeRate(BigDecimal priceChangeRate)
{
this.priceChangeRate = priceChangeRate;
}
public Long getVolume()
{
return volume;
}
public void setVolume(Long volume)
{
this.volume = volume;
}
public BigDecimal getTurnover()
{
return turnover;
}
public void setTurnover(BigDecimal turnover)
{
this.turnover = turnover;
}
public BigDecimal getFreeCirculationCap()
{
return freeCirculationCap;
}
public void setFreeCirculationCap(BigDecimal freeCirculationCap)
{
this.freeCirculationCap = freeCirculationCap;
}
public Integer getIsLimitUp()
{
return isLimitUp;
}
public void setIsLimitUp(Integer isLimitUp)
{
this.isLimitUp = isLimitUp;
}
public Integer getIsLimitDown()
{
return isLimitDown;
}
public void setIsLimitDown(Integer isLimitDown)
{
this.isLimitDown = isLimitDown;
}
public BigDecimal getMomentum10d()
{
return momentum10d;
}
public void setMomentum10d(BigDecimal momentum10d)
{
this.momentum10d = momentum10d;
}
public BigDecimal getMomentum20d()
{
return momentum20d;
}
public void setMomentum20d(BigDecimal momentum20d)
{
this.momentum20d = momentum20d;
}
public BigDecimal getMomentum60d()
{
return momentum60d;
}
public void setMomentum60d(BigDecimal momentum60d)
{
this.momentum60d = momentum60d;
}
public String getStockName()
{
return stockName;
}
public void setStockName(String stockName)
{
this.stockName = stockName;
}
public String getIndustryIndexCode()
{
return industryIndexCode;
}
public void setIndustryIndexCode(String industryIndexCode)
{
this.industryIndexCode = industryIndexCode;
}
public String getIndustryIndexName()
{
return industryIndexName;
}
public void setIndustryIndexName(String industryIndexName)
{
this.industryIndexName = industryIndexName;
}
public Date getListingDate()
{
return listingDate;
}
public void setListingDate(Date listingDate)
{
this.listingDate = listingDate;
}
public Integer getListingDays()
{
return listingDays;
}
public void setListingDays(Integer listingDays)
{
this.listingDays = listingDays;
}
public Integer getIsSt()
{
return isSt;
}
public void setIsSt(Integer isSt)
{
this.isSt = isSt;
}
public Integer getIsStarSt()
{
return isStarSt;
}
public void setIsStarSt(Integer isStarSt)
{
this.isStarSt = isStarSt;
}
@Override
public String toString()
{
return "TStockDailyTrade{" +
"stockCode='" + stockCode + '\'' +
", tradeDate=" + tradeDate +
", openPrice=" + openPrice +
", closePrice=" + closePrice +
", highPrice=" + highPrice +
", lowPrice=" + lowPrice +
", priceChangeRate=" + priceChangeRate +
", volume=" + volume +
", turnover=" + turnover +
", freeCirculationCap=" + freeCirculationCap +
", isLimitUp=" + isLimitUp +
", isLimitDown=" + isLimitDown +
", momentum10d=" + momentum10d +
", momentum20d=" + momentum20d +
", momentum60d=" + momentum60d +
", stockName='" + stockName + '\'' +
", industryIndexCode='" + industryIndexCode + '\'' +
", industryIndexName='" + industryIndexName + '\'' +
", listingDate=" + listingDate +
", listingDays=" + listingDays +
", isSt=" + isSt +
", isStarSt=" + isStarSt +
'}';
}
}