lixiaojun
2024-11-16 366e8053d77db67dee65a31e3510d14901f14e11
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
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
using System.ComponentModel;
 
namespace HStation.WinFrmUI.Dict.Core
{
    public class DictTypeViewModel
    {
        public DictTypeViewModel()
        { }
 
        public DictTypeViewModel(Yw.Vmo.SysDictTypeVmo rhs)
        {
            this.ID = rhs.ID;
            this.GroupID = rhs.GroupID;
            this.Name = rhs.Name;
            this.Description = rhs.Description;
            this.SortCode = rhs.SortCode;
            this.Code = rhs.Code;
        }
 
        public void Reset(Yw.Vmo.SysDictTypeVmo rhs)
        {
            this.ID = rhs.ID;
            this.GroupID = rhs.GroupID;
            this.Name = rhs.Name;
            this.Description = rhs.Description;
            this.SortCode = rhs.SortCode;
            this.Code = rhs.Code;
        }
 
        [DisplayName("ID")]
        [Browsable(true)]
        public long ID { get; set; }
 
        [DisplayName("组ID")]
        [Browsable(true)]
        public long GroupID { get; set; }
 
        [DisplayName("排序码")]
        [Browsable(true)]
        public int SortCode { get; set; }
 
        [DisplayName("名称")]
        [Browsable(true)]
        public string Name { get; set; }
 
        [DisplayName("编码")]
        [Browsable(true)]
        public string Code { get; set; }
 
        [DisplayName("说明")]
        [Browsable(true)]
        public string Description { get; set; }
    }
}