namespace HStation.WinFrmUI.Basic { public class SysCatalogViewModel { public SysCatalogViewModel() { } public SysCatalogViewModel(SysCatalogViewModel rhs) { this.ID = rhs.ID; this.ParentID = rhs.ParentID; this.Description = rhs.Description; this.Name = rhs.Name; this.TypeID = rhs.TypeID; this.SortCode = rhs.SortCode; this.Code = rhs.Code; } public SysCatalogViewModel(Yw.Vmo.SysCatalogVmo rhs) { this.ID = rhs.ID; this.ParentID = rhs.ParentID; this.Description = rhs.Description; this.Name = rhs.Name; this.TypeID = rhs.TypeID; this.SortCode = rhs.SortCode; this.Code = rhs.Code; } public void Reset(Yw.Vmo.SysCatalogVmo rhs) { this.ID = rhs.ID; this.Description = rhs.Description; this.Name = rhs.Name; this.Code = rhs.Code; } public long ID { get; set; } public long ParentID { get; set; } public long TypeID { get; set; } public string Name { get; set; } public string Code { get; set; } public int SortCode { get; set; } public string Description { get; set; } } }