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,10 +4,20 @@ import { Teacher } from '../users/teacher.entity';
|
|||
|
||||
@Entity()
|
||||
export class Answer {
|
||||
@ManyToOne({ entity: () => {return Teacher}, primary: true })
|
||||
@ManyToOne({
|
||||
entity: () => {
|
||||
return Teacher;
|
||||
},
|
||||
primary: true,
|
||||
})
|
||||
author!: Teacher;
|
||||
|
||||
@ManyToOne({ entity: () => {return Question}, primary: true })
|
||||
@ManyToOne({
|
||||
entity: () => {
|
||||
return Question;
|
||||
},
|
||||
primary: true,
|
||||
})
|
||||
toQuestion!: Question;
|
||||
|
||||
@PrimaryKey({ type: 'integer' })
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue