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

148 lines
3.4 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_stock_basic
*
* @author lxy
* @date 2026-01-21
*/
public class TStockBasic extends BaseEntity
{
private static final long serialVersionUID = 1L;
/** 证券代码如000061.SZ、600000.SH */
@Excel(name = "证券代码")
private String stockCode;
/** 证券名称(如"农 产 品" */
@Excel(name = "证券名称")
private String stockName;
/** 首发上市日期 */
@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;
/** 所属行业指数代码关联t_industry_index */
@Excel(name = "行业指数代码")
private String industryIndexCode;
/** 所属行业指数名称(冗余存储,减少关联查询) */
@Excel(name = "行业指数名称")
private String industryIndexName;
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 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;
}
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;
}
@Override
public String toString()
{
return "TStockBasic{" +
"stockCode='" + stockCode + '\'' +
", stockName='" + stockName + '\'' +
", listingDate=" + listingDate +
", listingDays=" + listingDays +
", isSt=" + isSt +
", isStarSt=" + isStarSt +
", industryIndexCode='" + industryIndexCode + '\'' +
", industryIndexName='" + industryIndexName + '\'' +
'}';
}
}