duheng
2024-12-04 ca1ccd0dd9f2d6936368f07d14a2b29b309fd151
Service/HStation.Service.Assets.Core/01-entity/16-Meter/AssetsMeterCoefficient.cs
@@ -3,67 +3,62 @@
namespace HStation.Entity
{
    /// <summary>
    /// 水池系数
    /// 水表系数
    ///</summary>
    [SysType("assets-meter-coefficient")]
    [SugarTable("assets_meter_coefficient")]
    public class AssetsMeterCoefficient : BaseEntity , System.ICloneable
    [SugarTable("assets_meter_coefficient")]
    public class AssetsMeterCoefficient : BaseEntity, System.ICloneable
    {
         /// <summary>
         ///
         /// </summary>
         public AssetsMeterCoefficient() { }
        /// <summary>
        ///
        /// </summary>
        public AssetsMeterCoefficient()
        { }
         /// <summary>
         ///
         /// </summary>
         public AssetsMeterCoefficient(AssetsMeterCoefficient rhs) : base(rhs)
         {
        /// <summary>
        ///
        /// </summary>
        public AssetsMeterCoefficient(AssetsMeterCoefficient 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)]
        [SugarColumn(Length = 50, IsNullable = true)]
        public string Name { get; set; }
        /// <summary>
        /// 口径
        /// 口径
        ///</summary>
        public double? Caliber { get; set; }
        /// <summary>
        /// 材料
        /// 材料
        ///</summary>
        [SugarColumn(Length = 255, IsNullable = true)]
        [SugarColumn(Length = 255, IsNullable = true)]
        public string Material { get; set; }
        /// <summary>
        /// 局阻系数
        /// 局阻系数
        ///</summary>
        public double MinorLoss { get; set; }
        /// <summary>
        ///
        /// </summary>
        public AssetsMeterCoefficient Clone()
        {
         return (AssetsMeterCoefficient)this.MemberwiseClone();
            return (AssetsMeterCoefficient)this.MemberwiseClone();
        }
        object ICloneable.Clone()
        {
         return this.MemberwiseClone();
            return this.MemberwiseClone();
        }
    }
}
}