2024-01-16 13:24:42 +05:00
|
|
|
|
using System.ComponentModel.DataAnnotations;
|
|
|
|
|
|
|
|
|
|
namespace AsbCloudApp.Data.Subsystems
|
2022-07-14 03:47:11 +05:00
|
|
|
|
{
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// Описание параметров подсистемы
|
|
|
|
|
/// </summary>
|
|
|
|
|
public class SubsystemDto : IId
|
|
|
|
|
{
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// Идентификатор подсистемы
|
|
|
|
|
/// </summary>
|
2024-01-16 13:24:42 +05:00
|
|
|
|
[Required]
|
2022-07-14 03:47:11 +05:00
|
|
|
|
public int Id { get; set; }
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// Наименование подсистемы
|
|
|
|
|
/// </summary>
|
2024-01-16 13:24:42 +05:00
|
|
|
|
[Required]
|
2023-02-22 09:56:01 +05:00
|
|
|
|
public string Name { get; set; } = null!;
|
2022-07-14 03:47:11 +05:00
|
|
|
|
/// <summary>
|
|
|
|
|
/// Детальное описание подсистемы
|
|
|
|
|
/// </summary>
|
2024-01-16 13:24:42 +05:00
|
|
|
|
[Required]
|
2023-02-22 09:56:01 +05:00
|
|
|
|
public string Description { get; set; } = string.Empty;
|
2022-07-14 03:47:11 +05:00
|
|
|
|
}
|
|
|
|
|
}
|