fix: functies in class repository zijn nu bereikbaar
This commit is contained in:
parent
89deb96ae4
commit
8f0a76f4e6
1 changed files with 6 additions and 1 deletions
|
@ -8,8 +8,13 @@ import {
|
|||
import { v4 } from 'uuid';
|
||||
import { Teacher } from '../users/teacher.entity.js';
|
||||
import { Student } from '../users/student.entity.js';
|
||||
import { ClassRepository } from '../../data/classes/class-repository.js';
|
||||
|
||||
@Entity()
|
||||
@Entity({
|
||||
repository: () => {
|
||||
return ClassRepository;
|
||||
},
|
||||
})
|
||||
export class Class {
|
||||
@PrimaryKey()
|
||||
classId = v4();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue