using System;
using System.Text;
using System.Collections.Generic;
using System.Data;
using System.Runtime.Serialization;
using SqlSugar;
namespace IStation.Entity
{
///
/// 客户
///
[SugarTable("corpration")]
public class Corpration : BaseTraceEntity, System.ICloneable, ITreeSorter, IUseStatus, ITagName, ITerminalId
{
///
///
///
public Corpration() { }
///
///
///
public Corpration(Corpration rhs) : base(rhs)
{
this.ParentIds = rhs.ParentIds;
this.ShortName = rhs.ShortName;
this.FullName = rhs.FullName;
this.Contacts = rhs.Contacts;
this.Telephone=rhs.Telephone;
this.Address = rhs.Address;
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 ShortName
{
get { return _shortname; }
set { _shortname = value; }
}
private string _shortname;
///
/// 全称
///
public string FullName
{
get { return _fullname; }
set { _fullname = value; }
}
private string _fullname;
///
/// 联系人
///
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 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 Corpration Clone()
{
return (Corpration)this.MemberwiseClone();
}
object ICloneable.Clone()
{
return this.MemberwiseClone();
}
}
}