style: fix linting issues met ESLint

This commit is contained in:
Lint Action 2025-03-06 13:37:39 +00:00
parent 710adcaa34
commit b8aae0ab1b
17 changed files with 46 additions and 136 deletions

View file

@ -8,25 +8,19 @@ import { Class } from './class.entity.js';
@Entity()
export class TeacherInvitation {
@ManyToOne({
entity: () => {
return Teacher;
},
entity: () => Teacher,
primary: true,
})
sender!: Teacher;
@ManyToOne({
entity: () => {
return Teacher;
},
entity: () => Teacher,
primary: true,
})
receiver!: Teacher;
@ManyToOne({
entity: () => {
return Class;
},
entity: () => Class,
primary: true,
})
class!: Class;