oneuptime/Common/Models/IncidentNoteTemplate.ts
2022-04-27 20:38:55 +01:00

29 lines
431 B
TypeScript

import { Column, Entity, Index } from 'typeorm';
import BaseModel from './BaseModel';
import Project from './Project';
import { IncidentState } from './Incident';
@Entity({
name: "IncidentNoteTemplate"
})
export default class IncidentNoteTemplate extends BaseModel {
@Column()
project!: Project
@Column()
incidentState!: IncidentState
@Column()
incidentNote!: string
}