Modify FeedbackReceiverDto, mark fields with Required

This commit is contained in:
Denis-Cosmin Nutiu 2021-05-29 21:24:41 +03:00
parent 2c07bd385a
commit 9489ec6f33

View file

@ -1,12 +1,16 @@
namespace Retroactiune.Models
using System.ComponentModel.DataAnnotations;
namespace Retroactiune.Models
{
/// <summary>
/// FeedbackReceiverDto is the DTO for <see cref="FeedbackReceiver"/>
/// </summary>
public class FeedbackReceiverDto
{
[Required]
public string Name { get; set; }
[Required]
public string Description { get; set; }
}
}