mirror of
https://github.com/OneUptime/oneuptime
synced 2024-11-23 07:42:10 +00:00
17 lines
403 B
TypeScript
17 lines
403 B
TypeScript
import { Column, Entity } from 'typeorm';
|
|
import BaseModel from './BaseModel';
|
|
|
|
import Monitor from './Monitor';
|
|
import OnCallDutySchedule from './OnCallDutySchedule';
|
|
|
|
@Entity({
|
|
name: 'OnCallDutyScheduleResource',
|
|
})
|
|
export default class OnCallDutyScheduleResource extends BaseModel {
|
|
@Column()
|
|
public onCallDutySchedule?: OnCallDutySchedule;
|
|
|
|
@Column()
|
|
public monitor?: Monitor;
|
|
}
|