using JiShe.CollectBus.Analyzers.Shared;
using JiShe.CollectBus.IoTDB.Attributes; 

namespace JiShe.CollectBus.IoTDB.Model
{
    /// <summary>
    /// Table模型单项数据实体
    /// </summary> 
    [SourceAnalyzers(EntityTypeEnum.TableModel)]
    [IgnoreInitTable]
    public class TableModelSingleMeasuringEntity<T> : IoTEntity
    {
        /// <summary>
        /// 单项数据键值对
        /// </summary>
        [SingleMeasuring(nameof(SingleColumn))]
        public required ValueTuple<string, T> SingleColumn { get; set; }
    }
}
