fix(backend): Services en controllers aan gewijzigde primaire sleutel van Question en Submission aangepast.
This commit is contained in:
parent
12c1505ba7
commit
f9b83bc4af
6 changed files with 12 additions and 6 deletions
|
@ -1,10 +1,12 @@
|
|||
import { LearningObjectIdentifier } from './learning-content';
|
||||
import { StudentDTO } from './student';
|
||||
import {GroupDTO} from "./group";
|
||||
|
||||
export interface QuestionDTO {
|
||||
learningObjectIdentifier: LearningObjectIdentifier;
|
||||
sequenceNumber?: number;
|
||||
author: StudentDTO;
|
||||
inGroup: GroupDTO;
|
||||
timestamp?: string;
|
||||
content: string;
|
||||
}
|
||||
|
@ -12,4 +14,5 @@ export interface QuestionDTO {
|
|||
export interface QuestionId {
|
||||
learningObjectIdentifier: LearningObjectIdentifier;
|
||||
sequenceNumber: number;
|
||||
inGroup: GroupDTO;
|
||||
}
|
||||
|
|
|
@ -9,7 +9,7 @@ export interface SubmissionDTO {
|
|||
submissionNumber?: number;
|
||||
submitter: StudentDTO;
|
||||
time?: Date;
|
||||
group?: GroupDTO;
|
||||
group: GroupDTO;
|
||||
content: string;
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue