docs: add some specification

This commit is contained in:
2024-10-25 04:43:18 +03:00
parent 0788c36bd2
commit 4605c81895
2 changed files with 17 additions and 0 deletions

View File

@ -2,7 +2,16 @@
namespace Mirea.Api.DataAccess.Application.Cqrs.Professor.Queries.GetProfessorDetails;
/// <summary>
/// Represents a query to retrieve information about a professor.
/// </summary>
/// <remarks>
/// This query can be used to fetch details of a professor by either their unique identifier.
/// </remarks>
public class GetProfessorInfoQuery : IRequest<ProfessorInfoVm>
{
/// <summary>
/// The unique identifier for the professor.
/// </summary>
public required int Id { get; set; }
}