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.

120 lines
3.6 KiB
C#

This file contains ambiguous Unicode characters!

This file contains ambiguous Unicode characters that may be confused with others in your current locale. If your use case is intentional and legitimate, you can safely ignore this warning. Use the Escape button to highlight these characters.

using System;
using System.Data;
using System.Configuration;
namespace DSWeb.Models
{
public class ActionEntity
{
#region 私有成员
private string _gid;//主键,惟一值
private string _name;//行为名称只能使用英文字符开头单词首字母小写后边单词所有首字母大写例如isOperator
private string _description;//行为名称中文名
private string _module_id;//关联模板GID
private string _create_userid;//创建人GID
private DateTime _create_time;//创建时间
private string _modified_userid;//记录最后一次更新操作人的GID
private DateTime _modified_time;//记录最后一次更新时间
private int _state;//行为状态值值为0表示当前角色可用如果为1表示角色不可用
private int _sort;//根据排序值由小到大顺序显示角色信息0,1,2……N
private ModuleEntity _module_entity;//模块实体类
#endregion
public ActionEntity()
{
}
#region 读写属性
/// <summary>
/// 主键,惟一值
/// </summary>
public string GID
{
get { return _gid; }
set { _gid = value; }
}
/// <summary>
///行为名称只能使用英文字符开头单词首字母小写后边单词所有首字母大写例如isOperator
/// </summary>
public string ActionName
{
get { return _name; }
set { _name = value; }
}
/// <summary>
/// 行为名称中文名
/// </summary>
public string Description
{
get { return _description; }
set { _description = value; }
}
/// <summary>
/// 关联模板GID
/// </summary>
public string ModuleID
{
get { return _module_id; }
set { _module_id = value; }
}
/// <summary>
/// 创建人GID
/// </summary>
public string CreateUserID
{
get { return _create_userid; }
set { _create_userid = value; }
}
/// <summary>
/// 创建时间
/// </summary>
public DateTime CreateTime
{
get { return _create_time; }
set { _create_time = value; }
}
/// <summary>
/// 记录最后一次更新操作人的GID
/// </summary>
public string ModifiedUserID
{
get { return _modified_userid; }
set { _modified_userid = value; }
}
/// <summary>
/// 记录最后一次更新时间
/// </summary>
public DateTime ModifiedTime
{
get { return _modified_time; }
set { _modified_time = value; }
}
/// <summary>
/// 行为状态值值为0表示当前角色可用如果为1表示角色不可用
/// </summary>
public int State
{
get { return _state; }
set { _state = value; }
}
/// <summary>
/// 根据排序值由小到大顺序显示角色信息0,1,2……N
/// </summary>
public int Sort
{
get { return _sort; }
set { _sort = value; }
}
/// <summary>
/// 模块实体类
/// </summary>
public ModuleEntity ModuleEntity
{
get { return _module_entity; }
set { _module_entity = value; }
}
#endregion
}
}