using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace IStation.Model { /// /// 常规属性/内置属性/固定属性 /// public class GeneralProperty : System.ICloneable { /// /// /// public GeneralProperty() { } /// /// /// public GeneralProperty(GeneralProperty rhs) { this.ID = rhs.ID; this.ObjectType = rhs.ObjectType; this.PropertyName = rhs.PropertyName; this.DisplayName = rhs.DisplayName; this.SortCode = rhs.SortCode; this.Description = rhs.Description; } /// /// /// public void Reset(GeneralProperty rhs) { this.ID = rhs.ID; this.ObjectType = rhs.ObjectType; this.PropertyName = rhs.PropertyName; this.DisplayName = rhs.DisplayName; this.SortCode = rhs.SortCode; this.Description = rhs.Description; } /// /// 标识 /// public long ID { get; set; } /// /// 关联类型 /// public string ObjectType { get; set; } /// /// 属性名称 /// public string PropertyName { get; set; } /// /// 显示名称 /// public string DisplayName { get; set; } /// /// 排序码 /// public int SortCode { get; set; } /// /// 说明 /// public string Description { get; set; } /// /// /// public GeneralProperty Clone() { return (GeneralProperty)this.MemberwiseClone(); } object ICloneable.Clone() { return this.MemberwiseClone(); } } }