using Yw.Entity;
namespace HStation.Entity
{
///
/// 过渡件
///
[SysType("assets-translation-main")]
[SugarTable("assets_translation_main")]
public class AssetsTranslationMain : BaseEntity, IParas, IFlags, ITagName, ISorter, System.ICloneable
{
///
///
///
public AssetsTranslationMain()
{ }
///
///
///
public AssetsTranslationMain(AssetsTranslationMain rhs) : base(rhs)
{
this.Name = rhs.Name;
this.SeriesID = rhs.SeriesID;
this.StartDiameter = rhs.StartDiameter;
this.EndDiameter = rhs.EndDiameter;
this.Roughness = rhs.Roughness;
this.TranslationType = rhs.TranslationType;
this.Material = rhs.Material;
this.MinorLoss = rhs.MinorLoss;
this.KeyWords = rhs.KeyWords;
this.Paras = rhs.Paras;
this.Flags = rhs.Flags;
this.TagName = rhs.TagName;
this.SortCode = rhs.SortCode;
this.Description = rhs.Description;
}
///
/// 名称
///
[SugarColumn(Length = 50, IsNullable = true)]
public string Name { get; set; }
///
/// 系列ID
///
public long SeriesID { get; set; }
///
/// 上游直径
///
public double StartDiameter { get; set; }
///
/// 下游直径
///
public double EndDiameter { get; set; }
///
/// 粗糙系数
///
public double Roughness { get; set; }
///
/// 过渡件类型
///
public string TranslationType { get; set; }
///
/// 材料
///
[SugarColumn(Length = 255, IsNullable = true)]
public string Material { get; set; }
///
/// 局阻系数
///
public double MinorLoss { get; set; }
///
/// 识别关键字
///
[SugarColumn(Length = 255, IsNullable = true)]
public string KeyWords { get; set; }
///
/// 参数
///
[SugarColumn(ColumnDataType = StaticConfig.CodeFirst_BigString, IsNullable = true)]
public string Paras { get; set; }
///
/// 标签
///
[SugarColumn(ColumnDataType = StaticConfig.CodeFirst_BigString, IsNullable = true)]
public string Flags { get; set; }
///
/// 标志
///
[SugarColumn(Length = 500, IsNullable = true)]
public string TagName { get; set; }
///
/// 排序码
///
public int SortCode { get; set; }
///
/// 说明
///
[SugarColumn(ColumnDataType = StaticConfig.CodeFirst_BigString, IsNullable = true)]
public string Description { get; set; }
///
///
///
public AssetsTranslationMain Clone()
{
return (AssetsTranslationMain)this.MemberwiseClone();
}
object ICloneable.Clone()
{
return this.MemberwiseClone();
}
}
}