using Newtonsoft.Json;
using System;
using System.Text.Json.Serialization;
namespace CoreAgent.Domain.Models.Protocol;
///
/// 基础网络日志实体类
/// 提供网络日志的通用属性和配置
///
/// 日志层类型(如ImsLayerLog或RanLayerLog)
public class BaseNetworkLog
{
///
/// 超时时间(毫秒)
///
[JsonProperty("timeout")]
public int Timeout { get; set; }
///
/// 最小日志数量
///
[JsonProperty("min")]
public int MinLogCount { get; set; }
///
/// 最大日志数量
///
[JsonProperty("max")]
public int MaxLogCount { get; set; }
///
/// 日志层配置
///
[JsonProperty("layers")]
public T LayerConfig { get; set; }
///
/// 日志消息
///
[JsonProperty("message")]
public string Message { get; set; }
///
/// 是否包含消息头
///
[JsonProperty("headers")]
public bool IncludeHeaders { get; set; }
///
/// 消息ID
///
[JsonProperty("message_id")]
public int MessageId { get; set; }
}