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