lixiaojun
2024-08-13 d06e5f065b7d1d2ccb8812d6aeb768b825a82d1e
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
namespace HStation.WinFrmUI.Basic
{
    public class SysCatalogViewModel
    {
        public SysCatalogViewModel(Yw.Vmo.SysCatalog 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.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; }
    }
}