namespace StellaOps.Feedser.Core.Jobs;

public sealed record JobDefinition(
    string Kind,
    Type JobType,
    TimeSpan Timeout,
    TimeSpan LeaseDuration,
    string? CronExpression,
    bool Enabled)
{
    public string LeaseKey => $"job:{Kind}";
}
