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 {
|
2022-05-01 12:41:55 +00:00
|
|
|
|
2022-04-29 19:52:23 +00:00
|
|
|
@Column()
|
2022-04-30 10:57:20 +00:00
|
|
|
public onCallDutySchedule!: OnCallDutySchedule;
|
2022-04-29 19:52:23 +00:00
|
|
|
|
|
|
|
@Column()
|
2022-04-30 10:57:20 +00:00
|
|
|
public monitor!: Monitor;
|
2022-04-29 19:52:23 +00:00
|
|
|
}
|