persistence/DD.Persistence.Database/Entity/DataScheme.cs
Roman Efremov 4af65e258b
Some checks failed
Unit tests / test (push) Failing after 2m51s
Правки после ревью
2025-01-22 16:13:56 +05:00

15 lines
500 B
C#

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