36 lines
843 B
Java
36 lines
843 B
Java
package com.yangwale.backtestify.entity;
|
||
|
||
import com.baomidou.mybatisplus.annotation.IdType;
|
||
import com.baomidou.mybatisplus.annotation.TableId;
|
||
import com.baomidou.mybatisplus.annotation.TableName;
|
||
import com.yangwale.backtestify.common.BaseEntity;
|
||
import lombok.Getter;
|
||
import lombok.Setter;
|
||
|
||
/**
|
||
* 合约字典表
|
||
*/
|
||
@Getter
|
||
@Setter
|
||
@TableName("t_instrument_dictionary")
|
||
public class InstrumentDictionary extends BaseEntity {
|
||
|
||
@TableId(type = IdType.AUTO)
|
||
private Integer id;
|
||
|
||
/** 交易所代码,如 SHFE */
|
||
private String exchangeId;
|
||
|
||
/** 期货品种,如 rb */
|
||
private String symbol;
|
||
|
||
/** 具体合约代码,如 rb2610 */
|
||
private String contractCode;
|
||
|
||
/** 价格放大倍数 */
|
||
private Integer priceScale;
|
||
|
||
/** 是否当前主力合约:0-否,1-是 */
|
||
private Integer isMain;
|
||
}
|