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

com.eurodyn.qlack.fuse.aaa.mappers.UserMapper Maven / Gradle / Ivy

There is a newer version: 3.6.7
Show newest version
package com.eurodyn.qlack.fuse.aaa.mappers;

import com.eurodyn.qlack.fuse.aaa.dto.UserDTO;
import com.eurodyn.qlack.fuse.aaa.model.User;
import org.mapstruct.Mapper;
import org.mapstruct.Mapping;
import org.mapstruct.MappingTarget;
import org.mapstruct.ReportingPolicy;

@Mapper(componentModel = "spring", unmappedTargetPolicy = ReportingPolicy.IGNORE,
uses = UserAttributeMapper.class)
public interface UserMapper extends AAAMapper {

  @Mapping(target = "userAttributes", ignore = true)
  @Mapping(target = "password", ignore = true)
  void mapToExistingEntity(UserDTO dto,@MappingTarget User user);
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy