Assignment: DTOs
Add some of the properties added in #67 (closed) to Assignment DTOs.
The DTOs should have all the other already existing properties, this is just about extending them.
DTOs required
Name: AssignmentCreateDTO
This DTO is a:
-
Create -
Patch -
View
The DTO has the following fields:
Type | Name | Comment |
---|---|---|
Integer | lateSubmissionLeniency | How late a submission can be (hours) to still be accepted |
Boolean | acceptLateSubmissions | Whether late submissions should be accepted (but marked as late) |
String | approveScript | Link to approve script (this might change) |
Integer | limitNumberOfSubmissions | How many submissions can a group submit |
String | limitFileTypes | Limit what file types can be submitted |
Name: AssignmentPatchDTO
This DTO is a:
-
Create -
Patch -
View
The DTO has the following fields:
Type | Name | Comment |
---|---|---|
Integer | lateSubmissionLeniency | How late a submission can be (hours) to still be accepted |
Boolean | acceptLateSubmissions | Whether late submissions should be accepted (but marked as late) |
String | approveScript | Link to approve script (this might change) |
Integer | limitNumberOfSubmissions | How many submissions can a group submit |
String | limitFileTypes | Limit what file types can be submitted |
Name: AssignmentViewDTO
This DTO is a:
-
Create -
Patch -
View
The DTO has the following fields:
Type | Name | Comment |
---|---|---|
Integer | lateSubmissionLeniency | How late a submission can be (hours) to still be accepted |
Boolean | acceptLateSubmissions | Whether late submissions should be accepted (but marked as late) |
Integer | limitNumberOfSubmissions | How many submissions can a group submit |
String | limitFileTypes | Limit what file types can be submitted |
Edited by Hana Jirovská