mirror of
https://github.com/hedgedoc/hedgedoc.git
synced 2024-10-20 14:12:10 -04:00
15 lines
295 B
TypeScript
15 lines
295 B
TypeScript
|
import { Column, ManyToOne } from 'typeorm/index';
|
||
|
import { Group } from '../groups/group.entity';
|
||
|
import { Note } from '../notes/note.entity';
|
||
|
|
||
|
export class NoteGroupPermission {
|
||
|
@ManyToOne(_ => Group)
|
||
|
group: Group;
|
||
|
|
||
|
@ManyToOne(_ => Note)
|
||
|
note: Note;
|
||
|
|
||
|
@Column()
|
||
|
canEdit: boolean;
|
||
|
}
|