using Yw.Model; namespace HStation.Model { /// /// 图表关联 /// [SysType("phart-diagram-relation")] public class PhartDiagramRelation : BaseModel, ISorter, System.ICloneable { /// /// /// public PhartDiagramRelation() { } /// /// /// public PhartDiagramRelation(PhartDiagramRelation rhs) : base(rhs) { this.ObjectType = rhs.ObjectType; this.ObjectID = rhs.ObjectID; this.DiagramID = rhs.DiagramID; this.OtherName = rhs.OtherName; this.Importance = rhs.Importance; this.SortCode = rhs.SortCode; this.Description = rhs.Description; } /// /// /// public void Reset(PhartDiagramRelation rhs) { this.ID = rhs.ID; this.ObjectType = rhs.ObjectType; this.ObjectID = rhs.ObjectID; this.DiagramID = rhs.DiagramID; this.OtherName = rhs.OtherName; this.Importance = rhs.Importance; this.SortCode = rhs.SortCode; this.Description = rhs.Description; } /// /// 对象类型 /// public string ObjectType { get; set; } /// /// 对象标识 /// public long ObjectID { get; set; } /// /// 图表标识 /// public long DiagramID { get; set; } /// /// 别名 /// public string OtherName { get; set; } /// /// 重要度 /// public int Importance { get; set; } /// /// 排序码 /// public int SortCode { get; set; } /// /// 说明 /// public string Description { get; set; } /// /// /// public PhartDiagramRelation Clone() { return (PhartDiagramRelation)this.MemberwiseClone(); } object ICloneable.Clone() { return this.MemberwiseClone(); } } }