feat: add queries for lecture hall
All checks were successful
.NET Test Pipeline / build-and-test (pull_request) Successful in 1m42s

This commit is contained in:
2024-02-16 22:51:26 +03:00
parent ce3bd23673
commit a00dc8ccd6
7 changed files with 144 additions and 0 deletions

View File

@ -0,0 +1,32 @@
namespace Mirea.Api.DataAccess.Application.Cqrs.LectureHall.Queries.GetLectureHallDetails;
/// <summary>
/// Represents disciplines.
/// </summary>
public class LectureHallInfoVm
{
/// <summary>
/// The unique identifier for the lecture hall.
/// </summary>
public int Id { get; set; }
/// <summary>
/// The name of the lecture hall.
/// </summary>
public required string Name { get; set; }
/// <summary>
/// ID indicating the lecture hall's affiliation to the campus.
/// </summary>
public int CampusId { get; set; }
/// <summary>
/// Campus name indicating the lecture hall's affiliation to the campus.
/// </summary>
public string? CampusName { get; set; }
/// <summary>
/// Campus code indicating the lecture hall's affiliation to the campus.
/// </summary>
public string? CampusCode { get; set; }
}