feat(aihitRelationshipsSyncer): полностью переписан класс+добавлены сообщения дл\ отладки

This commit is contained in:
Mikhail Kuznetsov
2025-10-31 17:35:54 +10:00
parent a3e12816c8
commit e716d9649d
11 changed files with 354 additions and 236 deletions

View File

@@ -3,11 +3,11 @@ using System.ComponentModel.DataAnnotations.Schema;
namespace PARR.AIHITRelationshipsSyncer.Models
{
[PrimaryKey(nameof(EKFindCode), nameof(ChildEk))]
public class AihitData
[PrimaryKey(nameof(ParentName), nameof(ChildName))]
public record AihitData
{
[Column("КОД_ПОИСКАК")]
public string? EKFindCode { get; set; }
public string? ParentName { get; set; }
//[Column("СТАТУС")]
//public string? Status { get; set; }
@@ -21,6 +21,6 @@ namespace PARR.AIHITRelationshipsSyncer.Models
//[Column("ТИП_ЭК")]
//public string? EKType { get; set; }
[Column("Дочерний ЭК")]
public string? ChildEk { get; set; }
public string? ChildName { get; set; }
}
}