using System;
using System.Collections.Generic;
using System.Text;

namespace InABox.Core
{
    /// <summary>
    /// Sets the "comment" of a given property. This allows for telling the user what a given column does, when selecting columns for grids and filters and stuff.
    /// This also is used as the <see cref="BaseEditor.ToolTip"/> if there is none provided.
    /// </summary>
    public class CommentAttribute : Attribute
    {
        public string Comment { get; set; }

        public CommentAttribute(string comment)
        {
            Comment = comment;
        }
    }
}
