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

namespace TEAMModelOS.Models.Dto
{
    public class BlockPointDto
    {
        public string PartitionKey { get; set; }
        public string RowKey { get; set; }
        /// <summary>
        /// 名称
        /// </summary>
        public string Name { get; set; }
        /// <summary>
        /// 描述
        /// </summary>
       // public string Description { get; set; }
        /// <summary>
        /// 上级ID
        /// </summary>
        public string Pid { get; set; } = "root";
        /// <summary>
        /// 学科
        /// </summary>
        public string SubjectCode { get; set; }
        /// <summary>
        /// 建议学段
        /// </summary>
        public string AdvicePeriodCode { get; set; }
        /// <summary>
        /// 类型0 知识块，1知识点
        /// </summary>
        public int Type { get; set; }
        /// <summary>
        /// 是否展开
        /// </summary>
        public bool Expand { get; set; }
        public int Order { get; set; }
        //public DateTimeOffset Timestamp { get; set; }
        //[IgnoreMember]
        // public List<PointDto> Points { get; set; }
        public List<BlockPointDto> Children { get; set; }

        public BlockPointDto()
        {
            Children = new List<BlockPointDto>();
        }
    }
}
