using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace Store.Framework.Jobs; [AttributeUsage(AttributeTargets.Class, AllowMultiple = false)] public class JobAttribute : Attribute { public string Name { get; } public string Cron { get; } public JobAttribute(string name, string cron) { Name = name; Cron = cron; } }