style: fix linting issues met ESLint

This commit is contained in:
Lint Action 2025-03-01 10:33:27 +00:00
parent 81bbe84dfd
commit 74765577d5
26 changed files with 73 additions and 73 deletions

View file

@ -4,12 +4,12 @@ import { Student } from '../users/student.entity.js';
@Entity()
export class Group {
@ManyToOne({ entity: () => Assignment, primary: true })
@ManyToOne({ entity: () => {return Assignment}, primary: true })
assignment!: Assignment;
@PrimaryKey({ type: 'integer' })
groupNumber!: number;
@ManyToMany({ entity: () => Student })
@ManyToMany({ entity: () => {return Student} })
members!: Student[];
}