using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace OrderEntrySystem.Reflection
{
    public class EntityColumnAttribute : Attribute
    {
        public EntityColumnAttribute(string description, int sequence, double width = double.NaN)
        {
            this.Description = description;
            this.Sequence = sequence;
            this.Width = width;
        }

        public EntityColumnAttribute(int sequence, double width)
            : this(string.Empty, sequence, width)
        {

        }

        public string Description { get; }

        public int Sequence { get; }

        public double Width { get; }
    }
}
