Skip to content

Commit

Permalink
Merge pull request #415 from correctexam/379-reduce-the-number-of-htt…
Browse files Browse the repository at this point in the history
…p-queries-when-switching-from-one-page-to-another-one-in-the-correction-view

379 reduce the number of http queries when switching from one page to another one in the correction view
  • Loading branch information
barais authored Nov 28, 2023
2 parents d11668a + 9b7d6a4 commit fe0c5f2
Show file tree
Hide file tree
Showing 5 changed files with 205 additions and 223 deletions.
3 changes: 3 additions & 0 deletions src/main/webapp/app/entities/question/question.model.ts
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
import { ITextComment } from 'app/entities/text-comment/text-comment.model';
import { IGradedComment } from 'app/entities/graded-comment/graded-comment.model';
import { GradeType } from 'app/entities/enumerations/grade-type.model';
import { Zone } from '../zone/zone.model';

export interface IQuestion {
id?: number;
Expand All @@ -17,6 +18,7 @@ export interface IQuestion {
typeId?: number;
examName?: string;
examId?: number;
zoneDTO?: Zone;
}

export class Question implements IQuestion {
Expand All @@ -34,6 +36,7 @@ export class Question implements IQuestion {
public typeId?: number,
public examName?: string,
public examId?: number,
public zoneDTO?: Zone,
) {}
}
export function getQuestionIdentifier(question: IQuestion): number | undefined {
Expand Down
Loading

0 comments on commit fe0c5f2

Please sign in to comment.