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 ScrollElementPackageEntity
    {
        /// <summary>
        /// 编号
        /// </summary>
        [BsonId(true)]
        public int Id { get; set; }

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

        /// <summary>
        /// 关联底飞字段
        /// </summary>
        public string FieldIdentifier { get; set; }

        /// <summary>
        /// 模板场景路径
        /// </summary>
        public string TemplateScenePath { get; set; }

        /// <summary>
        /// 模板字段
        /// </summary>
        public List<ControlFieldEntity> TemplateFields { get; set; } = new List<ControlFieldEntity>();
    }
}
