using System;
|
using System.Text;
|
using System.Collections.Generic;
|
using System.Data;
|
using System.Runtime.Serialization;
|
using SqlSugar;
|
|
namespace IStation.Entity
|
{
|
/// <summary>
|
/// 客户
|
/// </summary>
|
[SugarTable("corpration")]
|
public class Corpration : BaseTraceEntity, System.ICloneable, ITreeSorter, IUseStatus, ITagName, ITerminalId
|
{
|
/// <summary>
|
///
|
/// </summary>
|
public Corpration() { }
|
|
/// <summary>
|
///
|
/// </summary>
|
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;
|
}
|
|
/// <summary>
|
/// 父节点标识
|
/// </summary>
|
public string ParentIds
|
{
|
get { return _parentids; }
|
set { _parentids = value; }
|
}
|
private string _parentids;
|
|
/// <summary>
|
/// 简称
|
/// </summary>
|
public string ShortName
|
{
|
get { return _shortname; }
|
set { _shortname = value; }
|
}
|
private string _shortname;
|
|
/// <summary>
|
/// 全称
|
/// </summary>
|
public string FullName
|
{
|
get { return _fullname; }
|
set { _fullname = value; }
|
}
|
private string _fullname;
|
|
/// <summary>
|
/// 联系人
|
/// </summary>
|
public string Contacts
|
{
|
get { return _contacts; }
|
set { _contacts = value; }
|
}
|
private string _contacts;
|
|
/// <summary>
|
/// 联系电话
|
/// </summary>
|
public string Telephone
|
{
|
get { return _telephone; }
|
set { _telephone = value; }
|
}
|
private string _telephone;
|
|
/// <summary>
|
/// 地址
|
/// </summary>
|
public string Address
|
{
|
get { return _address; }
|
set { _address = value; }
|
}
|
private string _address;
|
|
/// <summary>
|
/// 终端标识
|
/// </summary>
|
public string TerminalId
|
{
|
get { return _terminalid; }
|
set { _terminalid = value; }
|
}
|
private string _terminalid;
|
|
/// <summary>
|
/// 标签名称
|
/// </summary>
|
public string TagName
|
{
|
get { return _tagname; }
|
set { _tagname = value; }
|
}
|
private string _tagname;
|
|
/// <summary>
|
/// 排序码
|
/// </summary>
|
public int SortCode
|
{
|
get { return _sortcode; }
|
set { _sortcode = value; }
|
}
|
private int _sortcode;
|
|
/// <summary>
|
/// 使用状态
|
/// </summary>
|
public int UseStatus
|
{
|
get { return _usestatus; }
|
set { _usestatus = value; }
|
}
|
private int _usestatus;
|
|
/// <summary>
|
/// 说明
|
/// </summary>
|
public string Description
|
{
|
get { return _description; }
|
set { _description = value; }
|
}
|
private string _description;
|
|
/// <summary>
|
///
|
/// </summary>
|
public Corpration Clone()
|
{
|
return (Corpration)this.MemberwiseClone();
|
}
|
|
object ICloneable.Clone()
|
{
|
return this.MemberwiseClone();
|
}
|
}
|
|
}
|