oneuptime/Common/Models/OnCallDutyScheduleResource.ts

17 lines
403 B
TypeScript
Raw Normal View History

2022-04-29 19:54:29 +00:00
import { Column, Entity } from 'typeorm';
2022-04-29 19:52:23 +00:00
import BaseModel from './BaseModel';
2022-05-01 12:41:55 +00:00
2022-04-29 19:52:23 +00:00
import Monitor from './Monitor';
import OnCallDutySchedule from './OnCallDutySchedule';
@Entity({
2022-04-29 19:54:29 +00:00
name: 'OnCallDutyScheduleResource',
2022-04-29 19:52:23 +00:00
})
export default class OnCallDutyScheduleResource extends BaseModel {
@Column()
2022-05-18 20:49:52 +00:00
public onCallDutySchedule?: OnCallDutySchedule;
2022-04-29 19:52:23 +00:00
@Column()
2022-05-18 20:49:52 +00:00
public monitor?: Monitor;
2022-04-29 19:52:23 +00:00
}