2024-02-17 09:07:47 +03:00
|
|
|
|
using System.ComponentModel.DataAnnotations;
|
|
|
|
|
|
|
|
|
|
namespace Mirea.Api.Dto.Responses;
|
2024-02-16 23:54:52 +03:00
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// Represents information about a discipline.
|
|
|
|
|
/// </summary>
|
|
|
|
|
public class DisciplineResponse
|
|
|
|
|
{
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// Gets or sets the unique identifier of the discipline.
|
|
|
|
|
/// </summary>
|
2024-02-17 09:07:47 +03:00
|
|
|
|
[Required]
|
2024-02-16 23:54:52 +03:00
|
|
|
|
public int Id { get; set; }
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// Gets or sets the name of the discipline.
|
|
|
|
|
/// </summary>
|
2024-02-17 09:07:47 +03:00
|
|
|
|
[Required]
|
2024-02-16 23:54:52 +03:00
|
|
|
|
public required string Name { get; set; }
|
|
|
|
|
}
|