UNPKG

@tomei/live-price

Version:

Tomei live-price Package

46 lines (39 loc) 948 B
import { IFeedConfigAttr } from '../interfaces/price-feed-config-attr.interface'; import { Column, DataType, Model, Table } from 'sequelize-typescript'; @Table({ tableName: 'price_FeedConfig', timestamps: false, }) export default class FeedConfigModel extends Model implements IFeedConfigAttr { @Column({ primaryKey: true, allowNull: false, type: DataType.STRING(30), }) FeedConfigId: string; @Column({ allowNull: true, type: DataType.STRING(500), }) NotificationEmail: string; @Column({ allowNull: true, type: DataType.INTEGER, }) CutOffReminderInternal: number; @Column({ allowNull: true, type: DataType.INTEGER, }) ManualPriceReminderInternal: number; @Column({ allowNull: false, type: DataType.DATE, }) UpdatedAt: Date; @Column({ allowNull: false, type: DataType.STRING(30), }) UpdatedById: string; }