using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using IStation.Untity;
namespace IStation.Application
{
///
///
///
public class LogicTreeLogicDto
{
///
///
///
public LogicTreeLogicDto() { }
///
///
///
public LogicTreeLogicDto(Model.LogicTreeEx rhs)
{
this.ID = rhs.ID;
this.CorpID= rhs.CorpID;
this.CatalogID= rhs.CatalogID;
this.ParentID = TreeParentIdsHelper.GetLastParentID(rhs.ParentIds);
this.ParentIds= rhs.ParentIds;
this.LogicType= rhs.LogicType;
this.LogicID= rhs.LogicID;
this.LogicName= rhs.LogicName;
this.SortCode= rhs.SortCode;
this.Description= rhs.Description;
}
///
/// 标识
///
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; }
}
}