using System.Text.Json.Serialization;
namespace CoreAgent.Domain.Models.System;
///
/// 命令模板配置
///
public class CommandTemplateConfig
{
///
/// 命令类型
///
[JsonPropertyName("type")]
public NetworkCommandType Type { get; set; }
///
/// 命令模板
///
[JsonPropertyName("template")]
public string Template { get; set; }
///
/// 超时时间(毫秒)
///
[JsonPropertyName("timeout")]
public int Timeout { get; set; }
///
/// 是否启用
///
[JsonPropertyName("isEnabled")]
public bool IsEnabled { get; set; } = true;
}