HierarchyReportItem
Definition
Namespace: Surya.Ab.Export.Client.Models
Assembly: Surya.Ab.Export.dll
Provides the data structure for Hierarchy Report format.
public class HierarchyReportItem<TDynamic>
Properties
Name | Definition |
---|---|
Id | Represents the Id of a HierarchyReportItem. |
Name | Represents the first column field description. |
ParentId | Represents the Id of the parent HierarchyReportItem. |
Depth | Represents the depth or level of the HierarchyReportItem. |
Type | Represents the type of the HierarchyReportItem, indicated by the ReportItemType enum. |
DynamicFieldValues | Represents dynamic field values associated with the HierarchyReportItem, of type TDynamic. |
Structure
public class HierarchyReportItem<TKey, TData>
{
public TKey Id { get; set; }
public string? Name { get; set; }
public TKey ParentId { get; set; }
public int Depth { get; set; }
public ReportItemType Type { get; set; }
public TData? DynamicFieldValues { get; set; }
}
ReportItemType
An enum defining two types of ReportItem: NDI and DI
Structure
public enum ReportItemType
{
NDI,
DI
}