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

27 lines
488 B
TypeScript

import { Column, Entity, Index } from 'typeorm';
import BaseModel from './BaseModel';
import OperationResult from '../Types/Operation/OperationResult';
import AutomatedScript from './AutomatedScript';
@Entity({
name: "AutomatedScriptOnEvent"
})
export default class AutomatedScriptOnEvent extends BaseModel {
@Column()
automatedScript!: AutomatedScript;
@Column()
executeAutomatedScript!: AutomatedScript;
@Column()
eventType!: OperationResult;
};