1
0
mirror of https://github.com/Radarr/Radarr.git synced 2024-11-04 10:02:40 +01:00
Radarr/NzbDrone.Core/Annotations/FieldDefinitionAttribute.cs
2013-05-21 00:56:28 -07:00

25 lines
562 B
C#

using System;
namespace NzbDrone.Core.Annotations
{
[AttributeUsage(AttributeTargets.Property, AllowMultiple = false)]
public class FieldDefinitionAttribute : Attribute
{
public FieldDefinitionAttribute(int order)
{
Order = order;
}
public int Order { get; private set; }
public string Label { get; set; }
public string HelpText { get; set; }
public FieldType Type { get; set; }
}
public enum FieldType
{
Textbox,
Password,
Checkbox
}
}