2 changed files with 278 additions and 1 deletions
@ -0,0 +1,277 @@ |
|||||
|
package bc.mm.mis.core.bean; |
||||
|
|
||||
|
import javax.persistence.*; |
||||
|
import java.util.Date; |
||||
|
|
||||
|
@Entity |
||||
|
@Table(name = "data_ddp") |
||||
|
public class DataCdp { |
||||
|
@Id |
||||
|
@GeneratedValue(strategy = GenerationType.IDENTITY) |
||||
|
private Integer id; |
||||
|
private Integer pid; |
||||
|
private String Symbol; |
||||
|
private Long Date; |
||||
|
private java.util.Date datetime; |
||||
|
private String Name; |
||||
|
private Double Open; |
||||
|
private Double High; |
||||
|
private Double Low; |
||||
|
private Double Close; |
||||
|
private Double LastClose; |
||||
|
private Double Price2; |
||||
|
private Double Price3; |
||||
|
@Column(name = "Open_Int") |
||||
|
private Double OpenInt; |
||||
|
private Double Volume; |
||||
|
private Double Amount; |
||||
|
@Column(name = "is_1min") |
||||
|
private Integer is1min; |
||||
|
@Column(name = "is_5min") |
||||
|
private Integer is5min; |
||||
|
@Column(name = "is_15min") |
||||
|
private Integer is15min; |
||||
|
@Column(name = "is_30min") |
||||
|
private Integer is30min; |
||||
|
@Column(name = "is_1h") |
||||
|
private Integer is1h; |
||||
|
@Column(name = "is_2h") |
||||
|
private Integer is2h; |
||||
|
@Column(name = "is_4h") |
||||
|
private Integer is4h; |
||||
|
|
||||
|
@Column(name = "is_6h") |
||||
|
private Integer is6h; |
||||
|
@Column(name = "is_12h") |
||||
|
private Integer is12h; |
||||
|
@Column(name = "is_day") |
||||
|
private Integer isDay; |
||||
|
@Column(name = "is_week") |
||||
|
private Integer isWeek; |
||||
|
@Column(name = "is_month") |
||||
|
private Integer isMonth; |
||||
|
|
||||
|
public Integer getId() { |
||||
|
return id; |
||||
|
} |
||||
|
|
||||
|
public void setId(Integer id) { |
||||
|
this.id = id; |
||||
|
} |
||||
|
|
||||
|
public Integer getPid() { |
||||
|
return pid; |
||||
|
} |
||||
|
|
||||
|
public void setPid(Integer pid) { |
||||
|
this.pid = pid; |
||||
|
} |
||||
|
|
||||
|
public String getSymbol() { |
||||
|
return Symbol; |
||||
|
} |
||||
|
|
||||
|
public void setSymbol(String symbol) { |
||||
|
Symbol = symbol; |
||||
|
} |
||||
|
|
||||
|
public Long getDate() { |
||||
|
return Date; |
||||
|
} |
||||
|
|
||||
|
public void setDate(Long date) { |
||||
|
Date = date; |
||||
|
} |
||||
|
|
||||
|
public java.util.Date getDatetime() { |
||||
|
return datetime; |
||||
|
} |
||||
|
|
||||
|
public void setDatetime(java.util.Date datetime) { |
||||
|
this.datetime = datetime; |
||||
|
} |
||||
|
|
||||
|
public String getName() { |
||||
|
return Name; |
||||
|
} |
||||
|
|
||||
|
public void setName(String name) { |
||||
|
Name = name; |
||||
|
} |
||||
|
|
||||
|
public Double getOpen() { |
||||
|
return Open; |
||||
|
} |
||||
|
|
||||
|
public void setOpen(Double open) { |
||||
|
Open = open; |
||||
|
} |
||||
|
|
||||
|
public Double getHigh() { |
||||
|
return High; |
||||
|
} |
||||
|
|
||||
|
public void setHigh(Double high) { |
||||
|
High = high; |
||||
|
} |
||||
|
|
||||
|
public Double getLow() { |
||||
|
return Low; |
||||
|
} |
||||
|
|
||||
|
public void setLow(Double low) { |
||||
|
Low = low; |
||||
|
} |
||||
|
|
||||
|
public Double getClose() { |
||||
|
return Close; |
||||
|
} |
||||
|
|
||||
|
public void setClose(Double close) { |
||||
|
Close = close; |
||||
|
} |
||||
|
|
||||
|
public Double getLastClose() { |
||||
|
return LastClose; |
||||
|
} |
||||
|
|
||||
|
public void setLastClose(Double lastClose) { |
||||
|
LastClose = lastClose; |
||||
|
} |
||||
|
|
||||
|
public Double getPrice2() { |
||||
|
return Price2; |
||||
|
} |
||||
|
|
||||
|
public void setPrice2(Double price2) { |
||||
|
Price2 = price2; |
||||
|
} |
||||
|
|
||||
|
public Double getPrice3() { |
||||
|
return Price3; |
||||
|
} |
||||
|
|
||||
|
public void setPrice3(Double price3) { |
||||
|
Price3 = price3; |
||||
|
} |
||||
|
|
||||
|
public Double getOpenInt() { |
||||
|
return OpenInt; |
||||
|
} |
||||
|
|
||||
|
public void setOpenInt(Double openInt) { |
||||
|
OpenInt = openInt; |
||||
|
} |
||||
|
|
||||
|
public Double getVolume() { |
||||
|
return Volume; |
||||
|
} |
||||
|
|
||||
|
public void setVolume(Double volume) { |
||||
|
Volume = volume; |
||||
|
} |
||||
|
|
||||
|
public Double getAmount() { |
||||
|
return Amount; |
||||
|
} |
||||
|
|
||||
|
public void setAmount(Double amount) { |
||||
|
Amount = amount; |
||||
|
} |
||||
|
|
||||
|
public Integer getIs1min() { |
||||
|
return is1min; |
||||
|
} |
||||
|
|
||||
|
public void setIs1min(Integer is1min) { |
||||
|
this.is1min = is1min; |
||||
|
} |
||||
|
|
||||
|
public Integer getIs5min() { |
||||
|
return is5min; |
||||
|
} |
||||
|
|
||||
|
public void setIs5min(Integer is5min) { |
||||
|
this.is5min = is5min; |
||||
|
} |
||||
|
|
||||
|
public Integer getIs15min() { |
||||
|
return is15min; |
||||
|
} |
||||
|
|
||||
|
public void setIs15min(Integer is15min) { |
||||
|
this.is15min = is15min; |
||||
|
} |
||||
|
|
||||
|
public Integer getIs30min() { |
||||
|
return is30min; |
||||
|
} |
||||
|
|
||||
|
public void setIs30min(Integer is30min) { |
||||
|
this.is30min = is30min; |
||||
|
} |
||||
|
|
||||
|
public Integer getIs1h() { |
||||
|
return is1h; |
||||
|
} |
||||
|
|
||||
|
public void setIs1h(Integer is1h) { |
||||
|
this.is1h = is1h; |
||||
|
} |
||||
|
|
||||
|
public Integer getIs2h() { |
||||
|
return is2h; |
||||
|
} |
||||
|
|
||||
|
public void setIs2h(Integer is2h) { |
||||
|
this.is2h = is2h; |
||||
|
} |
||||
|
|
||||
|
public Integer getIs4h() { |
||||
|
return is4h; |
||||
|
} |
||||
|
|
||||
|
public void setIs4h(Integer is4h) { |
||||
|
this.is4h = is4h; |
||||
|
} |
||||
|
|
||||
|
public Integer getIs6h() { |
||||
|
return is6h; |
||||
|
} |
||||
|
|
||||
|
public void setIs6h(Integer is6h) { |
||||
|
this.is6h = is6h; |
||||
|
} |
||||
|
|
||||
|
public Integer getIs12h() { |
||||
|
return is12h; |
||||
|
} |
||||
|
|
||||
|
public void setIs12h(Integer is12h) { |
||||
|
this.is12h = is12h; |
||||
|
} |
||||
|
|
||||
|
public Integer getIsDay() { |
||||
|
return isDay; |
||||
|
} |
||||
|
|
||||
|
public void setIsDay(Integer isDay) { |
||||
|
this.isDay = isDay; |
||||
|
} |
||||
|
|
||||
|
public Integer getIsWeek() { |
||||
|
return isWeek; |
||||
|
} |
||||
|
|
||||
|
public void setIsWeek(Integer isWeek) { |
||||
|
this.isWeek = isWeek; |
||||
|
} |
||||
|
|
||||
|
public Integer getIsMonth() { |
||||
|
return isMonth; |
||||
|
} |
||||
|
|
||||
|
public void setIsMonth(Integer isMonth) { |
||||
|
this.isMonth = isMonth; |
||||
|
} |
||||
|
} |
||||
Loading…
Reference in new issue