namespace Yw.WinFrmUI.HydroW3d { /// /// 组件 /// 所有组件的基类 /// public class ParterViewModel { /// /// /// public ParterViewModel() { } /// /// /// public ParterViewModel(ParterViewModel rhs) { this.Id = rhs.Id; this.Catalog = rhs.Catalog; this.Name = rhs.Name; } /// /// id /// [JsonProperty("Id", NullValueHandling = NullValueHandling.Ignore)] public string Id { get; set; } /// /// 分类 /// [JsonIgnore] public string Catalog { get; set; } /// /// 名称 /// [JsonProperty("Name", NullValueHandling = NullValueHandling.Ignore)] public string Name { get; set; } } }