fix: functies in assignment entity zijn nu bereikbaar
This commit is contained in:
parent
127088ea00
commit
595f248f11
1 changed files with 6 additions and 1 deletions
|
@ -9,8 +9,13 @@ import {
|
||||||
import { Class } from '../classes/class.entity.js';
|
import { Class } from '../classes/class.entity.js';
|
||||||
import { Group } from './group.entity.js';
|
import { Group } from './group.entity.js';
|
||||||
import { Language } from '../content/language.js';
|
import { Language } from '../content/language.js';
|
||||||
|
import { AssignmentRepository } from '../../data/assignments/assignment-repository.js';
|
||||||
|
|
||||||
@Entity()
|
@Entity({
|
||||||
|
repository: () => {
|
||||||
|
return AssignmentRepository;
|
||||||
|
},
|
||||||
|
})
|
||||||
export class Assignment {
|
export class Assignment {
|
||||||
@ManyToOne({
|
@ManyToOne({
|
||||||
entity: () => {
|
entity: () => {
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue