16 lines
523 B
C#
16 lines
523 B
C#
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; } = [];
|
|
}
|