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