duheng
2024-11-19 ca5f300a7cef85d22b5e0f9d59d117c49f9909b3
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
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
using HStation.Vmo;
 
namespace HStation.WinFrmUI
{
    /// <summary>
    ///
    /// </summary>
    [TypeConverter(typeof(PropertySorter))]
    public class HomeXhsProjectPropertyViewModel
    {
        /// <summary>
        ///
        /// </summary>
        public HomeXhsProjectPropertyViewModel()
        { }
 
        /// <summary>
        ///
        /// </summary>
        public HomeXhsProjectPropertyViewModel(XhsProjectVmo rhs)
        {
            this.NO = rhs.NO;
            this.Name = rhs.Name;
            this.Address = rhs.Address;
            this.Customer = rhs.Customer;
            this.Flags = Yw.Untity.FlagsHelper.ToString(rhs.Flags);
            this.TagName = rhs.TagName;
            this.Description = rhs.Description;
 
            this.Project = rhs;
        }
 
        /// <summary>
        /// 编号
        /// </summary>
        [DisplayName("项目编号")]
        [Category("基本信息")]
        [PropertyOrder(1)]
        [Browsable(true)]
        public string NO { get; set; }
 
        /// <summary>
        /// 名称
        /// </summary>
        [DisplayName("项目名称")]
        [Category("基本信息")]
        [PropertyOrder(2)]
        [Browsable(true)]
        public string Name { get; set; }
 
        /// <summary>
        /// 详细地址
        /// </summary>
        [DisplayName("详细地址")]
        [Category("基本信息")]
        [PropertyOrder(6)]
        [MultiText]
        [Browsable(true)]
        public string Address { get; set; }
 
        /// <summary>
        /// 客户名称
        /// </summary>
        [DisplayName("客户名称")]
        [Category("基本信息")]
        [PropertyOrder(7)]
        [Browsable(true)]
        public string Customer { get; set; }
 
        /// <summary>
        /// 标签
        /// </summary>
        [DisplayName("标签")]
        [Category("基本信息")]
        [PropertyOrder(8)]
        [Browsable(true)]
        public string Flags { get; set; }
 
        /// <summary>
        /// 标志
        /// </summary>
        [DisplayName("标志")]
        [Category("基本信息")]
        [PropertyOrder(9)]
        [Browsable(true)]
        public string TagName { get; set; }
 
        /// <summary>
        /// 说明
        /// </summary>
        [DisplayName("说明")]
        [Category("基本信息")]
        [PropertyOrder(10)]
        [Browsable(true)]
        [MultiText]
        public string Description { get; set; }
 
        /// <summary>
        ///
        /// </summary>
        [Browsable(false)]
        public XhsProjectVmo Project { get; set; }
    }
}