fix(backend): Added missing repository-properties to entity annotations
This commit is contained in:
parent
02be44fe53
commit
34af354a33
11 changed files with 22 additions and 11 deletions
|
@ -9,8 +9,9 @@ import {
|
|||
import { Class } from '../classes/class.entity.js';
|
||||
import { Group } from './group.entity.js';
|
||||
import { Language } from '../content/language.js';
|
||||
import {AssignmentRepository} from "../../data/assignments/assignment-repository";
|
||||
|
||||
@Entity()
|
||||
@Entity({repository: () => AssignmentRepository})
|
||||
export class Assignment {
|
||||
@ManyToOne({ entity: () => Class, primary: true })
|
||||
within!: Class;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue