Доработать комментарии модели DataSourceSystem

This commit is contained in:
Roman Efremov 2024-12-13 11:01:53 +05:00
parent 8f76400d77
commit c589cbcd0d
2 changed files with 8 additions and 8 deletions

View File

@ -5,12 +5,12 @@ using System.ComponentModel.DataAnnotations.Schema;
namespace Persistence.Database.Entity; namespace Persistence.Database.Entity;
public class DataSourceSystem public class DataSourceSystem
{ {
[Key, Comment("Id системы")] [Key, Comment("Id системы - источника данных")]
public Guid SystemId { get; set; } public Guid SystemId { get; set; }
[Required, Column(TypeName = "varchar(256)"), Comment("Наименование системы")] [Required, Column(TypeName = "varchar(256)"), Comment("Наименование системы - источника данных")]
public required string Name { get; set; } public required string Name { get; set; }
[Comment("Описание системы")] [Comment("Описание системы - источника данных")]
public string? Description { get; set; } public string? Description { get; set; }
} }

View File

@ -1,7 +1,7 @@
namespace Persistence.Models; namespace Persistence.Models;
/// <summary> /// <summary>
/// Модель системы /// Модель системы - источника данных
/// </summary> /// </summary>
public class DataSourceSystemDto public class DataSourceSystemDto
{ {
@ -10,10 +10,10 @@ public class DataSourceSystemDto
/// </summary> /// </summary>
public Guid SystemId { get; set; } public Guid SystemId { get; set; }
/// <summary> /// <summary>
/// Наименование /// Наименование
/// </summary> /// </summary>
public required string Name { get; set; } = string.Empty; public required string Name { get; set; } = string.Empty;
/// <summary> /// <summary>
/// Описание /// Описание