Release v1.0.0 #16
.gitea/workflows
ApiDto
ApiDto.csproj
Responses
Application
Application.csprojDependencyInjection.cs
Backend.slnCommon
Behaviors
Exceptions
Mappings
Cqrs
Campus
Queries
Discipline
Queries
Faculty
Queries
Group
Queries
LectureHall
Queries
Professor
Queries
Interfaces
Domain/Schedule
Campus.csDiscipline.csFaculty.csGroup.csLectureHall.csLesson.csLessonAssociation.csProfessor.csTypeOfOccupation.cs
Endpoint
Common
Configuration
Controllers
BaseController.cs
Endpoint.csprojProgram.csV1
BaseControllerV1.csCampusController.csDisciplineController.csFacultyController.csGroupController.csProfessorController.cs
WeatherForecastController.csProperties
WeatherForecast.csPersistence
Contexts
Schedule
EntityTypeConfigurations
Schedule
Properties
UberDbContext.cs
37
ApiDto/Responses/LectureHallDetailsResponse.cs
Normal file
37
ApiDto/Responses/LectureHallDetailsResponse.cs
Normal file
@ -0,0 +1,37 @@
|
|||||||
|
using System.ComponentModel.DataAnnotations;
|
||||||
|
|
||||||
|
namespace Mirea.Api.Dto.Responses;
|
||||||
|
|
||||||
|
/// <summary>
|
||||||
|
/// Represents the detailed response model for a lecture hall.
|
||||||
|
/// </summary>
|
||||||
|
public class LectureHallDetailsResponse
|
||||||
|
{
|
||||||
|
/// <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; }
|
||||||
|
|
||||||
|
/// <summary>
|
||||||
|
/// Gets or sets the name of the campus.
|
||||||
|
/// </summary>
|
||||||
|
public string? CampusName { get; set; }
|
||||||
|
|
||||||
|
/// <summary>
|
||||||
|
/// Gets or sets the code of the campus.
|
||||||
|
/// </summary>
|
||||||
|
public string? CampusCode { get; set; }
|
||||||
|
}
|
27
ApiDto/Responses/LectureHallResponse.cs
Normal file
27
ApiDto/Responses/LectureHallResponse.cs
Normal file
@ -0,0 +1,27 @@
|
|||||||
|
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; }
|
||||||
|
}
|
Reference in New Issue
Block a user