using Yw.Entity; namespace HStation.Entity { /// /// 消火栓系数 /// [SysType("assets_hydrant_factor")] [SugarTable("assets_hydrant_factor")] public class AssetsHydrantFactor : BaseEntity, ISorter, System.ICloneable { /// /// /// public AssetsHydrantFactor() { } /// /// /// public AssetsHydrantFactor(AssetsHydrantFactor rhs) : base(rhs) { this.Name = rhs.Name; this.Caliber = rhs.Caliber; this.Material = rhs.Material; this.MinorLoss = rhs.MinorLoss; this.SortCode = rhs.SortCode; this.Description = rhs.Description; } /// /// 名称 /// [SugarColumn(Length = 50, IsNullable = true)] public string Name { get; set; } /// /// 口径 /// public double? Caliber { get; set; } /// /// 材料 /// [SugarColumn(Length = 255, IsNullable = true)] public string Material { 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 AssetsHydrantFactor Clone() { return (AssetsHydrantFactor)this.MemberwiseClone(); } object ICloneable.Clone() { return this.MemberwiseClone(); } } }