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