using Yw.Entity; namespace HStation.Entity { /// /// 水表系数 /// [SysType("assets_meter_factor")] [SugarTable("assets_meter_factor")] public class AssetsMeterFactor : BaseEntity, ISorter, System.ICloneable { /// /// /// public AssetsMeterFactor() { } public AssetsMeterFactor(AssetsMeterFactor 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 AssetsMeterFactor Clone() { return (AssetsMeterFactor)this.MemberwiseClone(); } object ICloneable.Clone() { return this.MemberwiseClone(); } } }