ningshuxia
2025-04-21 018bfb9c78088d9cd7b9371edcd2102abd594b4d
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
using System.ComponentModel;
 
namespace HStation.WinFrmUI.Basic
{
    public class SysFlagViewModel
    {
        public SysFlagViewModel(Yw.Vmo.SysFlagVmo rhs)
        {
            this.ID = rhs.ID;
            this.TypeID = rhs.TypeID;
            this.Name = rhs.Name;
            this.SortCode = rhs.SortCode;
            this.Description = rhs.Description;
        }
 
        public void Reset(Yw.Vmo.SysFlagVmo rhs)
        {
            this.ID = rhs.ID;
            this.TypeID = rhs.TypeID;
            this.Name = rhs.Name;
            this.SortCode = rhs.SortCode;
            this.Description = rhs.Description;
        }
 
        [DisplayName("ID")]
        [Browsable(false)]
        public long ID { get; set; }
 
        [DisplayName("类型ID")]
        [Browsable(false)]
        public long TypeID { get; set; }
 
        [DisplayName("名称")]
        [Browsable(true)]
        public string Name { get; set; }
 
        [DisplayName("排序码")]
        [Browsable(false)]
        public int SortCode { get; set; }
 
        [DisplayName("说明")]
        [Browsable(true)]
        public string Description { get; set; }
    }
}