Files
zszq-trs/YLErpDAL/Modules/RiskEngine/Dto/RuleCondition.cs
T
尹峰 3bf90e25ef refactor(risk-engine): ConditionJson 改为 RuleCondition 数组格式,精简 DTO 命名
- 重命名 FormulaCondition → RuleCondition,删除 FormulaDefinition
- ValidateConditionJson 直接反序列化为 List<RuleCondition>,移除 LogicOperator 校验
- 新增 RiskRuleSimpleItem DTO
- 同步更新建表注释与种子数据
2026-06-25 20:44:30 +08:00

12 lines
323 B
C#

namespace YLErp.Modules.RiskEngine.Dto
{
public class RuleCondition
{
public long VariableId { get; set; }
public string Operator { get; set; }
public string ThresholdType { get; set; }
public object Value { get; set; }
public long? ThresholdVariableId { get; set; }
}
}