using System;
using System.Data;
namespace DSWeb.Models
{
public class UserAuthorityEntity
{
#region 私有成员
private string _gid;//主键唯一值
private string _name;//系统名称
private string _description;//中文名称或描述信息
private string _module_url;//模块URL
private bool _is_all;//全部选项是否可选
private bool _is_company;//分公司选项是否可选
private bool _is_department;//部门选项是否可选
private bool _is_person;//个人选项是否可选
private string _create_user;//创建人
private DateTime _create_time;//创建时间
private string _modified_user;//最后一次更新操作人GID
private DateTime _modified_time;//最后一次更新操作时间
private bool _is_delete;//是否已删除
private UserAuthorityRangeEntity _userAuthorityRangeEntity;//用户权限范围
#endregion
public UserAuthorityEntity()
{
}
#region 读写属性
///
/// 主键唯一值
///
public string GID
{
get { return _gid; }
set { _gid = value; }
}
///
/// 系统名称
///
public string Name
{
get { return _name; }
set { _name = value; }
}
///
/// 中文名称或描述信息
///
public string Description
{
get { return _description; }
set { _description = value; }
}
///
/// 模块URL
///
public string ModuleUrl
{
get { return _module_url; }
set { _module_url = value; }
}
///
/// 全部选项是否可选
///
public bool IsAll
{
get { return _is_all; }
set { _is_all = value; }
}
///
/// 分公司选项是否可选
///
public bool IsCompany
{
get { return _is_company; }
set { _is_company = value; }
}
///
/// 部门选项是否可选
///
public bool IsDepartment
{
get { return _is_department; }
set { _is_department = value; }
}
///
/// 个人选项是否可选
///
public bool IsPerson
{
get { return _is_person; }
set { _is_person = value; }
}
///
/// 创建人
///
public string CreateUser
{
get { return _create_user; }
set { _create_user = value; }
}
///
/// 创建时间
///
public DateTime CreateTime
{
get { return _create_time; }
set { _create_time = value; }
}
///
/// 最后一次更新操作人GID
///
public string ModifiedUser
{
get { return _modified_user; }
set { _modified_user = value; }
}
///
/// 最后一次更新操作时间
///
public DateTime ModifiedTime
{
get { return _modified_time; }
set { _modified_time = value; }
}
///
/// 是否已删除
///
public bool IsDelete
{
get { return _is_delete; }
set { _is_delete = value; }
}
///
/// 用户权限范围
///
public UserAuthorityRangeEntity userAuthorityRange
{
get { return _userAuthorityRangeEntity; }
set { _userAuthorityRangeEntity = value; }
}
#endregion
}
}