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/TStocksInTrend.java

129 lines
2.7 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.util.Date;
/**
* 趋势中的股票对象 t_stocks_in_trend
* 注意由于该表是分区表不支持外键约束但业务逻辑中仍需确保stock_code在t_stock_basic表中存在
*
* @author lxy
* @date 2026-01-21
*/
public class TStocksInTrend extends BaseEntity
{
private static final long serialVersionUID = 1L;
/** 主键ID */
private Long id;
/** 股票代码 */
@Excel(name = "股票代码")
private String stockCode;
/** 交易日期 */
@JsonFormat(pattern = "yyyy-MM-dd")
@Excel(name = "交易日期", dateFormat = "yyyy-MM-dd")
private Date tradeDate;
/** 排名 */
@Excel(name = "排名")
private Integer rank;
/** 动量数据类型10日、20日 */
@Excel(name = "动量数据类型")
private String momentumType;
/** 创建时间 */
@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
private Date createTime;
/** 更新时间 */
@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
private Date updateTime;
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 Date getTradeDate()
{
return tradeDate;
}
public void setTradeDate(Date tradeDate)
{
this.tradeDate = tradeDate;
}
public Integer getRank()
{
return rank;
}
public void setRank(Integer rank)
{
this.rank = rank;
}
public String getMomentumType()
{
return momentumType;
}
public void setMomentumType(String momentumType)
{
this.momentumType = momentumType;
}
public Date getCreateTime()
{
return createTime;
}
public void setCreateTime(Date createTime)
{
this.createTime = createTime;
}
public Date getUpdateTime()
{
return updateTime;
}
public void setUpdateTime(Date updateTime)
{
this.updateTime = updateTime;
}
@Override
public String toString() {
return "TStocksInTrend{" +
"id=" + id +
", stockCode='" + stockCode + '\'' +
", tradeDate=" + tradeDate +
", rank=" + rank +
", momentumType='" + momentumType + '\'' +
", createTime=" + createTime +
", updateTime=" + updateTime +
'}';
}
}