using System;
using System.Text;
using System.Collections.Generic;
using System.Data;
using System.Runtime.Serialization;
using SqlSugar;
namespace IStation.Entity
{
///
/// 泵站
///
[SugarTable("station")]
public class Station :CorpTraceEntity, System.ICloneable,ISorter,IUseStatus,ITagName,ITerminalId
{
///
///
///
public Station() { }
///
///
///
public Station(Station rhs):base(rhs)
{
this.Name = rhs.Name;
this.Type = rhs.Type;
this.StartMonitorDay = rhs.StartMonitorDay;
this.DesignParas = rhs.DesignParas;
this.MonitorStatus = rhs.MonitorStatus;
this.Address = rhs.Address;
this.TerminalId = rhs.TerminalId;
this.TagName = rhs.TagName;
this.UseStatus = rhs.UseStatus;
this.SortCode = rhs.SortCode;
this.Description = rhs.Description;
}
///
/// 分类id
///
public long CatalogID
{
get { return _catalogid; }
set { _catalogid = value; }
}
private long _catalogid;
///
/// 名称
///
public string Name
{
get { return _name; }
set { _name = value; }
}
private string _name;
///
/// 类型
///
public string Type
{
get { return _type; }
set { _type = value; }
}
private string _type;
///
/// 开始监控日期
///
public DateTime? StartMonitorDay
{
get { return _startMonitorDay; }
set { _startMonitorDay = value; }
}
private DateTime? _startMonitorDay;
///
/// 设计参数
///
public string DesignParas
{
get { return _designParas; }
set { _designParas = value; }
}
private string _designParas;
///
/// 监测状态
///
public int MonitorStatus
{
get { return _monitorstatus; }
set { _monitorstatus = value; }
}
private int _monitorstatus;
///
/// 地址
///
public string Address
{
get { return _address; }
set { _address = value; }
}
private string _address;
///
/// 终端标识
///
public string TerminalId
{
get { return _terminalid; }
set { _terminalid = value; }
}
private string _terminalid;
///
/// 标签
///
public string TagName
{
get { return _tagname; }
set { _tagname = value; }
}
private string _tagname;
///
/// 排序码
///
public int SortCode
{
get { return _sortcode; }
set { _sortcode = value; }
}
private int _sortcode;
///
/// 使用状态
///
public int UseStatus
{
get { return _usestatus; }
set { _usestatus = value; }
}
private int _usestatus;
///
/// 说明
///
public string Description
{
get { return _description; }
set { _description = value; }
}
private string _description;
///
///
///
public Station Clone()
{
return (Station)this.MemberwiseClone();
}
object ICloneable.Clone()
{
return this.MemberwiseClone();
}
}
}