feat: write a dto in a separate project

This commit is contained in:
2024-02-16 23:54:52 +03:00
parent 511c0db3ee
commit 1b8c82949a
10 changed files with 232 additions and 0 deletions

View File

@ -0,0 +1,27 @@
namespace Mirea.Api.Dto.Responses;
/// <summary>
/// Represents detailed information about a campus.
/// </summary>
public class CampusDetailsResponse
{
/// <summary>
/// Gets or sets the unique identifier of the campus.
/// </summary>
public int Id { get; set; }
/// <summary>
/// Gets or sets the code name of the campus.
/// </summary>
public required string CodeName { get; set; }
/// <summary>
/// Gets or sets the full name of the campus (optional).
/// </summary>
public string? FullName { get; set; }
/// <summary>
/// Gets or sets the address of the campus (optional).
/// </summary>
public string? Address { get; set; }
}