mirror of
https://github.com/OneUptime/oneuptime
synced 2024-11-23 15:49:10 +00:00
44 lines
648 B
TypeScript
44 lines
648 B
TypeScript
import { Column, Entity, Index } from 'typeorm';
|
|
import BaseModel from './BaseModel';
|
|
import User from './User';
|
|
import Project from './Project';
|
|
import Component from './Component';
|
|
import ResourceLabel from './ResourceLabel';
|
|
|
|
|
|
@Entity({
|
|
name: "ErrorTrackerContainer"
|
|
})
|
|
export default class ErrorTrackerContainer extends BaseModel{
|
|
|
|
@Column()
|
|
component!: Component
|
|
|
|
@Column()
|
|
name!: string;
|
|
|
|
@Column()
|
|
slug!: string;
|
|
|
|
@Column()
|
|
key!: string;
|
|
|
|
@Column()
|
|
showQuickStart!: boolean;
|
|
|
|
@Column()
|
|
resourceLabel!: ResourceLabel
|
|
|
|
@Column()
|
|
createdByUser!: User;
|
|
|
|
@Column()
|
|
deletedByUser!: User;
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
|