oneuptime/Common/Models/StatusPageFooterLink.ts
Simon Larsen 53815189dc
fix lint.
2022-05-19 20:41:12 +01:00

26 lines
485 B
TypeScript

import { Column, Entity } from 'typeorm';
import BaseModel from './BaseModel';
import User from './User';
import StatusPage from './StatusPage';
@Entity({
name: 'UserAlerts',
})
export default class Model extends BaseModel {
@Column()
public statusPage?: StatusPage;
@Column()
public title?: string = undefined;
@Column()
public url?: string = undefined;
@Column()
public createdByUser?: User;
@Column()
public deletedByUser?: User;
}