duheng
2024-07-08 06a92956009d512f7816b2465c39235853cf10b1
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
namespace HStation.WinFrmUI.Xhs
{
    public class CatlogViewModel : Yw.Dto.SysCatalogDto
    {
        public CatlogViewModel(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;
        }
    }
}