namespace MegghysAPI.Attributes { [AttributeUsage(AttributeTargets.Method)] public class AutoTimerAttribute : Attribute { /// /// 单位为s /// public int Time { get; set; } = 30; public bool CallOnRegister { get; set; } = false; public bool Log { get; set; } = true; } }