mirror of
https://github.com/OneUptime/oneuptime.git
synced 2026-04-06 00:32:12 +02:00
18 lines
345 B
TypeScript
18 lines
345 B
TypeScript
import { Column, Entity } from 'typeorm';
|
|
import BaseModel from './BaseModel';
|
|
import User from './User';
|
|
|
|
@Entity({
|
|
name: 'UserAlerts',
|
|
})
|
|
export default class NotificationUserStatus extends BaseModel {
|
|
@Column()
|
|
public notification!: Notification;
|
|
|
|
@Column()
|
|
public user!: User;
|
|
|
|
@Column()
|
|
public read!: boolean;
|
|
}
|