Shuxia Ning
2024-07-22 952cb084d1f31a1c2634b91d4d03374c359b52da
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.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;
        }
    }
}