duheng
2024-09-13 8b094b66a3498f7d4b58562f2d14057826a5e630
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
using System.ComponentModel;
 
namespace HStation.WinFrmUI.Dict.Core
{
    public class DictGroupViewModel
    {
        public DictGroupViewModel()
        { }
 
        public DictGroupViewModel(Yw.Vmo.SysDictGroupVmo rhs)
        {
            this.ID = rhs.ID;
            this.Description = rhs.Description;
            this.Name = rhs.Name;
            this.Code = rhs.Code;
        }
 
        public void Reset(Yw.Vmo.SysDictGroupVmo rhs)
        {
            this.Description = rhs.Description;
            this.Name = rhs.Name;
            this.ID = rhs.ID;
            this.Code = rhs.Code;
        }
 
        [DisplayName("ID")]
        [Browsable(true)]
        public long ID { 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; }
    }
}