Option Strict On
Option Explicit On

Namespace Nexamas.UI.DataBinding

    ''' <summary>
    ''' Friend-only drilldown entry mapping one source item to the projected pivot
    ''' cell that consumed it. The original item is preserved for diagnostics and
    ''' future export adapters without exposing a query engine.
    ''' </summary>
    Friend NotInheritable Class MASPivotDrilldownEntry
        Friend Sub New(stableKey As String,
                       item As Object,
                       rowKey As String,
                       columnKey As String,
                       value As Decimal)
            Me.StableKey = If(stableKey, String.Empty).Trim()
            Me.Item = item
            Me.RowKey = If(rowKey, String.Empty)
            Me.ColumnKey = If(columnKey, String.Empty)
            Me.Value = value
        End Sub

        Friend ReadOnly Property StableKey As String
        Friend ReadOnly Property Item As Object
        Friend ReadOnly Property RowKey As String
        Friend ReadOnly Property ColumnKey As String
        Friend ReadOnly Property Value As Decimal
    End Class

End Namespace
