refactor(common): Question
This commit is contained in:
parent
d6b79dcced
commit
70a31a292c
6 changed files with 21 additions and 19 deletions
14
common/src/interfaces/question.d.ts
vendored
Normal file
14
common/src/interfaces/question.d.ts
vendored
Normal file
|
@ -0,0 +1,14 @@
|
|||
import { StudentDTO } from './student';
|
||||
|
||||
export interface QuestionDTO {
|
||||
learningObjectIdentifier: LearningObjectIdentifier;
|
||||
sequenceNumber?: number;
|
||||
author: StudentDTO;
|
||||
timestamp?: string;
|
||||
content: string;
|
||||
}
|
||||
|
||||
export interface QuestionId {
|
||||
learningObjectIdentifier: LearningObjectIdentifier;
|
||||
sequenceNumber: number;
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue