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

31 lines
394 B
TypeScript

import { Column, Entity, Index } from 'typeorm';
import BaseModel from './BaseModel';
import User from './User';
import Project from './Project';
@Entity({
name: "IncidentPriority"
})
export default class IncidentPriority extends BaseModel {
@Column()
project!: Project;
@Column()
name!: string
@Column()
color!: string
@Column()
deletedByUser!: User;
}