From c589cbcd0d3b93835b13bed6add48d6eb46ce1ad Mon Sep 17 00:00:00 2001 From: Roman Efremov Date: Fri, 13 Dec 2024 11:01:53 +0500 Subject: [PATCH] =?UTF-8?q?=D0=94=D0=BE=D1=80=D0=B0=D0=B1=D0=BE=D1=82?= =?UTF-8?q?=D0=B0=D1=82=D1=8C=20=D0=BA=D0=BE=D0=BC=D0=BC=D0=B5=D0=BD=D1=82?= =?UTF-8?q?=D0=B0=D1=80=D0=B8=D0=B8=20=D0=BC=D0=BE=D0=B4=D0=B5=D0=BB=D0=B8?= =?UTF-8?q?=20DataSourceSystem?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- Persistence.Database/Entity/DataSourceSystem.cs | 6 +++--- Persistence/Models/DataSourceSystemDto.cs | 10 +++++----- 2 files changed, 8 insertions(+), 8 deletions(-) diff --git a/Persistence.Database/Entity/DataSourceSystem.cs b/Persistence.Database/Entity/DataSourceSystem.cs index 160c903..a2fcaf9 100644 --- a/Persistence.Database/Entity/DataSourceSystem.cs +++ b/Persistence.Database/Entity/DataSourceSystem.cs @@ -5,12 +5,12 @@ using System.ComponentModel.DataAnnotations.Schema; namespace Persistence.Database.Entity; public class DataSourceSystem { - [Key, Comment("Id системы")] + [Key, Comment("Id системы - источника данных")] public Guid SystemId { get; set; } - [Required, Column(TypeName = "varchar(256)"), Comment("Наименование системы")] + [Required, Column(TypeName = "varchar(256)"), Comment("Наименование системы - источника данных")] public required string Name { get; set; } - [Comment("Описание системы")] + [Comment("Описание системы - источника данных")] public string? Description { get; set; } } diff --git a/Persistence/Models/DataSourceSystemDto.cs b/Persistence/Models/DataSourceSystemDto.cs index 8c47217..56df611 100644 --- a/Persistence/Models/DataSourceSystemDto.cs +++ b/Persistence/Models/DataSourceSystemDto.cs @@ -1,7 +1,7 @@ namespace Persistence.Models; /// -/// Модель системы +/// Модель системы - источника данных /// public class DataSourceSystemDto { @@ -10,10 +10,10 @@ public class DataSourceSystemDto /// public Guid SystemId { get; set; } - /// - /// Наименование - /// - public required string Name { get; set; } = string.Empty; + /// + /// Наименование + /// + public required string Name { get; set; } = string.Empty; /// /// Описание