using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace CloudGaming.Core.AgileConfig.AgileConfigClient { /// /// 应用的视图模型,包含应用的基本信息 /// public class ApiAppVM { /// /// 应用的唯一标识符 /// public string Id { get; set; } /// /// 应用的名称 /// public string Name { get; set; } /// /// 应用是否启用,true 表示启用,false 表示禁用 /// public bool Enabled { get; set; } /// /// 应用的密钥,用于身份验证 /// public string Secret { get; set; } /// /// 是否继承其他应用的配置 /// public bool Inheritanced { get; set; } /// /// 继承的其他应用列表 /// public List InheritancedApps { get; set; } } public class ApiConfigVM { public string Id { get; set; } public string AppId { get; set; } public string Group { get; set; } public string Key { get; set; } public string Value { get; set; } } public class ApiNodeVM { public string Address { get; set; } public string Remark { get; set; } public int Status { get; set; } } }