mirror of
https://github.com/OneUptime/oneuptime
synced 2024-11-23 15:49:10 +00:00
30 lines
499 B
TypeScript
30 lines
499 B
TypeScript
|
|
||
|
|
||
|
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;
|
||
|
|
||
|
}
|
||
|
|
||
|
|
||
|
|
||
|
|
||
|
|
||
|
|
||
|
|
||
|
|