using System;
using System.ComponentModel.DataAnnotations;
using MediatR;

namespace MyHN.Application
{
  public class GetCommentByIdQuery : IRequest<CommentDto>
  {
    [Required]
    public Guid Id { get; set; }

    public GetCommentByIdQuery(Guid id)
    {
      Id = id;
    }
  }
}