oneuptime/Common/Models/OnCallDutyScheduleResource.ts

30 lines
499 B
TypeScript
Raw Normal View History

2022-04-29 19:52:23 +00:00
import { Column, Entity, Index } from 'typeorm';
import BaseModel from './BaseModel';
import StatusPage from './StatusPage';
import StatusPageCategory from './StatusPageCategory';
import Monitor from './Monitor';
import OnCallDutySchedule from './OnCallDutySchedule';
@Entity({
name: "OnCallDutyScheduleResource"
})
export default class OnCallDutyScheduleResource extends BaseModel {
@Column()
onCallDutySchedule!: OnCallDutySchedule
@Column()
monitor!: Monitor;
}