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