- //------------------------------------------------------------------------------
- // 创建标识: Copyright (C) 2010 Socansoft.com 版权所有
- // 创建描述: SocanCode代码生成器 V4.3.2.3 自动创建于 2010-2-21 9:45:40
- //
- // 功能描述:
- //
- // 修改标识:
- // 修改描述:
- //------------------------------------------------------------------------------
- using System;
- namespace Model
- {
- /// <summary>
- /// 实体类 User_Priv
- /// </summary>
- [Serializable]
- public class User_Priv
- {
- public User_Priv()
- { }
- /// <summary>
- /// 构造函数 User_Priv
- /// </summary>
- /// <param name="iD">ID</param>
- /// <param name="privId">角色Id</param>
- /// <param name="privNo">角色序号</param>
- /// <param name="privName">角色名称</param>
- /// <param name="funcIdStr">角色权限(以“,”分隔的菜单Id字符串,菜单Id为Sys_Function表FuncId字段)</param>
- /// <param name="leftMenu">左菜单栏</param>
- public User_Priv(int iD, int privId, int privNo, string privName, string funcIdStr, string leftMenu)
- {
- _iD = iD;
- _privId = privId;
- _privNo = privNo;
- _privName = privName;
- _funcIdStr = funcIdStr;
- _leftMenu = leftMenu;
- }
- #region Model
- private int _iD;
- private int _privId;
- private int _privNo;
- private string _privName;
- private string _funcIdStr;
- private string _leftMenu;
- /// <summary>
- /// ID
- /// </summary>
- public int ID
- {
- set { _iD = value; }
- get { return _iD; }
- }
- /// <summary>
- /// 角色Id
- /// </summary>
- public int PrivId
- {
- set { _privId = value; }
- get { return _privId; }
- }
- /// <summary>
- /// 角色序号
- /// </summary>
- public int PrivNo
- {
- set { _privNo = value; }
- get { return _privNo; }
- }
- /// <summary>
- /// 角色名称
- /// </summary>
- public string PrivName
- {
- set { _privName = value; }
- get { return _privName; }
- }
- /// <summary>
- /// 角色权限(以“,”分隔的菜单Id字符串,菜单Id为Sys_Function表FuncId字段)
- /// </summary>
- public string FuncIdStr
- {
- set { _funcIdStr = value; }
- get { return _funcIdStr; }
- }
- /// <summary>
- /// 左菜单栏
- /// </summary>
- public string LeftMenu
- {
- set { _leftMenu = value; }
- get { return _leftMenu; }
- }
- #endregion Model
- }
- }