using Yw.Entity;
namespace HStation.Entity
{
///
/// 水表系数
///
[SysType("assets-meter-coefficient")]
[SugarTable("assets_meter_coefficient")]
public class AssetsMeterCoefficient : BaseEntity, System.ICloneable
{
///
///
///
public AssetsMeterCoefficient()
{ }
///
///
///
public AssetsMeterCoefficient(AssetsMeterCoefficient rhs) : base(rhs)
{
this.Name = rhs.Name;
this.Caliber = rhs.Caliber;
this.Material = rhs.Material;
this.MinorLoss = rhs.MinorLoss;
}
///
/// 名称
///
[SugarColumn(Length = 50, IsNullable = true)]
public string Name { get; set; }
///
/// 口径
///
public double? Caliber { get; set; }
///
/// 材料
///
[SugarColumn(Length = 255, IsNullable = true)]
public string Material { get; set; }
///
/// 局阻系数
///
public double MinorLoss { get; set; }
///
///
///
public AssetsMeterCoefficient Clone()
{
return (AssetsMeterCoefficient)this.MemberwiseClone();
}
object ICloneable.Clone()
{
return this.MemberwiseClone();
}
}
}