using System.Collections.Generic; using CommunityToolkit.Mvvm.ComponentModel; namespace DeclarationAutomatization.Models; public partial class DeclarationItem : ObservableObject { public int SequentialNumber { get; init; } public string Description { get; init; } = ""; public string TnVed { get; init; } = ""; public string CountryId { get; init; } = ""; public decimal Quantity { get; init; } public decimal AmountWithVat { get; init; } public decimal GrossWeight { get; init; } public decimal NetWeight { get; init; } public string RegNumber { get; init; } = ""; public string RegDate { get; init; } = ""; [ObservableProperty] private string _declarationCode = ""; [ObservableProperty] private ConfidenceLevel _confidence = ConfidenceLevel.Missing; // Все возможные коды при неоднозначном ТН ВЭД (для выпадающего списка) public List CandidateCodes { get; set; } = new(); }