using Yw.Entity;
|
|
namespace PBS.Entity.WE
|
{
|
/// <summary>
|
/// 用水器具映射
|
///</summary>
|
[SysType("we-utensil-mapping")]
|
[SugarTable("we_utensil_mapping")]
|
public class UtensilMapping : BaseEntity, ISorter, System.ICloneable
|
{
|
/// <summary>
|
///
|
/// </summary>
|
public UtensilMapping() { }
|
|
/// <summary>
|
///
|
/// </summary>
|
public UtensilMapping(UtensilMapping rhs) : base(rhs)
|
{
|
this.ItemID = rhs.ItemID;
|
this.UtensilID = rhs.UtensilID;
|
this.UtensilCount = rhs.UtensilCount;
|
this.RatedFlow = rhs.RatedFlow;
|
this.MinRatedFlow = rhs.MinRatedFlow;
|
this.SortCode = rhs.SortCode;
|
this.Description = rhs.Description;
|
}
|
|
/// <summary>
|
/// 用水当量标识
|
///</summary>
|
public long ItemID { get; set; }
|
|
/// <summary>
|
/// 用水器具标识
|
///</summary>
|
public long UtensilID { get; set; }
|
|
/// <summary>
|
/// 用水器具数量
|
///</summary>
|
public int UtensilCount { get; set; }
|
|
/// <summary>
|
/// 额定流量
|
///</summary>
|
public double RatedFlow { get; set; }
|
|
/// <summary>
|
/// 最小额定流量
|
///</summary>
|
public double MinRatedFlow { get; set; }
|
|
/// <summary>
|
/// 排序码
|
///</summary>
|
public int SortCode { get; set; }
|
|
/// <summary>
|
/// 说明
|
///</summary>
|
[SugarColumn(ColumnDataType = StaticConfig.CodeFirst_BigString, IsNullable = true)]
|
public string Description { get; set; }
|
|
|
/// <summary>
|
///
|
/// </summary>
|
public UtensilMapping Clone()
|
{
|
return (UtensilMapping)this.MemberwiseClone();
|
}
|
|
object ICloneable.Clone()
|
{
|
return this.MemberwiseClone();
|
}
|
|
}
|
}
|