mirror of
https://github.com/OneUptime/oneuptime
synced 2024-11-23 15:49:10 +00:00
18 lines
427 B
TypeScript
18 lines
427 B
TypeScript
import { Column, Entity } from 'typeorm';
|
|
import BaseModel from './BaseModel';
|
|
import Project from './Project';
|
|
import User from './User';
|
|
|
|
@Entity({
|
|
name: "ProjectAdminNote"
|
|
})
|
|
export default class ProjectAdminNote extends BaseModel {
|
|
@Column({ nullable: false })
|
|
project!: Project;
|
|
|
|
@Column({ type: "text", nullable: false })
|
|
note!: string
|
|
|
|
@Column({ nullable: false })
|
|
createdByUser!: User
|
|
} |