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 basic information about a faculty.
|
|
|
|
|
/// </summary>
|
|
|
|
|
public class FacultyResponse
|
|
|
|
|
{
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// Gets or sets the unique identifier of the faculty.
|
|
|
|
|
/// </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 faculty.
|
|
|
|
|
/// </summary>
|
2024-02-17 09:07:47 +03:00
|
|
|
|
[Required]
|
2024-02-16 23:54:52 +03:00
|
|
|
|
public required string Name { get; set; }
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// Gets or sets the unique identifier of the campus to which the faculty belongs (optional).
|
|
|
|
|
/// </summary>
|
|
|
|
|
public int? CampusId { get; set; }
|
|
|
|
|
}
|