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.
183 lines
4.0 KiB
183 lines
4.0 KiB
|
2 years ago
|
package com.ruoyi.booksystem.domain;
|
||
|
|
|
||
|
|
import java.math.BigDecimal;
|
||
|
|
import java.util.Date;
|
||
|
|
import com.fasterxml.jackson.annotation.JsonFormat;
|
||
|
|
import org.apache.commons.lang3.builder.ToStringBuilder;
|
||
|
|
import org.apache.commons.lang3.builder.ToStringStyle;
|
||
|
|
import com.ruoyi.common.annotation.Excel;
|
||
|
|
import com.ruoyi.common.core.domain.BaseEntity;
|
||
|
|
|
||
|
|
/**
|
||
|
|
* 当日持仓统计对象 statistics_remain
|
||
|
|
*
|
||
|
|
* @author ruoyi
|
||
|
|
* @date 2023-12-18
|
||
|
|
*/
|
||
|
|
public class StatisticsRemain extends BaseEntity
|
||
|
|
{
|
||
|
|
private static final long serialVersionUID = 1L;
|
||
|
|
|
||
|
|
/** $column.columnComment */
|
||
|
|
private Long id;
|
||
|
|
|
||
|
|
/** 股票代码 */
|
||
|
|
@Excel(name = "股票代码")
|
||
|
|
private String code;
|
||
|
|
|
||
|
|
/** 股票名称 */
|
||
|
|
@Excel(name = "股票名称")
|
||
|
|
private String name;
|
||
|
|
|
||
|
|
/** 交易日期 */
|
||
|
|
@JsonFormat(pattern = "yyyy-MM-dd")
|
||
|
|
@Excel(name = "交易日期", width = 30, dateFormat = "yyyy-MM-dd")
|
||
|
|
private Date tradeDay;
|
||
|
|
|
||
|
|
/** 交易日星期 */
|
||
|
|
@JsonFormat(pattern = "yyyy-MM-dd")
|
||
|
|
@Excel(name = "交易日星期", width = 30, dateFormat = "yyyy-MM-dd")
|
||
|
|
private Date weekDay;
|
||
|
|
|
||
|
|
/** 总盈亏 */
|
||
|
|
@Excel(name = "总盈亏")
|
||
|
|
private BigDecimal totalProfit;
|
||
|
|
|
||
|
|
/** 总盈亏比例 */
|
||
|
|
@Excel(name = "总盈亏比例")
|
||
|
|
private BigDecimal totalDiff;
|
||
|
|
|
||
|
|
/** 总盈亏占整体盈亏比例 */
|
||
|
|
@Excel(name = "总盈亏占整体盈亏比例")
|
||
|
|
private BigDecimal totalDiffOverall;
|
||
|
|
|
||
|
|
/** 剩余数量 */
|
||
|
|
@Excel(name = "剩余数量")
|
||
|
|
private BigDecimal remaining;
|
||
|
|
|
||
|
|
/** 用户id */
|
||
|
|
@Excel(name = "用户id")
|
||
|
|
private Long userId;
|
||
|
|
|
||
|
|
/** 备注 */
|
||
|
|
@Excel(name = "备注")
|
||
|
|
private String bz;
|
||
|
|
|
||
|
|
public void setId(Long id)
|
||
|
|
{
|
||
|
|
this.id = id;
|
||
|
|
}
|
||
|
|
|
||
|
|
public Long getId()
|
||
|
|
{
|
||
|
|
return id;
|
||
|
|
}
|
||
|
|
public void setCode(String code)
|
||
|
|
{
|
||
|
|
this.code = code;
|
||
|
|
}
|
||
|
|
|
||
|
|
public String getCode()
|
||
|
|
{
|
||
|
|
return code;
|
||
|
|
}
|
||
|
|
public void setName(String name)
|
||
|
|
{
|
||
|
|
this.name = name;
|
||
|
|
}
|
||
|
|
|
||
|
|
public String getName()
|
||
|
|
{
|
||
|
|
return name;
|
||
|
|
}
|
||
|
|
public void setTradeDay(Date tradeDay)
|
||
|
|
{
|
||
|
|
this.tradeDay = tradeDay;
|
||
|
|
}
|
||
|
|
|
||
|
|
public Date getTradeDay()
|
||
|
|
{
|
||
|
|
return tradeDay;
|
||
|
|
}
|
||
|
|
public void setWeekDay(Date weekDay)
|
||
|
|
{
|
||
|
|
this.weekDay = weekDay;
|
||
|
|
}
|
||
|
|
|
||
|
|
public Date getWeekDay()
|
||
|
|
{
|
||
|
|
return weekDay;
|
||
|
|
}
|
||
|
|
public void setTotalProfit(BigDecimal totalProfit)
|
||
|
|
{
|
||
|
|
this.totalProfit = totalProfit;
|
||
|
|
}
|
||
|
|
|
||
|
|
public BigDecimal getTotalProfit()
|
||
|
|
{
|
||
|
|
return totalProfit;
|
||
|
|
}
|
||
|
|
public void setTotalDiff(BigDecimal totalDiff)
|
||
|
|
{
|
||
|
|
this.totalDiff = totalDiff;
|
||
|
|
}
|
||
|
|
|
||
|
|
public BigDecimal getTotalDiff()
|
||
|
|
{
|
||
|
|
return totalDiff;
|
||
|
|
}
|
||
|
|
public void setTotalDiffOverall(BigDecimal totalDiffOverall)
|
||
|
|
{
|
||
|
|
this.totalDiffOverall = totalDiffOverall;
|
||
|
|
}
|
||
|
|
|
||
|
|
public BigDecimal getTotalDiffOverall()
|
||
|
|
{
|
||
|
|
return totalDiffOverall;
|
||
|
|
}
|
||
|
|
public void setRemaining(BigDecimal remaining)
|
||
|
|
{
|
||
|
|
this.remaining = remaining;
|
||
|
|
}
|
||
|
|
|
||
|
|
public BigDecimal getRemaining()
|
||
|
|
{
|
||
|
|
return remaining;
|
||
|
|
}
|
||
|
|
public void setUserId(Long userId)
|
||
|
|
{
|
||
|
|
this.userId = userId;
|
||
|
|
}
|
||
|
|
|
||
|
|
public Long getUserId()
|
||
|
|
{
|
||
|
|
return userId;
|
||
|
|
}
|
||
|
|
public void setBz(String bz)
|
||
|
|
{
|
||
|
|
this.bz = bz;
|
||
|
|
}
|
||
|
|
|
||
|
|
public String getBz()
|
||
|
|
{
|
||
|
|
return bz;
|
||
|
|
}
|
||
|
|
|
||
|
|
@Override
|
||
|
|
public String toString() {
|
||
|
|
return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
|
||
|
|
.append("id", getId())
|
||
|
|
.append("code", getCode())
|
||
|
|
.append("name", getName())
|
||
|
|
.append("tradeDay", getTradeDay())
|
||
|
|
.append("weekDay", getWeekDay())
|
||
|
|
.append("totalProfit", getTotalProfit())
|
||
|
|
.append("totalDiff", getTotalDiff())
|
||
|
|
.append("totalDiffOverall", getTotalDiffOverall())
|
||
|
|
.append("remaining", getRemaining())
|
||
|
|
.append("userId", getUserId())
|
||
|
|
.append("bz", getBz())
|
||
|
|
.toString();
|
||
|
|
}
|
||
|
|
}
|