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

namespace wispro.sp.entity
{
    /// <summary>
    /// 部门
    /// </summary>
    public class Department
    {
        /// <summary>
        /// Id
        /// </summary>
        public int Id { get; set; }

        /// <summary>
        /// 部门名称
        /// </summary>
        public string Name { get; set; }

        /// <summary>
        /// 祖先节点Id，用逗号(,)隔开
        /// 例如：1,2,3
        /// </summary>
        public string ancestors { get; set; }

        /// <summary>
        /// 同层排序字段
        /// </summary>
        public int? order_num { get; set; }

        /// <summary>
        /// 部门备注
        /// </summary>

        public string Memo { get; set; }
        
        /// <summary>
        /// 上级部门Id
        /// </summary>
        public int? parentId { get; set; }
    }
}
