@tomei/live-price
Version:
Tomei live-price Package
16 lines (15 loc) • 669 B
TypeScript
import { Model } from 'sequelize-typescript';
import { ActivationTrigger, CutOffStatus, SourceFeedName } from '../enum/feed.enum';
import { IPriceFeedCutOffHistoryAttr } from '../interfaces/price-feed-cut-off-history-attr.interface';
import SourceFeedModel from './price-source-feed.entity';
export default class FeedCutOffHistoryModel extends Model implements IPriceFeedCutOffHistoryAttr {
FeedCutOffHistoryId: string;
FeedName: SourceFeedName;
Status: CutOffStatus;
ActivationDateTime: Date;
ActivationTrigger: ActivationTrigger;
ActivatedById: string;
DeactivationDateTime: Date;
DeactivatedById: string;
Feed: SourceFeedModel;
}