fix: functies uit submission repo zijn bereikbaar
This commit is contained in:
parent
c96ccfbfdd
commit
ca5bc512d6
1 changed files with 6 additions and 1 deletions
|
@ -2,8 +2,13 @@ import { Student } from '../users/student.entity.js';
|
|||
import { Group } from './group.entity.js';
|
||||
import { Entity, Enum, ManyToOne, PrimaryKey, Property } from '@mikro-orm/core';
|
||||
import { Language } from '../content/language.js';
|
||||
import { SubmissionRepository } from '../../data/assignments/submission-repository.js';
|
||||
|
||||
@Entity()
|
||||
@Entity({
|
||||
repository: () => {
|
||||
return SubmissionRepository;
|
||||
},
|
||||
})
|
||||
export class Submission {
|
||||
@PrimaryKey({ type: 'string' })
|
||||
learningObjectHruid!: string;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue