UNPKG

dm-web-react

Version:

The DM web client with React.

58 lines (55 loc) 1.41 kB
import { column, TableEntity } from "tsbatis"; import { ExchangeImagePriceTable } from "../../../databases/table/exchangeImagePriceTable"; export class ExchangeImagePrice extends TableEntity { @column({ isPK: true }) dataId: string; @column() id: number; // 流水id @column() issueDataTime: number; // 最新发布时间 @column() bondCode: string; @column() bid: string; // 买一价 @column() bidValue: number; @column() bidVolume: string; // 买量 @column() bidVolumeValue: number; @column() ofr: string; @column() ofrValue: number; // 卖价 @column() ofrVolume: string; @column() ofrVolumeValue: number; // 卖量 @column() bidSubChinaBond: string; // bid-中债 @column() bidSubChinaBondValue: number; @column() chinaBondSubOfr: string; // 中债-ofr @column() chinaBondSubOfrValue: number; @column() bidSubCsIndex: string; // bid-中证 @column() bidSubCsIndexValue: number; @column() csIndexSubOfr: string; // 中证 -ofr @column() csIndexSubOfrValue: number; @column() tradeSubChinaBond: string; // 成交-中债 @column() tradeSubCsIndex: string; // 成交-中证 @column() recentYtm: number; // 最近成交价 @column() recentVolumn: number; // 最近成交量 getTableName(): string { return ExchangeImagePriceTable.tableName; } }