You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
|
|
|
|
using System;
|
|
|
|
|
using System.Text;
|
|
|
|
|
using System.Collections.Generic;
|
|
|
|
|
using System.Data;
|
|
|
|
|
namespace DSWeb.SoftMng.Model{
|
|
|
|
|
//sys_roleauth
|
|
|
|
|
public class sys_roleauth
|
|
|
|
|
{
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// GID
|
|
|
|
|
/// </summary>
|
|
|
|
|
private string _gid;
|
|
|
|
|
public string GID
|
|
|
|
|
{
|
|
|
|
|
get{ return _gid; }
|
|
|
|
|
set{ _gid = value; }
|
|
|
|
|
}
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 权限/角色名称
|
|
|
|
|
/// </summary>
|
|
|
|
|
private string _name;
|
|
|
|
|
public string Name
|
|
|
|
|
{
|
|
|
|
|
get{ return _name; }
|
|
|
|
|
set{ _name = value; }
|
|
|
|
|
}
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 权限主键
|
|
|
|
|
/// </summary>
|
|
|
|
|
private string _authorityid;
|
|
|
|
|
public string AuthorityID
|
|
|
|
|
{
|
|
|
|
|
get{ return _authorityid; }
|
|
|
|
|
set{ _authorityid = value; }
|
|
|
|
|
}
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 关联的角色GID
|
|
|
|
|
/// </summary>
|
|
|
|
|
private string _pid;
|
|
|
|
|
public string PID
|
|
|
|
|
{
|
|
|
|
|
get{ return _pid; }
|
|
|
|
|
set{ _pid = value; }
|
|
|
|
|
}
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 0:角色;1:权限
|
|
|
|
|
/// </summary>
|
|
|
|
|
private int? _type;
|
|
|
|
|
public int? Type
|
|
|
|
|
{
|
|
|
|
|
get{ return _type; }
|
|
|
|
|
set{ _type = value; }
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
}
|