using Yw.Model; namespace HStation.Model { /// /// 水池系数 /// [SysType("assets-tank-factor")] public class AssetsTankFactor : BaseModel, ISorter, System.ICloneable { /// /// /// public AssetsTankFactor() { } /// /// /// public AssetsTankFactor(AssetsTankFactor rhs) : base(rhs) { this.Name = rhs.Name; this.Caliber = rhs.Caliber; this.Material = rhs.Material; this.MinorLoss = rhs.MinorLoss; this.SortCode = rhs.SortCode; this.Description = rhs.Description; } /// /// /// public void Reset(AssetsTankFactor rhs) { this.ID = rhs.ID; this.Name = rhs.Name; this.Caliber = rhs.Caliber; this.Material = rhs.Material; this.MinorLoss = rhs.MinorLoss; this.SortCode = rhs.SortCode; this.Description = rhs.Description; } /// /// 名称 /// public string Name { get; set; } /// /// 口径 /// public double? Caliber { get; set; } /// /// 材料 /// public string Material { 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 AssetsTankFactor Clone() { return (AssetsTankFactor)this.MemberwiseClone(); } object ICloneable.Clone() { return this.MemberwiseClone(); } } }