oneuptime/Common/Models/ScheduledEventResource.ts
Simon Larsen f0c0715f36
fix
2022-04-29 20:52:23 +01:00

28 lines
375 B
TypeScript

import { Column, Entity, Index } from 'typeorm';
import BaseModel from './BaseModel';
import Monitor from './Monitor';
import ScheduledEvent from './ScheduledEvent';
@Entity({
name: "StatusPageChartType"
})
export default class StatusPageChartType extends BaseModel {
@Column()
scheduledEvent!: ScheduledEvent
@Column()
monitor!: Monitor;
}