using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace CallCenterApi.Model
{
public class TreeModel
{
private string _id;
///
/// Id
///
public string id
{
set { _id = value; }
get { return _id; }
}
private string _code;
///
/// code
///
public string code
{
set { _code = value; }
get { return _code; }
}
private string iconCls;
///
/// 图标
///
public string IconCls
{
set { iconCls = value; }
get { return iconCls; }
}
private string _text;
///
/// 树节点显示文本
///
public string text
{
set { _text = value; }
get { return _text; }
}
private List _children;
//public List children
//{
// set { _children = value; }
// get { return _children; }
//}
public IEnumerable children
{
get; set;
}
public int flag { get; set; } //1部门,2人员
public int islast { get; set; }//是否最后一层
private int _headerid;
///
/// 树节点显示文本
///
public int headerid
{
set { _headerid = value; }
get { return _headerid; }
}
}
}