Files
parr_api/PARR.AIHITRelationshipsSyncer/Models/AihitData.cs

27 lines
806 B
C#
Raw Normal View History

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; }
}
}