using System;
using System.Text;
using System.Collections.Generic;
using System.Data;
using System.Runtime.Serialization;
using SqlSugar;
namespace IStation.Entity
{
///
/// 角色
///
[SugarTable("role")]
public class Role :BaseTraceEntity, System.ICloneable,ITreeSorter,IUseStatus, ITagName
{
///
///
///
public Role() { }
///
///
///
public Role(Role rhs):base(rhs)
{
this.ParentIds = rhs.ParentIds;
this.Name = rhs.Name;
this.Paras = rhs.Paras;
this.SortCode = rhs.SortCode;
this.UseStatus = rhs.UseStatus;
this.TagName = rhs.TagName;
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 Paras
{
get { return _paras; }
set { _paras = value; }
}
private string _paras;
///
/// 排序码
///
public int SortCode
{
get { return _sortcode; }
set { _sortcode = value; }
}
private int _sortcode;
///
/// 标签
///
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 string Description
{
get { return _description; }
set { _description = value; }
}
private string _description;
///
///
///
public Role Clone()
{
return (Role)this.MemberwiseClone();
}
object ICloneable.Clone()
{
return this.MemberwiseClone();
}
}
}