All Downloads are FREE. Search and download functionalities are using the official Maven repository.

org.openea.eap.module.system.convert.user.UserConvertImpl Maven / Gradle / Ivy

Go to download

system 模块下,我们放通用业务,支撑上层的核心业务。 例如说:用户、部门、权限、数据字典等等

The newest version!
package org.openea.eap.module.system.convert.user;

import javax.annotation.Generated;
import org.openea.eap.module.system.controller.admin.user.vo.user.ExtUserListVo;
import org.openea.eap.module.system.dal.dataobject.user.AdminUserDO;

@Generated(
    value = "org.mapstruct.ap.MappingProcessor",
    date = "2024-12-06T18:10:28+0800",
    comments = "version: 1.5.5.Final, compiler: javac, environment: Java 11.0.25 (Azul Systems, Inc.)"
)
public class UserConvertImpl implements UserConvert {

    @Override
    public ExtUserListVo convertIm(AdminUserDO bean) {
        if ( bean == null ) {
            return null;
        }

        ExtUserListVo extUserListVo = new ExtUserListVo();

        extUserListVo.setAccount( bean.getUsername() );
        extUserListVo.setRealName( bean.getNickname() );
        extUserListVo.setHeadIcon( bean.getAvatar() );
        extUserListVo.setId( bean.getId() );

        return extUserListVo;
    }
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy