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 detailed information about a group.
|
|
|
|
|
/// </summary>
|
|
|
|
|
public class GroupDetailsResponse
|
|
|
|
|
{
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// Gets or sets the unique identifier of the group.
|
|
|
|
|
/// </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 group.
|
|
|
|
|
/// </summary>
|
2024-02-17 09:07:47 +03:00
|
|
|
|
[Required]
|
2024-02-16 23:54:52 +03:00
|
|
|
|
public required string Name { get; set; }
|
|
|
|
|
|
2024-02-17 01:49:37 +03:00
|
|
|
|
/// <summary>
|
|
|
|
|
/// Gets or sets the course number of the group.
|
|
|
|
|
/// </summary>
|
2024-02-17 09:07:47 +03:00
|
|
|
|
[Required]
|
2024-02-17 01:49:37 +03:00
|
|
|
|
public int CourseNumber { get; set; }
|
|
|
|
|
|
2024-02-16 23:54:52 +03:00
|
|
|
|
/// <summary>
|
|
|
|
|
/// Gets or sets the unique identifier of the faculty to which the group belongs (optional).
|
|
|
|
|
/// </summary>
|
|
|
|
|
public int? FacultyId { get; set; }
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// Gets or sets the name of the faculty to which the group belongs (optional).
|
|
|
|
|
/// </summary>
|
|
|
|
|
public string? FacultyName { get; set; }
|
|
|
|
|
}
|