using System; namespace Gestor.Model.Attributes; [AttributeUsage(AttributeTargets.All)] public class NameAttribute : Attribute { public bool Log { get; set; } public virtual bool Description => DescriptionValue; protected bool DescriptionValue { get { return Log; } set { Log = value; } } public NameAttribute(bool log = true) { Log = log; } }