diff --git a/src/X1.DynamicClientCore/Models/CellularNetworkConfiguration.cs b/src/X1.DynamicClientCore/Models/CellularNetworkConfiguration.cs new file mode 100644 index 0000000..70faabc --- /dev/null +++ b/src/X1.DynamicClientCore/Models/CellularNetworkConfiguration.cs @@ -0,0 +1,66 @@ +using System; +using System.Collections.Generic; +using System.ComponentModel.DataAnnotations; +using System.Linq; +using System.Text; +using System.Threading.Tasks; + +namespace X1.DynamicClientCore.Models +{ + /// + /// 蜂窝网络配置实体 + /// + public class CellularNetworkConfiguration + { + /// + /// 设备代码 + /// + [Required(ErrorMessage = "设备代码不能为空")] + public string DeviceCode { get; set; } + + /// + /// 运行时代码 + /// + [Required(ErrorMessage = "运行时代码不能为空")] + public string RuntimeCode { get; set; } + + /// + /// 无线接入网配置 + /// + public string RadioAccessNetworkConfiguration { get; set; } + + /// + /// 核心网IMS配置集合 + /// + public List CoreNetworkImsConfigurations { get; set; } = new List(); + + } + + /// + /// 核心网IMS配置对象 + /// + public class CoreNetworkImsConfiguration + { + /// + /// 索引 + /// + public int Index { get; set; } + + /// + /// PLMN标识 + /// + [Required(ErrorMessage = "PLMN标识不能为空")] + public string Plmn { get; set; } + + /// + /// 核心网配置 + /// + public string CoreNetworkConfiguration { get; set; } + + /// + /// IMS服务配置 + /// + public string ImsServiceConfiguration { get; set; } + + } +}