using JiShe.CollectBus.IoTDB.Enums;

namespace JiShe.CollectBus.IoTDB.Attribute
{
    /// <summary>
    /// IoTDB实体类型特性
    /// </summary>
    [AttributeUsage(AttributeTargets.Class)]
    public class EntityTypeAttribute : System.Attribute
    {
        public EntityTypeEnum EntityType { get; }


        public EntityTypeAttribute(EntityTypeEnum entityType)
        {
            EntityType = entityType;
        }
    }
}
