using Yw.Entity; namespace HStation.Entity { /// /// 过渡件系数 /// [SysType("assets-translation-factor")] [SugarTable("assets_translation_factor")] public class AssetsTranslationFactor : BaseEntity, ISorter, System.ICloneable { /// /// /// public AssetsTranslationFactor() { } /// /// /// public AssetsTranslationFactor(AssetsTranslationFactor rhs) : base(rhs) { this.Name = rhs.Name; this.Material = rhs.Material; this.StartDiameter = rhs.StartDiameter; this.EndDiameter = rhs.EndDiameter; this.TranslationType = rhs.TranslationType; this.MinorLoss = rhs.MinorLoss; this.SortCode = rhs.SortCode; this.Description = rhs.Description; } /// /// 名称 /// [SugarColumn(Length = 50, IsNullable = true)] public string Name { get; set; } /// /// 材料 /// [SugarColumn(Length = 255, IsNullable = true)] public string Material { get; set; } /// /// 上游直径 /// public double StartDiameter { get; set; } /// /// 下游直径 /// public double EndDiameter { get; set; } /// /// 过渡件类型 /// public int TranslationType { get; set; } /// /// 局阻系数 /// public double MinorLoss { get; set; } /// /// 排序码 /// public int SortCode { get; set; } /// /// 说明 /// [SugarColumn(ColumnDataType = StaticConfig.CodeFirst_BigString, IsNullable = true)] public string Description { get; set; } /// /// /// public AssetsTranslationFactor Clone() { return (AssetsTranslationFactor)this.MemberwiseClone(); } object ICloneable.Clone() { return this.MemberwiseClone(); } } }