using System; using YLErp.DBModels; namespace YLErp.Modules.RiskEngine.Dto { /// /// 应用配置详情响应 /// public class RiskApplicationDetail { /// 应用配置 ID public long Id { get; set; } /// 关联规则 ID 列表(JSON 数组) public string RuleIds { get; set; } /// 应用说明 public string Description { get; set; } /// 关联规则数(不含已删除规则) public int AssociatedRuleCount { get; set; } /// 生效规则数(关联规则中已启用的数量) public int EffectiveRuleCount { get; set; } /// 当前状态下是否允许启用 public bool CanEnable { get; set; } /// 当前状态下是否允许停用 public bool CanDisable { get; set; } /// 启用按钮不可用时的提示 public string EnableButtonTooltip { get; set; } /// 停用按钮不可用时的提示 public string DisableButtonTooltip { get; set; } /// 应用配置状态 public RiskRuleStatus Status { get; set; } /// 风控策略 public RiskControlStrategy ControlStrategy { get; set; } /// 触发点列表(JSON 数组) public string TriggerPoints { get; set; } /// 适用范围-资产账簿 ID 列表 public string ScopeAssetBookIds { get; set; } /// 适用范围-客户 ID 列表 public string ScopeClientIds { get; set; } /// 适用范围-标的类型列表 public string ScopeUnderlyingTypes { get; set; } /// 适用范围-交易类型列表 public string ScopeTradeTypes { get; set; } /// 是否全局生效 public int ScopeIsGlobal { get; set; } /// 版本号 public int Version { get; set; } /// 创建人姓名 public string OptName { get; set; } /// 创建时间 public DateTime OptDate { get; set; } /// 最后更新人姓名 public string UpdateOptName { get; set; } /// 最后更新时间 public DateTime UpdateDate { get; set; } } }