21 lines
478 B
C#
21 lines
478 B
C#
using System.ComponentModel.DataAnnotations;
|
|
|
|
namespace Mirea.Api.Dto.Responses;
|
|
|
|
/// <summary>
|
|
/// Represents information about a faculty.
|
|
/// </summary>
|
|
public class FacultyResponse
|
|
{
|
|
/// <summary>
|
|
/// Gets or sets the unique identifier of the faculty.
|
|
/// </summary>
|
|
[Required]
|
|
public int Id { get; set; }
|
|
|
|
/// <summary>
|
|
/// Gets or sets the name of the faculty.
|
|
/// </summary>
|
|
[Required]
|
|
public required string Name { get; set; }
|
|
} |