using System; using System.Collections.Generic; namespace Haoliang.Models.System { public class BusinessRuleConfig { public int RuleId { get; set; } public string RuleName { get; set; } public string RuleType { get; set; } public string Category { get; set; } public bool IsEnabled { get; set; } public string Configuration { get; set; } public DateTime CreatedAt { get; set; } public DateTime UpdatedAt { get; set; } } public class StatisticsRuleConfig { public int ConfigId { get; set; } public string ConfigName { get; set; } public string ConfigType { get; set; } public string Formula { get; set; } public string GroupBy { get; set; } public bool IsActive { get; set; } public DateTime CreatedAt { get; set; } public DateTime UpdatedAt { get; set; } } public class SystemConfiguration { public int ConfigId { get; set; } public string ConfigKey { get; set; } public string ConfigValue { get; set; } public string Category { get; set; } public string Description { get; set; } public bool IsActive { get; set; } public DateTime LastUpdated { get; set; } } public class RuleExecutionHistory { public int HistoryId { get; set; } public int RuleId { get; set; } public DateTime ExecutionTime { get; set; } public bool Success { get; set; } public string Result { get; set; } public string ErrorMessage { get; set; } } }