package com.nq.pojo;
|
|
|
import com.baomidou.mybatisplus.annotation.*;
|
import lombok.Data;
|
|
import javax.persistence.Entity;
|
import javax.persistence.GeneratedValue;
|
import javax.persistence.GenerationType;
|
import javax.persistence.Id;
|
import java.math.BigDecimal;
|
import java.util.Date;
|
|
/**
|
* AI产品表
|
*/
|
@Data
|
@TableName("stock_ai")
|
@Entity
|
public class StockAI {
|
|
@Id
|
//@GeneratedValue(strategy = GenerationType.IDENTITY)
|
@TableId(type = IdType.AUTO,value = "id")
|
private Integer id;
|
|
//股票类型
|
private String stockType;
|
|
//股票名称
|
private String stockName;
|
|
/**
|
* 最低买入金额
|
*/
|
private BigDecimal minPrice;
|
|
/**
|
* 交易成功率
|
*/
|
private BigDecimal successRate;
|
|
/**
|
* 预期收益率
|
*/
|
private BigDecimal expectedEarning;
|
|
/**
|
* 周期 天
|
*/
|
private Integer cycle;
|
|
/**
|
* 状态 上线 下架
|
*/
|
private String status;
|
|
//创建时间
|
private Date createDate;
|
}
|