namespace DS.Module.Core.Condition
{
public class ConditionContent
{
///
/// 逻辑操作符
///
public string LogicalOperator { get; set; } = "and";
///
/// 条件
///
public List Conditions { get; set; } = [];
///
/// 条件组
///
public List? Groups { get; set; }
///
/// 数据源名称
///
public string? SourceName { get; set; }
}
public class ConditionDetail
{
///
/// 字段
///
public string Field { get; set; }
///
/// 操作符
///
public string Operator { get; set; }
///
/// 值
///
public string Value { get; set; }
///
/// 值类型 string(默认)/bool/number/datetime
///
public string? ValueType { get; set; }
}
}