namespace HStation.WinFrmUI.Basic { public class SysCatalogViewModel : Yw.Dto.SysCatalogDto { public SysCatalogViewModel(Yw.Dto.SysCatalogDto 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.Dto.UpdateSysCatalogInput rhs) { this.ID = rhs.ID; this.Description = rhs.Description; this.Name = rhs.Name; this.Code = rhs.Code; } } }