diff --git a/Retroactiune.WebAPI/Models/FeedbackReceiverDto.cs b/Retroactiune.WebAPI/Models/FeedbackReceiverDto.cs index 3190eb9..264e3a6 100644 --- a/Retroactiune.WebAPI/Models/FeedbackReceiverDto.cs +++ b/Retroactiune.WebAPI/Models/FeedbackReceiverDto.cs @@ -1,12 +1,16 @@ -namespace Retroactiune.Models +using System.ComponentModel.DataAnnotations; + +namespace Retroactiune.Models { /// /// FeedbackReceiverDto is the DTO for /// public class FeedbackReceiverDto { + [Required] public string Name { get; set; } + [Required] public string Description { get; set; } } } \ No newline at end of file