@tomei/live-price
Version:
Tomei live-price Package
17 lines (16 loc) • 708 B
TypeScript
import { Model } from 'sequelize-typescript';
import { ManualPriceStatus, NonSourceFeedName, SourceFeedName } from '../enum/feed.enum';
import { IPriceFeedManualPriceHistoryAttr } from '../interfaces/price-feed-manual-price-history-attr.interface';
import FeedModel from './price-feed.entity';
export default class FeedManualPriceHistoryModel extends Model implements IPriceFeedManualPriceHistoryAttr {
FeedManualPriceHistoryId: string;
FeedName: SourceFeedName | NonSourceFeedName;
BuyPrice: number;
SellPrice: number;
Status: ManualPriceStatus;
ActivationDateTime: Date;
ActivatedById: string;
DeactivationDateTime: Date;
DeactivatedById: string;
Feed: FeedModel;
}