UNPKG

@tomei/live-price

Version:

Tomei live-price Package

24 lines (23 loc) 865 B
import { ITomeiPriceHistoryAttr } from '../interfaces/price-tomei-price-history-attr.interface'; import { Model } from 'sequelize-typescript'; import FeedHistoryModel from './price-feed-history.entity'; import FeedModel from './price-feed.entity'; import { NonSourceFeedName } from '../enum/feed.enum'; export default class TomeiPriceHistoryModel extends Model implements ITomeiPriceHistoryAttr { TomeiPriceHistoryId: string; FeedHistoryId: string; FeedName: NonSourceFeedName; Currency: string; DateTime: Date; BuyLabourCharges: number; SellLabourCharges: number; AdjustBuyPercentage: number; AdjustSellPercentage: number; TomeiBuyPrice: number; TomeiSellPrice: number; AdjustedById: string; AdjustedDateTime: Date; IsManualPriceActivatedYN: string; FeedHistory: FeedHistoryModel; Feed: FeedModel; }