using Yw.Entity; namespace HStation.Entity { /// /// 压缩机系数 /// [SysType("assets_compressor_factor")] [SugarTable("assets_compressor_factor")] public class AssetsCompressorFactor : BaseEntity, ISorter, System.ICloneable { /// /// /// public AssetsCompressorFactor() { } public AssetsCompressorFactor(AssetsCompressorFactor rhs) : base(rhs) { this.Name = rhs.Name; this.Material = rhs.Material; this.Diameter = rhs.Diameter; this.MinorLoss = rhs.MinorLoss; this.SortCode = rhs.SortCode; this.Description = rhs.Description; } /// /// 名称 /// [SugarColumn(Length = 50, IsNullable = true)] public string Name { get; set; } /// /// 材料 /// [SugarColumn(Length = 100, IsNullable = true)] public string Material { get; set; } /// /// 口径 mm /// public double? Diameter { 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 AssetsCompressorFactor Clone() { return (AssetsCompressorFactor)this.MemberwiseClone(); } object ICloneable.Clone() { return this.MemberwiseClone(); } } }