Modify FeedbackReceiverDto, mark fields with Required
This commit is contained in:
parent
2c07bd385a
commit
9489ec6f33
1 changed files with 5 additions and 1 deletions
|
@ -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; }
|
||||
}
|
||||
}
|
Loading…
Reference in a new issue