mirror of
https://github.com/OneUptime/oneuptime
synced 2024-11-23 15:49:10 +00:00
35 lines
434 B
TypeScript
35 lines
434 B
TypeScript
import { Column, Entity, Index } from 'typeorm';
|
|
import BaseModel from './BaseModel';
|
|
import PerformanceTracker from './PerformanceTracker';
|
|
|
|
|
|
@Entity({
|
|
name: "UserAlerts"
|
|
})
|
|
export default class Model extends BaseModel{
|
|
|
|
@Column()
|
|
type!: string;
|
|
|
|
@Column()
|
|
metrics!: Object;
|
|
|
|
@Column()
|
|
callentifier!: string;
|
|
|
|
@Column()
|
|
method!: string;
|
|
|
|
@Column()
|
|
performanceTracker!: PerformanceTracker
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|