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

26 lines
465 B
TypeScript

import { Column, Entity } from 'typeorm';
import BaseModel from './BaseModel';
import Team from './Team';
import User from './User';
@Entity({
name: 'UserAlerts',
})
export default class Model extends BaseModel {
@Column()
public startTime?: Date = undefined;
@Column()
public endTime?: Date = undefined;
@Column()
public timezone?: string = undefined;
@Column()
public user?: User;
@Column()
public team?: Team;
}