style: fix linting issues met Prettier
This commit is contained in:
parent
74765577d5
commit
17893a6990
53 changed files with 1350 additions and 1314 deletions
|
@ -4,12 +4,20 @@ import { Class } from '../classes/class.entity.js';
|
|||
import { Group } from '../assignments/group.entity.js';
|
||||
import { StudentRepository } from '../../data/users/student-repository.js';
|
||||
|
||||
@Entity({ repository: () => {return StudentRepository} })
|
||||
@Entity({
|
||||
repository: () => {
|
||||
return StudentRepository;
|
||||
},
|
||||
})
|
||||
export class Student extends User {
|
||||
@ManyToMany(() => {return Class})
|
||||
@ManyToMany(() => {
|
||||
return Class;
|
||||
})
|
||||
classes!: Collection<Class>;
|
||||
|
||||
@ManyToMany(() => {return Group})
|
||||
@ManyToMany(() => {
|
||||
return Group;
|
||||
})
|
||||
groups!: Collection<Group>;
|
||||
|
||||
constructor(
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue