mirror of
https://github.com/OneUptime/oneuptime
synced 2024-11-23 07:42:10 +00:00
33 lines
636 B
TypeScript
33 lines
636 B
TypeScript
import { Column, Entity } from 'typeorm';
|
|
import BaseModel from './BaseModel';
|
|
|
|
import ErrorTrackerContainer from './ErrorTrackerContainer';
|
|
import Issue from './Issue';
|
|
@Entity({
|
|
name: 'UserAlerts',
|
|
})
|
|
export default class Model extends BaseModel {
|
|
@Column()
|
|
public errorTracker?: ErrorTrackerContainer;
|
|
@Column()
|
|
public issue?: Issue;
|
|
|
|
@Column()
|
|
public content?: Object;
|
|
|
|
@Column()
|
|
public timeline?: Object;
|
|
|
|
@Column()
|
|
public tags?: Object;
|
|
|
|
@Column()
|
|
public sdk?: Object;
|
|
|
|
@Column()
|
|
public fingerprintHash?: string = undefined;
|
|
|
|
@Column()
|
|
public device?: Object;
|
|
}
|