示例#1
0
        internal static SystemDepartmentPostRoleRelationWrapper ConvertEntityToWrapper(SystemDepartmentPostRoleRelationEntity entity)
        {
            if (entity == null)
            {
                return(null);
            }

            if (entity.Id == 0)
            {
                return(null);
            }

            return(new SystemDepartmentPostRoleRelationWrapper(entity));
        }
示例#2
0
 internal SystemDepartmentPostRoleRelationWrapper(SystemDepartmentPostRoleRelationEntity entityObj)
     : base(entityObj)
 {
 }