/// <summary>
 /// 全构造函数
 /// </summary>
 public SystemPrivilegeParameterEntity(int privilegeParameterID, SystemRoleEntity roleID, SystemPrivilegeEntity privilegeID, string bizParameter)
 {
     _privilegeParameterID = privilegeParameterID;
     _roleID       = roleID;
     _privilegeID  = privilegeID;
     _bizParameter = bizParameter;
 }
 /// <summary>
 /// 默认构造函数
 /// </summary>
 public SystemPrivilegeParameterEntity()
 {
     _privilegeParameterID = 0;
     _roleID       = null;
     _privilegeID  = null;
     _bizParameter = String.Empty;
 }
 /// <summary>
 /// 默认构造函数
 /// </summary>
 public SystemDepartmentPostRoleRelationEntity()
 {
     _id           = 0;
     _departmentID = null;
     _postID       = null;
     _roleID       = null;
     _description  = null;
 }
 /// <summary>
 /// 全构造函数
 /// </summary>
 public SystemDepartmentPostRoleRelationEntity(int id, SystemDepartmentEntity departmentID, SystemPostEntity postID, SystemRoleEntity roleID, string description)
 {
     _id           = id;
     _departmentID = departmentID;
     _postID       = postID;
     _roleID       = roleID;
     _description  = description;
 }
		/// <summary>
		/// local implementation of Equals based on unique value members
		/// </summary>
		public override bool Equals( object obj )
		{
			if( this == obj ) return true;
			
			if( ( obj == null ) || ( obj.GetType() != this.GetType() ) ) return false;
			
			SystemRoleEntity castObj = (SystemRoleEntity)obj;
			
			return ( castObj != null ) && ( this._roleID == castObj.RoleID );
		}
예제 #6
0
 /// <summary>
 /// 默认构造函数
 /// </summary>
 public SystemPrivilegeParameterEntity()
 {
     _privilegeParameterID = 0;
     _roleID            = null;
     _privilegeID       = null;
     _bizParameter      = String.Empty;
     _createBy          = null;
     _createAt          = null;
     _lastModifyBy      = null;
     _lastModifyAt      = null;
     _lastModifyComment = null;
 }
예제 #7
0
 /// <summary>
 /// 全构造函数
 /// </summary>
 public SystemPrivilegeParameterEntity(int privilegeParameterID, SystemRoleEntity roleID, SystemPrivilegeEntity privilegeID, string bizParameter, int?createBy, DateTime?createAt, int?lastModifyBy, DateTime?lastModifyAt, string lastModifyComment)
 {
     _privilegeParameterID = privilegeParameterID;
     _roleID            = roleID;
     _privilegeID       = privilegeID;
     _bizParameter      = bizParameter;
     _createBy          = createBy;
     _createAt          = createAt;
     _lastModifyBy      = lastModifyBy;
     _lastModifyAt      = lastModifyAt;
     _lastModifyComment = lastModifyComment;
 }
예제 #8
0
 /// <summary>
 /// 全构造函数
 /// </summary>
 public SystemPrivilegeInRolesEntity(int privilegeRoleID, SystemRoleEntity roleID, SystemPrivilegeEntity privilegeID, string privilegeRoleValue, string enableType, DateTime createTime, DateTime updateTime, DateTime expiryTime, bool enableParameter)
 {
     _privilegeRoleID    = privilegeRoleID;
     _roleID             = roleID;
     _privilegeID        = privilegeID;
     _privilegeRoleValue = privilegeRoleValue;
     _enableType         = enableType;
     _createTime         = createTime;
     _updateTime         = updateTime;
     _expiryTime         = expiryTime;
     _enableParameter    = enableParameter;
 }
예제 #9
0
 /// <summary>
 /// 默认构造函数
 /// </summary>
 public SystemPrivilegeInRolesEntity()
 {
     _privilegeRoleID    = 0;
     _roleID             = null;
     _privilegeID        = null;
     _privilegeRoleValue = String.Empty;
     _enableType         = String.Empty;
     _createTime         = DateTime.MinValue;
     _updateTime         = DateTime.MinValue;
     _expiryTime         = DateTime.MinValue;
     _enableParameter    = false;
 }
예제 #10
0
 /// <summary>
 /// 全构造函数
 /// </summary>
 public SystemRoleMenuRelationEntity(int menuRoleID, SystemMenuEntity menuID, SystemRoleEntity roleID)
 {
     _menuRoleID = menuRoleID;
     _menuID     = menuID;
     _roleID     = roleID;
 }
예제 #11
0
 /// <summary>
 /// 默认构造函数
 /// </summary>
 public SystemRoleMenuRelationEntity()
 {
     _menuRoleID = 0;
     _menuID     = null;
     _roleID     = null;
 }
예제 #12
0
 /// <summary>
 /// 全构造函数
 /// </summary>
 public SystemUserGroupRoleRelationEntity(int userGroupRoleID, SystemRoleEntity roleID, SystemUserGroupEntity userGroupID)
 {
     _userGroupRoleID = userGroupRoleID;
     _roleID          = roleID;
     _userGroupID     = userGroupID;
 }
예제 #13
0
 /// <summary>
 /// 默认构造函数
 /// </summary>
 public SystemUserGroupRoleRelationEntity()
 {
     _userGroupRoleID = 0;
     _roleID          = null;
     _userGroupID     = null;
 }
 /// <summary>
 /// 全构造函数
 /// </summary>
 public SystemUserRoleRelationEntity(int userRoleID, SystemUserEntity userID, SystemRoleEntity roleID)
 {
     _userRoleID = userRoleID;
     _userID     = userID;
     _roleID     = roleID;
 }
예제 #15
0
 /// <summary>
 /// 全构造函数
 /// </summary>
 public SystemRoleApplicationEntity(int systemRoleApplicationID, SystemRoleEntity roleID, SystemApplicationEntity applicationID)
 {
     _systemRoleApplicationID = systemRoleApplicationID;
     _roleID        = roleID;
     _applicationID = applicationID;
 }
예제 #16
0
 /// <summary>
 /// 默认构造函数
 /// </summary>
 public SystemRoleApplicationEntity()
 {
     _systemRoleApplicationID = 0;
     _roleID        = null;
     _applicationID = null;
 }