Shuxia Ning
2025-01-16 f0cebbd2deb4dbf9e89dac4768415de62fd1fc20
Service/HStation.Service.Assets.Core/01-entity/17-Flowmeter/AssetsFlowmeterMain.cs
@@ -3,114 +3,97 @@
namespace HStation.Entity
{
    /// <summary>
    /// 流量计
    ///</summary>
    [SysType("assets-flowmeter-main")]
    [SugarTable("assets_flowmeter_main")]
    public class AssetsFlowmeterMain : BaseEntity , IParas, IFlags, ITagName, ISorter, System.ICloneable
    /// 流量计型号
    /// </summary>
    [SysType("assets_flowmeter_main")]
    [SugarTable("assets_flowmeter_main")]
    public class AssetsFlowmeterMain : BaseEntity, IParas, IFlags, ITagName, ISorter, System.ICloneable
    {
         /// <summary>
         ///
         /// </summary>
         public AssetsFlowmeterMain() { }
        /// <summary>
        ///
        /// </summary>
        public AssetsFlowmeterMain() { }
         /// <summary>
         ///
         /// </summary>
         public AssetsFlowmeterMain(AssetsFlowmeterMain rhs) : base(rhs)
         {
            this.Name = rhs.Name;
        /// <summary>
        ///
        /// </summary>
        public AssetsFlowmeterMain(AssetsFlowmeterMain rhs) : base(rhs)
        {
            this.SeriesID = rhs.SeriesID;
            this.Caliber = rhs.Caliber;
            this.Material = rhs.Material;
            this.Name = rhs.Name;
            this.MinorLoss = rhs.MinorLoss;
            this.KeyWord = rhs.KeyWord;
            this.KeyWords = rhs.KeyWords;
            this.Paras = rhs.Paras;
            this.Flags = rhs.Flags;
            this.TagName = rhs.TagName;
            this.SortCode = rhs.SortCode;
            this.Description = rhs.Description;
         }
        }
        /// <summary>
        /// 名称
        ///</summary>
        [SugarColumn(Length = 50, IsNullable = true)]
        public string Name { get; set; }
        /// <summary>
        /// 系列ID
        ///</summary>
        /// 系列id
        /// </summary>
        public long SeriesID { get; set; }
        /// <summary>
        /// 口径
        ///</summary>
        public double? Caliber { get; set; }
        /// 名称
        /// </summary>
        [SugarColumn(Length = 50, IsNullable = true)]
        public string Name { get; set; }
        /// <summary>
        /// 材料
        ///</summary>
        [SugarColumn(Length = 255, IsNullable = true)]
        public string Material { get; set; }
        /// <summary>
        /// 局阻系数
        ///</summary>
        /// 局阻系数
        /// </summary>
        public double MinorLoss { get; set; }
        /// <summary>
        /// 识别关键字
        ///</summary>
        [SugarColumn(Length = 255, IsNullable = true)]
        public string KeyWord { get; set; }
        /// 关键字
        /// </summary>
        [SugarColumn(ColumnDataType = StaticConfig.CodeFirst_BigString, IsNullable = true)]
        public string KeyWords { get; set; }
        /// <summary>
        /// 参数
        ///</summary>
        [SugarColumn(ColumnDataType = StaticConfig.CodeFirst_BigString, IsNullable = true)]
        /// 参数
        /// </summary>
        [SugarColumn(ColumnDataType = StaticConfig.CodeFirst_BigString, IsNullable = true)]
        public string Paras { get; set; }
        /// <summary>
        /// 标签
        ///</summary>
        [SugarColumn(ColumnDataType = StaticConfig.CodeFirst_BigString, IsNullable = true)]
        /// 标签
        /// </summary>
        [SugarColumn(ColumnDataType = StaticConfig.CodeFirst_BigString, IsNullable = true)]
        public string Flags { get; set; }
        /// <summary>
        /// 标志
        ///</summary>
        [SugarColumn(Length = 500, IsNullable = true)]
        /// 标志
        /// </summary>
        [SugarColumn(Length = 500, IsNullable = true)]
        public string TagName { get; set; }
        /// <summary>
        /// 排序码
        ///</summary>
        /// 排序码
        /// </summary>
        public int SortCode { get; set; }
        /// <summary>
        /// 说明
        ///</summary>
        [SugarColumn(ColumnDataType = StaticConfig.CodeFirst_BigString, IsNullable = true)]
        /// 说明
        /// </summary>
        [SugarColumn(ColumnDataType = StaticConfig.CodeFirst_BigString, IsNullable = true)]
        public string Description { get; set; }
        /// <summary>
        ///
        /// </summary>
        public AssetsFlowmeterMain Clone()
        {
         return (AssetsFlowmeterMain)this.MemberwiseClone();
            return (AssetsFlowmeterMain)this.MemberwiseClone();
        }
        object ICloneable.Clone()
        {
         return this.MemberwiseClone();
            return this.MemberwiseClone();
        }
    }
}
}