oneuptime/Common/Models/IncidentResource.ts
2022-05-18 21:49:52 +01:00

17 lines
343 B
TypeScript

import { Column, Entity } from 'typeorm';
import BaseModel from './BaseModel';
import Monitor from './Monitor';
import Incident from './Incident';
@Entity({
name: 'IncidentResource',
})
export default class IncidentResource extends BaseModel {
@Column()
public incident?: Incident;
@Column()
public monitor?: Monitor;
}