using Yw.Entity; namespace HStation.Entity { /// /// 图表关联 /// [SysType("phart-diagram-relation")] [SugarTable("phart_diagram_relation")] public class PhartDiagramRelation : BaseEntity, 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; } /// /// 对象类型 /// [SugarColumn(Length = 500, IsNullable = true)] public string ObjectType { get; set; } /// /// 对象标识 /// public long ObjectID { get; set; } /// /// 图表标识 /// public long DiagramID { get; set; } /// /// 别名 /// [SugarColumn(Length = 500, IsNullable = true)] public string OtherName { get; set; } /// /// 重要度 /// public int Importance { get; set; } /// /// 排序码 /// public int SortCode { get; set; } /// /// 说明 /// [SugarColumn(ColumnDataType = StaticConfig.CodeFirst_BigString, IsNullable = true)] public string Description { get; set; } /// /// /// public PhartDiagramRelation Clone() { return (PhartDiagramRelation)this.MemberwiseClone(); } object ICloneable.Clone() { return this.MemberwiseClone(); } } }