UNPKG

@tomei/live-price

Version:

Tomei live-price Package

19 lines (18 loc) 776 B
import { Model } from 'sequelize-typescript'; import FeedHistoryModel from './price-feed-history.entity'; import FeedCutOffHistoryModel from './price-feed-cut-off-history.entity'; import { ISourceFeedAttr } from '../interfaces/price-source-feed-attr.interface'; import FeedModel from './price-feed.entity'; import { SourceFeedName } from '../enum/feed.enum'; export default class SourceFeedModel extends Model implements ISourceFeedAttr { FeedName: SourceFeedName; Status: string; IsSourceFeedAvailableYN: string; IsFeedCutOffYN: string; AutomaticCutOffVariance: number; AutomaticCutOffMinutes: number; CurrentCutOffHistoryId: string; Feed: FeedModel; FeedHistories: FeedHistoryModel[]; FeedCutOffHistories: FeedCutOffHistoryModel[]; }