using Yw.Entity; namespace HStation.Entity { /// /// 流量计型号 /// [SysType("assets_flowmeter_main")] [SugarTable("assets_flowmeter_main")] public class AssetsFlowmeterMain : BaseEntity, IParas, IFlags, ITagName, ISorter, System.ICloneable { /// /// /// public AssetsFlowmeterMain() { } /// /// /// public AssetsFlowmeterMain(AssetsFlowmeterMain rhs) : base(rhs) { this.SeriesID = rhs.SeriesID; this.Name = rhs.Name; this.MinorLoss = rhs.MinorLoss; this.KeyWords = rhs.KeyWords; this.Paras = rhs.Paras; this.Flags = rhs.Flags; this.TagName = rhs.TagName; this.SortCode = rhs.SortCode; this.Description = rhs.Description; } /// /// 系列id /// public long SeriesID { get; set; } /// /// 名称 /// [SugarColumn(Length = 50, IsNullable = true)] public string Name { get; set; } /// /// 局阻系数 /// public double MinorLoss { get; set; } /// /// 关键字 /// [SugarColumn(ColumnDataType = StaticConfig.CodeFirst_BigString, IsNullable = true)] public string KeyWords { get; set; } /// /// 参数 /// [SugarColumn(ColumnDataType = StaticConfig.CodeFirst_BigString, IsNullable = true)] public string Paras { get; set; } /// /// 标签 /// [SugarColumn(ColumnDataType = StaticConfig.CodeFirst_BigString, IsNullable = true)] public string Flags { get; set; } /// /// 标志 /// [SugarColumn(Length = 500, IsNullable = true)] public string TagName { get; set; } /// /// 排序码 /// public int SortCode { get; set; } /// /// 说明 /// [SugarColumn(ColumnDataType = StaticConfig.CodeFirst_BigString, IsNullable = true)] public string Description { get; set; } /// /// /// public AssetsFlowmeterMain Clone() { return (AssetsFlowmeterMain)this.MemberwiseClone(); } object ICloneable.Clone() { return this.MemberwiseClone(); } } }