using System;
|
using System.Text;
|
using System.Collections.Generic;
|
using System.Data;
|
using System.Runtime.Serialization;
|
using SqlSugar;
|
|
namespace IStation.Entity
|
{
|
/// <summary>
|
/// 分类
|
/// </summary>
|
[SugarTable("catalog")]
|
public class Catalog : CorpTraceEntity, System.ICloneable, ITreeSorter
|
{
|
|
/// <summary>
|
///
|
/// </summary>
|
public Catalog() { }
|
|
/// <summary>
|
///
|
/// </summary>
|
public Catalog(Catalog rhs) : base(rhs)
|
{
|
this.ObjectType = rhs.ObjectType;
|
this.ParentIds = rhs.ParentIds;
|
this.Identifier = rhs.Identifier;
|
this.Name = rhs.Name;
|
this.SortCode = rhs.SortCode;
|
this.Description = rhs.Description;
|
}
|
|
/// <summary>
|
/// 关联类型
|
/// </summary>
|
public string ObjectType
|
{
|
get { return _objecttype; }
|
set { _objecttype = value; }
|
}
|
private string _objecttype;
|
|
/// <summary>
|
/// 父节点标识
|
/// </summary>
|
public string ParentIds
|
{
|
get { return _parentids; }
|
set { _parentids = value; }
|
}
|
private string _parentids;
|
|
/// <summary>
|
/// 识别码
|
/// </summary>
|
public string Identifier
|
{
|
get { return _identifier; }
|
set { _identifier = value; }
|
}
|
private string _identifier;
|
|
/// <summary>
|
/// 名称
|
/// </summary>
|
public string Name
|
{
|
get { return _name; }
|
set { _name = value; }
|
}
|
private string _name;
|
|
/// <summary>
|
/// 排序码
|
/// </summary>
|
public int SortCode
|
{
|
get { return _sortcode; }
|
set { _sortcode = value; }
|
}
|
private int _sortcode;
|
|
/// <summary>
|
/// 说明
|
/// </summary>
|
public string Description
|
{
|
get { return _description; }
|
set { _description = value; }
|
}
|
private string _description;
|
|
/// <summary>
|
///
|
/// </summary>
|
public Catalog Clone()
|
{
|
return (Catalog)this.MemberwiseClone();
|
}
|
|
object ICloneable.Clone()
|
{
|
return this.MemberwiseClone();
|
}
|
}
|
|
}
|