using System.Collections.Generic; namespace DeclarationAutomatization.Models; // Одна группа из Листа1: строка ИТОГО + все рег. номера из строк группы public class Sheet1Group { public int SequentialNumber { get; set; } public string Description { get; set; } = ""; public string TnVed { get; set; } = ""; public string CountryId { get; set; } = ""; public decimal Quantity { get; set; } public decimal AmountWithVat { get; set; } public decimal GrossWeight { get; set; } public decimal NetWeight { get; set; } // Все уникальные рег. номера из всех строк группы (включая строку ИТОГО) public List RegNumbers { get; set; } = new(); }