using System; using System.Text; using System.Collections.Generic; using System.Data; using System.Runtime.Serialization; using SqlSugar; namespace IStation.Entity { /// /// 部门 /// [SugarTable("department")] public class Department : CorpTraceEntity, System.ICloneable,ITreeSorter,IUseStatus,ITagName,ITerminalId { /// /// /// public Department() { } /// /// /// public Department(Department rhs) : base(rhs) { this.ParentIds = rhs.ParentIds; this.Name = rhs.Name; this.Contacts = rhs.Contacts; this.Telephone = rhs.Telephone; this.TerminalId = rhs.TerminalId; this.TagName = rhs.TagName; this.SortCode = rhs.SortCode; this.UseStatus = rhs.UseStatus; this.Description = rhs.Description; } /// /// 父节点标识 /// public string ParentIds { get { return _parentids; } set { _parentids = value; } } private string _parentids; /// /// 名称 /// public string Name { get { return _name; } set { _name = value; } } private string _name; /// /// 联系人 /// public string Contacts { get { return _contacts; } set { _contacts = value; } } private string _contacts; /// /// 联系电话 /// public string Telephone { get { return _telephone; } set { _telephone = value; } } private string _telephone; /// /// 终端标识 /// 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 Department Clone() { return (Department)this.MemberwiseClone(); } object ICloneable.Clone() { return this.MemberwiseClone(); } } }