feat: write a dto in a separate project
This commit is contained in:
17
ApiDto/Responses/DisciplineResponse.cs
Normal file
17
ApiDto/Responses/DisciplineResponse.cs
Normal file
@ -0,0 +1,17 @@
|
||||
namespace Mirea.Api.Dto.Responses;
|
||||
|
||||
/// <summary>
|
||||
/// Represents information about a discipline.
|
||||
/// </summary>
|
||||
public class DisciplineResponse
|
||||
{
|
||||
/// <summary>
|
||||
/// Gets or sets the unique identifier of the discipline.
|
||||
/// </summary>
|
||||
public int Id { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// Gets or sets the name of the discipline.
|
||||
/// </summary>
|
||||
public required string Name { get; set; }
|
||||
}
|
Reference in New Issue
Block a user