using Microsoft.EntityFrameworkCore;
using System.ComponentModel.DataAnnotations.Schema;

namespace PARR.AIHITRelationshipsSyncer.Models
{
    [PrimaryKey(nameof(ParentName), nameof(ChildName))]
    public record AihitData
    {
        [Column("КОД_ПОИСКА_ЭК")]
        public string? ParentName { get; set; }

        //[Column("СТАТУС")]
        //public string? Status { get; set; }

        //[Column("ЗОНА_ОТВЕТСТВЕННОСТИ")]
        //public string? ResponseArea { get; set; }

        //[Column("ПОДКАТЕГОРИЯ_ЭК")]
        //public string? EKSubCategory { get; set; }

        //[Column("ТИП_ЭК")]
        //public string? EKType { get; set; }
        [Column("Дочерний ЭК")]
        public string? ChildName { get; set; }
    }
}
