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

This commit is contained in:
2024-01-28 04:31:18 +03:00
parent f25c815506
commit bc99007d94
7 changed files with 130 additions and 0 deletions

View File

@ -0,0 +1,27 @@
namespace Mirea.Api.DataAccess.Application.Cqrs.Campus.Queries.GetCampusDetails;
/// <summary>
/// Represents a view model containing detailed information about a campus.
/// </summary>
public class CampusDetailsVm
{
/// <summary>
/// The unique identifier for the campus.
/// </summary>
public int Id { get; set; }
/// <summary>
/// The code name associated with the campus.
/// </summary>
public required string CodeName { get; set; }
/// <summary>
/// The full name of the campus.
/// </summary>
public string? FullName { get; set; }
/// <summary>
/// The address of the campus.
/// </summary>
public string? Address { get; set; }
}