using System.Collections.Generic;
using System.Text.Json.Serialization;
namespace LTEMvcApp.Models
{
///
/// 网络配置响应
///
public class NetworkConfigResponse
{
[JsonPropertyName("data")]
public List Data { get; set; } = new();
[JsonPropertyName("isSuccess")]
public bool IsSuccess { get; set; }
[JsonPropertyName("message")]
public string Message { get; set; } = string.Empty;
[JsonPropertyName("errorCode")]
public string ErrorCode { get; set; } = string.Empty;
[JsonPropertyName("statusCode")]
public int StatusCode { get; set; }
}
///
/// 网络配置
///
public class NetworkConfig
{
///
/// 配置键
///
[JsonPropertyName("configKey")]
public string ConfigKey { get; set; } = string.Empty;
///
/// RAN配置路径
///
[JsonPropertyName("ragConfig")]
public string RagConfig { get; set; } = string.Empty;
///
/// 核心或IMS配置
///
[JsonPropertyName("coreOrImsConfigs")]
public List CoreOrImsConfigs { get; set; } = new();
///
/// APN
///
[JsonPropertyName("apn")]
public string Apn { get; set; } = string.Empty;
///
/// 频段列表
///
[JsonPropertyName("band")]
public List Band { get; set; } = new();
///
/// 注释
///
[JsonPropertyName("comment")]
public string Comment { get; set; } = string.Empty;
}
}