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