using DD.Persistence.Models; using Microsoft.EntityFrameworkCore; using System.ComponentModel.DataAnnotations; using System.ComponentModel.DataAnnotations.Schema; namespace DD.Persistence.Database.Entity; [Table("data_scheme")] public class DataScheme { [Key, Comment("Идентификатор схемы данных"),] public Guid DiscriminatorId { get; set; } [Comment("Наименования полей в порядке индексации"), Column(TypeName = "jsonb")] public string[] PropNames { get; set; } = []; [Comment("Типы полей в порядке индексации")] public PropTypeEnum[] PropTypes { get; set; } = []; }