zj
2024-06-03 4afe73cb84c5a609662b8b4ee20693de9b86b9a3
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
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
package com.nq.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 Integer dataBase;
    @Override
    public String toString() {
        return "Stock{" +
                "id=" + id +
                ", stockName='" + stockName + '\'' +
                ", stockCode='" + stockCode + '\'' +
                ", stockSpell='" + stockSpell + '\'' +
                ", stockType='" + stockType + '\'' +
                ", stockGid='" + stockGid + '\'' +
                ", stockPlate='" + stockPlate + '\'' +
                ", isLock=" + isLock +
                ", isShow=" + isShow +
                ", addTime=" + addTime +
                ", spreadRate=" + spreadRate +
                '}';
    }
 
    public Stock(Integer id, String stockName, String stockCode, String stockSpell, String stockType, String stockGid, String stockPlate, Integer isLock, Integer isShow, Date addTime,BigDecimal spreadRate,Integer dataBase) {
        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.dataBase = dataBase;
    }
 
 
    public Stock() {
    }
 
    public Integer getId() {
        return id;
    }
 
    public void setId(Integer id) {
        this.id = id;
    }
 
    public String getStockName() {
        return stockName;
    }
 
    public void setStockName(String stockName) {
        this.stockName = stockName;
    }
 
    public String getStockCode() {
        return stockCode;
    }
 
    public void setStockCode(String stockCode) {
        this.stockCode = stockCode;
    }
 
    public String getStockSpell() {
        return stockSpell;
    }
 
    public void setStockSpell(String stockSpell) {
        this.stockSpell = stockSpell;
    }
 
    public String getStockType() {
        return stockType;
    }
 
    public void setStockType(String stockType) {
        this.stockType = stockType;
    }
 
    public String getStockGid() {
        return stockGid;
    }
 
    public void setStockGid(String stockGid) {
        this.stockGid = stockGid;
    }
 
    public String getStockPlate() {
        return stockPlate;
    }
 
    public void setStockPlate(String stockPlate) {
        this.stockPlate = stockPlate;
    }
 
    public Integer getIsLock() {
        return isLock;
    }
 
    public void setIsLock(Integer isLock) {
        this.isLock = isLock;
    }
 
    public Integer getIsShow() {
        return isShow;
    }
 
    public void setIsShow(Integer isShow) {
        this.isShow = isShow;
    }
 
    public Date getAddTime() {
        return addTime;
    }
 
    public void setAddTime(Date addTime) {
        this.addTime = addTime;
    }
 
    public BigDecimal getSpreadRate() {
        return spreadRate;
    }
 
    public void setSpreadRate(BigDecimal spreadRate) {
        this.spreadRate = spreadRate;
    }
}