29 lines
678 B
C#
Raw Normal View History

2025-04-17 20:28:50 +08:00
namespace JiShe.CollectBus.IoTDB.Options
2025-04-02 14:06:40 +08:00
{
/// <summary>
/// 查询条件
/// </summary>
public class QueryCondition
{
/// <summary>
/// 字段
/// </summary>
public string Field { get; set; }
2025-04-02 14:06:40 +08:00
/// <summary>
/// 操作符,>=<
2025-04-02 14:06:40 +08:00
/// </summary>
public string Operator { get; set; }
/// <summary>
/// 是否数值,如果是数值,则进行数值比较,否则进行字符串比较
/// </summary>
public bool IsNumber { get; set; } = false;
2025-04-02 14:06:40 +08:00
/// <summary>
/// 值
/// </summary>
public object Value { get; set; }
}
}