initial commit from an older template
This commit is contained in:
12
Models/DTO/InstructionTestSubmissionDTO.cs
Normal file
12
Models/DTO/InstructionTestSubmissionDTO.cs
Normal file
@@ -0,0 +1,12 @@
|
||||
using System.ComponentModel.DataAnnotations;
|
||||
|
||||
namespace GamificationService.Models.DTO;
|
||||
|
||||
public class InstructionTestSubmissionDTO
|
||||
{
|
||||
[Required(ErrorMessage = "InstructionTestId is required")]
|
||||
public int InstructionTestId { get; set; }
|
||||
|
||||
[Required(ErrorMessage = "Answers must be provided")]
|
||||
public List<List<int>> Answers { get; set; } = null!;
|
||||
}
|
||||
Reference in New Issue
Block a user