You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

50 lines
1.6 KiB
C#

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; }
}
}