oneuptime/Common/Models/Feedback.ts
2022-04-27 20:38:55 +01:00

36 lines
418 B
TypeScript
Executable File

import { Column, Entity } from 'typeorm';
import BaseModel from './BaseModel';
import User from './User';
import Project from './Project';
@Entity({
name: "Feedback"
})
export default class Feedback extends BaseModel {
@Column()
project!: Project;
@Column()
createdByUser!: User;
@Column()
message!: string;
@Column()
pageUrl!: string
@Column()
deletedByUser!: User;
}