using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using IStation.Untity;
namespace IStation.Application
{
///
/// 业务清单项
///
public class LogicTreeItemDto
{
///
///
///
public LogicTreeItemDto() { }
///
///
///
public LogicTreeItemDto(Model.LogicTreeEx rhs)
{
this.ID = rhs.ID;
this.ParentID = TreeParentIdsHelper.GetLastParentID(rhs.ParentIds);
this.ParentIds = rhs.ParentIds?.ToList();
this.CorpID = rhs.CorpID;
this.CatalogID = rhs.CatalogID;
this.LogicName = rhs.LogicName;
this.LogicType = rhs.LogicType;
this.LogicID = rhs.LogicID;
this.SortCode = rhs.SortCode;
this.Description = rhs.Description;
this.Children = new List();
}
///
/// 标识
///
public long ID { get; set; }
///
/// 客户标识
///
public long CorpID { get; set; }
///
/// 类别标识
///
public long CatalogID { get; set; }
///
/// 父节点标识
///
public long ParentID { get; set; }
///
/// 父节点标识
///
public List ParentIds { get; set; }
///
/// 业务类型
///
public string LogicType { get; set; }
///
/// 业务标识
///
public long LogicID { get; set; }
///
/// 业务名称
///
public string LogicName { get; set; }
///
/// 排序码
///
public int SortCode { get; set; }
///
/// 说明
///
public string Description { get; set; }
///
/// 子项集合
///
public List Children { get; set; }
}
}