using HStation.Vmo; namespace HStation.WinFrmUI { /// /// /// [TypeConverter(typeof(PropertySorter))] public class HomeXhsProjectPropertyViewModel { /// /// /// public HomeXhsProjectPropertyViewModel() { } /// /// /// 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; } /// /// 编号 /// [DisplayName("项目编号")] [Category("基本信息")] [PropertyOrder(1)] [Browsable(true)] public string NO { get; set; } /// /// 名称 /// [DisplayName("项目名称")] [Category("基本信息")] [PropertyOrder(2)] [Browsable(true)] public string Name { get; set; } /// /// 详细地址 /// [DisplayName("详细地址")] [Category("基本信息")] [PropertyOrder(6)] [MultiText] [Browsable(true)] public string Address { get; set; } /// /// 客户名称 /// [DisplayName("客户名称")] [Category("基本信息")] [PropertyOrder(7)] [Browsable(true)] public string Customer { get; set; } /// /// 标签 /// [DisplayName("标签")] [Category("基本信息")] [PropertyOrder(8)] [Browsable(true)] public string Flags { get; set; } /// /// 标志 /// [DisplayName("标志")] [Category("基本信息")] [PropertyOrder(9)] [Browsable(true)] public string TagName { get; set; } /// /// 说明 /// [DisplayName("说明")] [Category("基本信息")] [PropertyOrder(10)] [Browsable(true)] [MultiText] public string Description { get; set; } /// /// /// [Browsable(false)] public XhsProjectVmo Project { get; set; } } }