namespace MoneyMap.Models.Import { /// /// Context for transaction import operations, containing payment selection mode and available options. /// public class ImportContext { public required PaymentSelectMode PaymentMode { get; init; } public int? SelectedCardId { get; init; } public int? SelectedAccountId { get; init; } public required List AvailableCards { get; init; } public required List AvailableAccounts { get; init; } public required string FileName { get; init; } } /// /// Specifies how to determine the payment method for imported transactions. /// public enum PaymentSelectMode { /// Auto-detect from memo or filename. Auto, /// Use a specific card for all transactions. Card, /// Use a specific account for all transactions. Account } }