oneuptime/Common/Models/ErrorEvent.ts
2022-04-29 22:38:55 +01:00

43 lines
563 B
TypeScript

import { Column, Entity, Index } from 'typeorm';
import BaseModel from './BaseModel';
import ErrorTrackerContainer from './ErrorTrackerContainer';
import Issue from './Issue';
@Entity({
name: "UserAlerts"
})
export default class Model extends BaseModel {
@Column()
errorTracker!: ErrorTrackerContainer
@Column()
issue!: Issue
@Column()
content!: Object;
@Column()
timeline!: Object
@Column()
tags!: Object
@Column()
sdk!: Object;
@Column()
fingerprintHash!: string;
@Column()
device!: Object;
}