using Yw.Entity; namespace HStation.Entity { /// /// 压缩机型号 /// [SysType("assets_compressor_main")] [SugarTable("assets_compressor_main")] public class AssetsCompressorMain : BaseEntity, IParas, IFlags, ITagName, ISorter, System.ICloneable { /// /// /// public AssetsCompressorMain() { } /// /// /// public AssetsCompressorMain(AssetsCompressorMain rhs) : base(rhs) { this.SeriesID = rhs.SeriesID; this.Name = rhs.Name; this.Material = rhs.Material; this.Diameter = rhs.Diameter; this.MinorLoss = rhs.MinorLoss; 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; } /// /// 材料 /// [SugarColumn(Length = 100, IsNullable = true)] public string Material { get; set; } /// /// 口径 mm /// public double? Diameter { 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 AssetsCompressorMain Clone() { return (AssetsCompressorMain)this.MemberwiseClone(); } object ICloneable.Clone() { return this.MemberwiseClone(); } } }