namespace JiShe.CollectBus.IoTDB.Options
{
    /// <summary>
    /// 查询条件
    /// </summary>
    public class IoTDBQueryOptions
    {
        /// <summary>
        /// 表模型的表名称或者树模型的设备路径
        /// </summary>
        public required string TableNameOrTreePath { get; set; }

        /// <summary>
        /// 分页
        /// </summary>
        public int PageIndex { get; set; }

        /// <summary>
        /// 分页大小
        /// </summary>
        public int PageSize { get; set; }

        /// <summary>
        /// 查询条件
        /// </summary>
        public List<QueryCondition> Conditions { get; set; } = new();
    }
}
