27 lines
655 B
C#
27 lines
655 B
C#
|
using System.ComponentModel.DataAnnotations;
|
|||
|
|
|||
|
namespace Mirea.Api.Dto.Responses;
|
|||
|
|
|||
|
/// <summary>
|
|||
|
/// Represents the response model for a lecture hall.
|
|||
|
/// </summary>
|
|||
|
public class LectureHallResponse
|
|||
|
{
|
|||
|
/// <summary>
|
|||
|
/// Gets or sets the ID of the lecture hall.
|
|||
|
/// </summary>
|
|||
|
[Required]
|
|||
|
public int Id { get; set; }
|
|||
|
|
|||
|
/// <summary>
|
|||
|
/// Gets or sets the name of the lecture hall.
|
|||
|
/// </summary>
|
|||
|
[Required]
|
|||
|
public required string Name { get; set; }
|
|||
|
|
|||
|
/// <summary>
|
|||
|
/// Gets or sets the ID of the campus to which the lecture hall belongs.
|
|||
|
/// </summary>
|
|||
|
[Required]
|
|||
|
public int CampusId { get; set; }
|
|||
|
}
|