using Yw.Entity;
namespace HStation.Entity
{
///
/// 水池
///
[SysType("assets-tank-main")]
[SugarTable("assets_tank_main")]
public class AssetsTankMain : BaseEntity, IParas, IFlags, ITagName, ISorter, System.ICloneable
{
///
///
///
public AssetsTankMain()
{ }
///
///
///
public AssetsTankMain(AssetsTankMain rhs) : base(rhs)
{
this.Name = rhs.Name;
this.SeriesID = rhs.SeriesID;
this.MinLevel = rhs.MinLevel;
this.MaxLevel = rhs.MaxLevel;
this.DN = rhs.DN;
this.OverFlow = rhs.OverFlow;
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 MinLevel { get; set; }
///
/// 最高水位
///
public double MaxLevel { get; set; }
///
/// 公称直径
///
public double DN { get; set; }
///
/// 最小容积
///
public double MinVol { get; set; }
///
/// 是否允许溢流
///
public bool OverFlow { 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 AssetsTankMain Clone()
{
return (AssetsTankMain)this.MemberwiseClone();
}
object ICloneable.Clone()
{
return this.MemberwiseClone();
}
}
}