mirror of
https://github.com/OneUptime/oneuptime
synced 2024-11-23 15:49:10 +00:00
29 lines
332 B
TypeScript
29 lines
332 B
TypeScript
import { Column, Entity, Index } from 'typeorm';
|
|
import BaseModel from './BaseModel';
|
|
import User from './User';
|
|
|
|
|
|
@Entity({
|
|
name: "UserAlerts"
|
|
})
|
|
export default class NotificationUserStatus extends BaseModel{
|
|
|
|
@Column()
|
|
notification!: Notification;
|
|
|
|
@Column()
|
|
user!: User;
|
|
|
|
@Column()
|
|
read!: boolean
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|