2025-05-27 11:32:05 +10:00
|
|
|
|
using Microsoft.EntityFrameworkCore;
|
|
|
|
|
|
using System.ComponentModel.DataAnnotations.Schema;
|
|
|
|
|
|
|
|
|
|
|
|
namespace PARR.AIHITRelationshipsSyncer.Models
|
|
|
|
|
|
{
|
2025-10-31 17:35:54 +10:00
|
|
|
|
[PrimaryKey(nameof(ParentName), nameof(ChildName))]
|
|
|
|
|
|
public record AihitData
|
2025-05-27 11:32:05 +10:00
|
|
|
|
{
|
|
|
|
|
|
[Column("КОД_ПОИСКА_ЭК")]
|
2025-10-31 17:35:54 +10:00
|
|
|
|
public string? ParentName { get; set; }
|
2025-05-27 11:32:05 +10:00
|
|
|
|
|
|
|
|
|
|
//[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("Дочерний ЭК")]
|
2025-10-31 17:35:54 +10:00
|
|
|
|
public string? ChildName { get; set; }
|
2025-05-27 11:32:05 +10:00
|
|
|
|
}
|
|
|
|
|
|
}
|