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