oneuptime/Common/Models/NotificationUserStatus.ts
Simon Larsen f0c0715f36
fix
2022-04-29 20:52:23 +01:00

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
}