fix: functies in class repository zijn nu bereikbaar

This commit is contained in:
Laure Jablonski 2025-03-08 11:31:50 +01:00
parent 89deb96ae4
commit 8f0a76f4e6

View file

@ -8,8 +8,13 @@ import {
import { v4 } from 'uuid'; import { v4 } from 'uuid';
import { Teacher } from '../users/teacher.entity.js'; import { Teacher } from '../users/teacher.entity.js';
import { Student } from '../users/student.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 { export class Class {
@PrimaryKey() @PrimaryKey()
classId = v4(); classId = v4();