zj
2024-06-03 3cab39d85e5e43b8cc95ab82c9a914386b71c999
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
package org.example.pojo;
 
 
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;
 
import java.math.BigDecimal;
import java.util.Date;
 
@Data
@TableName("stock")
public class Stock {
    @TableId(type = IdType.AUTO,value = "id")
    private Integer id;
    private String stockName;
    private String stockCode;
    private String stockSpell;
    private String stockType;
    private String stockGid;
    private String stockPlate;
    private Integer isLock;
    private Integer isShow;
    private Date addTime;
    /*点差费率*/
    private BigDecimal spreadRate;
    // 涨幅比例
    private BigDecimal increaseRatio;
    //数据源
    private Integer dataBase;
 
    private Float controlVal;
 
    private Integer enablePre;
 
    public Stock() {
 
    }
 
    public Stock(Integer id, String stockName, String stockCode, String stockSpell, String stockType, String stockGid, String stockPlate, Integer isLock, Integer isShow, Date addTime, BigDecimal spreadRate, BigDecimal increaseRatio, Integer dataBase, Float controlVal, Integer enablePre) {
        this.id = id;
        this.stockName = stockName;
        this.stockCode = stockCode;
        this.stockSpell = stockSpell;
        this.stockType = stockType;
        this.stockGid = stockGid;
        this.stockPlate = stockPlate;
        this.isLock = isLock;
        this.isShow = isShow;
        this.addTime = addTime;
        this.spreadRate = spreadRate;
        this.increaseRatio = increaseRatio;
        this.dataBase = dataBase;
        this.controlVal = controlVal;
        this.enablePre = enablePre;
    }
}