using LiteDB;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace VIZ.Package.Storage
{
    /// <summary>
    /// 控制对象实体
    /// </summary>
    public class ControlObjectEntity
    {
        /// <summary>
        /// 编号
        /// </summary>
        [BsonId(true)]
        public int Id { get; set; }

        /// <summary>
        /// 所属模板ID或页ID
        /// </summary>
        public Guid PageID { get; set; }

        /// <summary>
        /// 所在场景节点名称
        /// </summary>
        public string TreeNodeName { get; set; }

        /// <summary>
        /// 所在场景节点路径
        /// </summary>
        public string TreeNodePath { get; set; }

        /// <summary>
        /// 描述
        /// </summary>
        public string Description { get; set; }

        /// <summary>
        /// 使用所有的控制器
        /// </summary>
        public bool UseAllDirectors { get; set; }

        /// <summary>
        /// 字段描述
        /// </summary>
        public string FieldDetails { get; set; }
    }
}
