using System.Text.Json.Serialization;

namespace ClawdDotNet.Core.Config;

public sealed class ToolJobConfig
{
    [JsonPropertyName("jobId")]
    public string JobId { get; set; } = Guid.NewGuid().ToString("N")[..8];

    [JsonPropertyName("toolName")]
    public string ToolName { get; set; } = "";

    [JsonPropertyName("jobTypeId")]
    public string JobTypeId { get; set; } = "";

    [JsonPropertyName("cron")]
    public string Cron { get; set; } = "";

    [JsonPropertyName("enabled")]
    public bool Enabled { get; set; } = true;

    [JsonPropertyName("runOnStart")]
    public bool RunOnStart { get; set; }
}
