feat: change answer submission architecture

This commit is contained in:
2026-07-12 17:55:09 +03:30
parent f399ec4a04
commit 4e4731dbde
11 changed files with 238 additions and 87 deletions
@@ -56,6 +56,9 @@ export class Test {
@OneToMany(() => Question, (question) => question.test)
questions!: Array<Question>;
@Column({ type: 'int', nullable: false, default: 0 })
questionsCount!: number;
@OneToMany(() => ResultRange, (range) => range.test)
resultRanges!: Array<ResultRange>;