using System; using System.Text; using System.Collections.Generic; using System.Data; using System.Runtime.Serialization; using SqlSugar; namespace IStation.Entity { /// /// 水厂 /// [SugarTable("factory")] public class Factory : CorpTraceEntity, System.ICloneable,ISorter,IUseStatus,ITagName,ITerminalId { /// /// /// public Factory() { } /// /// /// public Factory(Factory rhs) : base(rhs) { this.Name = rhs.Name; this.Address = rhs.Address; this.TerminalId = rhs.TerminalId; this.TagName = rhs.TagName; this.UseStatus = rhs.UseStatus; this.SortCode = rhs.SortCode; this.Description = rhs.Description; } /// /// 名称 /// public string Name { get { return _name; } set { _name = value; } } private string _name; /// /// 地址 /// 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 UseStatus { get { return _usestatus; } set { _usestatus = value; } } private int _usestatus; /// /// 排序码 /// public int SortCode { get { return _sortcode; } set { _sortcode = value; } } private int _sortcode; /// /// 说明 /// public string Description { get { return _description; } set { _description = value; } } private string _description; /// /// /// public Factory Clone() { return (Factory)this.MemberwiseClone(); } object ICloneable.Clone() { return this.MemberwiseClone(); } } }