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