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