MireaBackend/Application/Cqrs/Faculty/Queries/GetFacultyDetails/FacultyInfoVm.cs
Polianin Nikita ce3bd23673
All checks were successful
.NET Test Pipeline / build-and-test (pull_request) Successful in 1m18s
feat: add queries for faculty
2024-02-16 22:40:21 +03:00

32 lines
853 B
C#

namespace Mirea.Api.DataAccess.Application.Cqrs.Faculty.Queries.GetFacultyDetails;
/// <summary>
/// Represents faculties.
/// </summary>
public class FacultyInfoVm
{
/// <summary>
/// The unique identifier for the faculty.
/// </summary>
public int Id { get; set; }
/// <summary>
/// The name of the faculty.
/// </summary>
public required string Name { get; set; }
/// <summary>
/// ID indicating the faculty's affiliation to the campus.
/// </summary>
public int? CampusId { get; set; }
/// <summary>
/// Campus name indicating the faculty's affiliation to the campus.
/// </summary>
public string? CampusName { get; set; }
/// <summary>
/// Campus code indicating the faculty's affiliation to the campus.
/// </summary>
public string? CampusCode { get; set; }
}