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.

145 lines
4.0 KiB
C#

10 months ago
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 读写属性
/// <summary>
/// 主键唯一值
/// </summary>
public string GID
{
get { return _gid; }
set { _gid = value; }
}
/// <summary>
/// 系统名称
/// </summary>
public string Name
{
get { return _name; }
set { _name = value; }
}
/// <summary>
/// 中文名称或描述信息
/// </summary>
public string Description
{
get { return _description; }
set { _description = value; }
}
/// <summary>
/// 模块URL
/// </summary>
public string ModuleUrl
{
get { return _module_url; }
set { _module_url = value; }
}
/// <summary>
/// 全部选项是否可选
/// </summary>
public bool IsAll
{
get { return _is_all; }
set { _is_all = value; }
}
/// <summary>
/// 分公司选项是否可选
/// </summary>
public bool IsCompany
{
get { return _is_company; }
set { _is_company = value; }
}
/// <summary>
/// 部门选项是否可选
/// </summary>
public bool IsDepartment
{
get { return _is_department; }
set { _is_department = value; }
}
/// <summary>
/// 个人选项是否可选
/// </summary>
public bool IsPerson
{
get { return _is_person; }
set { _is_person = value; }
}
/// <summary>
/// 创建人
/// </summary>
public string CreateUser
{
get { return _create_user; }
set { _create_user = value; }
}
/// <summary>
/// 创建时间
/// </summary>
public DateTime CreateTime
{
get { return _create_time; }
set { _create_time = value; }
}
/// <summary>
/// 最后一次更新操作人GID
/// </summary>
public string ModifiedUser
{
get { return _modified_user; }
set { _modified_user = value; }
}
/// <summary>
/// 最后一次更新操作时间
/// </summary>
public DateTime ModifiedTime
{
get { return _modified_time; }
set { _modified_time = value; }
}
/// <summary>
/// 是否已删除
/// </summary>
public bool IsDelete
{
get { return _is_delete; }
set { _is_delete = value; }
}
/// <summary>
/// 用户权限范围
/// </summary>
public UserAuthorityRangeEntity userAuthorityRange
{
get { return _userAuthorityRangeEntity; }
set { _userAuthorityRangeEntity = value; }
}
#endregion
}
}