using System;
namespace FlexFramework.Excel
{
///
/// Table mapping
///
[AttributeUsage(AttributeTargets.Class | AttributeTargets.Struct, Inherited = false)]
public sealed class TableAttribute : Attribute
{
///
/// One-based row indices to ignore when converting
///
public int[] Ignore { get; private set; }
///
/// Enable safe converting
///
public bool SafeMode { get; set; }
///
/// Mapping table
///
/// One-based row indices to ignore when converting
public TableAttribute(params int[] ignore)
{
Ignore = ignore;
}
}
}