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.

44 lines
971 B
C#

namespace DS.Module.Core.Condition
{
4 months ago
public class ConditionContent
{
/// <summary>
/// 逻辑操作符
/// </summary>
4 months ago
public string LogicalOperator { get; set; } = "and";
/// <summary>
/// 条件组
/// </summary>
public List<ConditionDetail> Conditions { get; set; }
/// <summary>
/// 条件组
/// </summary>
4 months ago
public List<ConditionContent>? Groups { get; set; }
/// <summary>
/// 数据源名称
/// </summary>
public string? SourceName { get; set; }
}
public class ConditionDetail
{
/// <summary>
/// 字段
/// </summary>
public string Field { get; set; }
/// <summary>
/// 操作符
/// </summary>
public string Operator { get; set; }
/// <summary>
/// 值
/// </summary>
public string Value { get; set; }
}
}