using Yw.Entity; namespace HStation.Entity { /// /// 流量计系数 /// [SysType("assets_flowmeter_factor")] [SugarTable("assets_flowmeter_factor")] public class AssetsFlowmeterFactor : BaseEntity, ISorter, System.ICloneable { /// /// /// public AssetsFlowmeterFactor() { } public AssetsFlowmeterFactor(AssetsFlowmeterFactor rhs) : base(rhs) { this.Name = rhs.Name; this.MinorLoss = rhs.MinorLoss; this.SortCode = rhs.SortCode; this.Description = rhs.Description; } /// /// 名称 /// [SugarColumn(Length = 50, IsNullable = true)] public string Name { get; set; } /// /// 局阻系数 /// public double MinorLoss { get; set; } /// /// 排序码 /// public int SortCode { get; set; } /// /// 说明 /// [SugarColumn(ColumnDataType = StaticConfig.CodeFirst_BigString, IsNullable = true)] public string Description { get; set; } /// /// /// public AssetsFlowmeterFactor Clone() { return (AssetsFlowmeterFactor)this.MemberwiseClone(); } object ICloneable.Clone() { return this.MemberwiseClone(); } } }