retroactiune/Retroactiune.WebAPI/DataTransferObjects/FeedbackReceiverInDto.cs

17 lines
No EOL
449 B
C#

using System.ComponentModel.DataAnnotations;
using Retroactiune.Core.Entities;
namespace Retroactiune.DataTransferObjects
{
/// <summary>
/// FeedbackReceiverInDto is the DTO for <see cref="FeedbackReceiver"/>, used in incoming requests.
/// </summary>
public class FeedbackReceiverInDto
{
[Required]
public string Name { get; set; }
[Required]
public string Description { get; set; }
}
}