using System;
using System.Text;
using System.Collections.Generic;
using System.Data;
using System.Runtime.Serialization;
using SqlSugar;
namespace IStation.Entity
{
///
/// 泵曲线映射
///
[SugarTable("pump_curve_mapping")]
public class PumpCurveMapping : CorpEntity, System.ICloneable,ISorter
{
///
///
///
public PumpCurveMapping() { }
///
///
///
public PumpCurveMapping(PumpCurveMapping rhs):base(rhs)
{
this.PumpID = rhs.PumpID;
this.CurveID = rhs.CurveID;
this.OtherName = rhs.OtherName;
this.IsWorking = rhs.IsWorking;
this.SortCode = rhs.SortCode;
}
///
/// 泵标识
///
public long PumpID
{
get { return _pumpId; }
set { _pumpId = value; }
}
private long _pumpId;
///
/// 曲线标识
///
public long CurveID
{
get { return _curveid; }
set { _curveid = value; }
}
private long _curveid;
///
/// 别名
///
public string OtherName
{
get { return _othername; }
set { _othername = value; }
}
private string _othername;
///
/// 排序码
///
public int SortCode
{
get { return _sortcode; }
set { _sortcode = value; }
}
private int _sortcode;
///
/// 工作曲线
///
public bool IsWorking
{
get { return _isWorking; }
set { _isWorking = value; }
}
private bool _isWorking;
///
///
///
public PumpCurveMapping Clone()
{
return (PumpCurveMapping)this.MemberwiseClone();
}
object ICloneable.Clone()
{
return this.MemberwiseClone();
}
}
}