25 lines
464 B
C#
25 lines
464 B
C#
using System;
|
|
|
|
namespace AxCopilot.Services;
|
|
|
|
public class TriggerRule
|
|
{
|
|
public string Name { get; set; } = "";
|
|
|
|
public string Type { get; set; } = "file_change";
|
|
|
|
public string Prompt { get; set; } = "";
|
|
|
|
public string? Pattern { get; set; }
|
|
|
|
public int? IntervalMinutes { get; set; }
|
|
|
|
public int? ActiveHourStart { get; set; }
|
|
|
|
public int? ActiveHourEnd { get; set; }
|
|
|
|
public bool Enabled { get; set; } = true;
|
|
|
|
public DateTime? LastRun { get; set; }
|
|
}
|