refactor(common): Submission
This commit is contained in:
parent
6ff29cb949
commit
bc8e888373
7 changed files with 31 additions and 27 deletions
19
common/src/interfaces/submission.d.ts
vendored
Normal file
19
common/src/interfaces/submission.d.ts
vendored
Normal file
|
@ -0,0 +1,19 @@
|
|||
import { GroupDTO } from './group';
|
||||
|
||||
export interface SubmissionDTO {
|
||||
learningObjectIdentifier: LearningObjectIdentifier;
|
||||
|
||||
submissionNumber?: number;
|
||||
submitter: StudentDTO;
|
||||
time?: Date;
|
||||
group?: GroupDTO;
|
||||
content: string;
|
||||
}
|
||||
|
||||
export interface SubmissionDTOId {
|
||||
learningObjectHruid: string;
|
||||
learningObjectLanguage: Language;
|
||||
learningObjectVersion: number;
|
||||
|
||||
submissionNumber?: number;
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue