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.
|
|
|
|
namespace DS.Module.Core.Condition
|
|
|
|
|
{
|
|
|
|
|
public class ConditionContent
|
|
|
|
|
{
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 逻辑操作符
|
|
|
|
|
/// </summary>
|
|
|
|
|
public string LogicalOperator { get; set; } = "and";
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 条件组
|
|
|
|
|
/// </summary>
|
|
|
|
|
public List<ConditionDetail> Conditions { get; set; }
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 条件组
|
|
|
|
|
/// </summary>
|
|
|
|
|
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; }
|
|
|
|
|
}
|
|
|
|
|
}
|