mirror of
https://github.com/OneUptime/oneuptime.git
synced 2026-04-06 00:32:12 +02:00
17 lines
327 B
TypeScript
Executable File
17 lines
327 B
TypeScript
Executable File
import { Column, Entity } from 'typeorm';
|
|
import BaseModel from './BaseModel';
|
|
import Project from './Project';
|
|
@Entity({
|
|
name: 'UserAlerts',
|
|
})
|
|
export default class Model extends BaseModel {
|
|
@Column()
|
|
public project!: Project;
|
|
|
|
@Column()
|
|
public message!: string;
|
|
|
|
@Column()
|
|
public icon!: string;
|
|
}
|