using System;

namespace OrderEntrySystem
{
    public class EntityControlAttribute : Attribute
    {
        public EntityControlAttribute(ControlType controlType, int sequence)
            : this(controlType, null, sequence)
        {
        }

        public EntityControlAttribute(ControlType controlType, string description, int sequence)
        {
            this.ControlType = controlType;
            this.Description = description;
            this.Sequence = sequence;
        }

        public ControlType ControlType { get; set; }

        public string Description { get; set; }

        public int Sequence { get; set; }
    }
}
