Files
2026-09-30 15:46:20 +08:00

21 lines
401 B
C#

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;
}
}