namespace IStation.Application
{
///
///
///
public class LogicTreeItemDto
{
///
///
///
public LogicTreeItemDto() { }
///
///
///
public LogicTreeItemDto(Model.LogicTreeEx rhs)
{
this.ID = rhs.ID;
this.ParentID = rhs.ParentIds.LastOrDefault();
this.Name = rhs.Name;
this.LogicType = rhs.LogicType;
this.LogicID = rhs.LogicID;
this.SortCode = rhs.SortCode;
this.Description = rhs.Description;
}
///
/// id
///
public long ID { get; set; }
///
/// 父级id
///
public long ParentID { get; set; }
///
/// 名称
///
public string Name { get; set; }
///
/// 业务类型
///
public string LogicType { get; set; }
///
/// 业务id
///
public long LogicID { get; set; }
///
/// 排序码
///
public int SortCode { get; set; }
///
/// 说明
///
public string Description { get; set; }
}
}