mirror of
https://github.com/OneUptime/oneuptime.git
synced 2026-04-06 00:32:12 +02:00
19 lines
447 B
TypeScript
19 lines
447 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 })
|
|
public project!: Project;
|
|
|
|
@Column({ type: 'text', nullable: false })
|
|
public note!: string;
|
|
|
|
@Column({ nullable: false })
|
|
public createdByUser!: User;
|
|
}
|