using Yw.Entity; namespace HStation.Entity { /// /// 水表 /// [SysType("assets-meter-main")] [SugarTable("assets_meter_main")] public class AssetsMeterMain : BaseEntity, IParas, IFlags, ITagName, ISorter, System.ICloneable { /// /// /// public AssetsMeterMain() { } /// /// /// public AssetsMeterMain(AssetsMeterMain rhs) : base(rhs) { this.Name = rhs.Name; this.SeriesID = rhs.SeriesID; this.Caliber = rhs.Caliber; this.Material = rhs.Material; this.MinorLoss = rhs.MinorLoss; this.KeyWord = rhs.KeyWord; this.Paras = rhs.Paras; this.Flags = rhs.Flags; this.TagName = rhs.TagName; this.SortCode = rhs.SortCode; this.Description = rhs.Description; } /// /// 名称 /// [SugarColumn(Length = 50, IsNullable = true)] public string Name { get; set; } /// /// 系列ID /// public long SeriesID { get; set; } /// /// 口径 /// public double? Caliber { get; set; } /// /// 材料 /// [SugarColumn(Length = 255, IsNullable = true)] public string Material { get; set; } /// /// 局阻系数 /// public double MinorLoss { get; set; } /// /// 识别关键字 /// [SugarColumn(Length = 255, IsNullable = true)] public string KeyWord { 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 AssetsMeterMain Clone() { return (AssetsMeterMain)this.MemberwiseClone(); } object ICloneable.Clone() { return this.MemberwiseClone(); } } }