Files
oneuptime/Common/Models/Notification.ts
Simon Larsen 9b1de444d4 fix models
2022-04-30 11:57:20 +01:00

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;
}