using System;
namespace SabreTools.Core
{
///
/// Maps a set of strings to an enum value
///
[AttributeUsage(AttributeTargets.Field, AllowMultiple = false)]
public class MappingAttribute : Attribute
{
///
/// Set of mapping strings
///
public string[] Mappings { get; }
///
/// Constructor
///
public MappingAttribute(params string[] mappings)
{
Mappings = mappings;
}
}
}