namespace HStation.WinFrmUI
{
///
///
///
public class HomeXhsProjectTreeViewModel
{
///
///
///
public HomeXhsProjectTreeViewModel()
{ }
///
///
///
public HomeXhsProjectTreeViewModel(XhsProjectStdDto rhs, bool IsHave)
{
this.ID = rhs.ID;
this.ParentID = rhs.ParentID;
this.Name = rhs.Name;
this.SortCode = rhs.SortCode;
this.Description = rhs.Description;
this.Project = rhs;
if (IsHave)
{
this.ImageIndex = ImageLib.NotImported;
}
}
///
/// ID
///
public long ID { get; set; }
///
/// ParentID
///
public long ParentID { get; set; }
///
/// 名称
///
public string Name { get; set; }
///
/// 排序码
///
public int SortCode { get; set; }
///
/// 说明
///
public string Description { get; set; }
///
/// 项目
///
public XhsProjectStdDto Project { get; set; }
///
/// 图标索引
///
public int? ImageIndex { get; set; }
}
}