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

com.eurodyn.qlack.fuse.aaa.mapper.UserGroupHasOperationMapper Maven / Gradle / Ivy

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

import com.eurodyn.qlack.fuse.aaa.dto.UserGroupHasOperationDTO;
import com.eurodyn.qlack.fuse.aaa.model.UserGroupHasOperation;
import org.mapstruct.Mapper;
import org.mapstruct.Mapping;
import org.mapstruct.ReportingPolicy;

/**
 * A Mapper for UserHasOperation. It is used to map the object values.
 *
 * @author European Dynamics SA
 */
@Mapper(componentModel = "spring", unmappedTargetPolicy = ReportingPolicy.IGNORE,
  uses = {
    UserGroupMapper.class,
    OperationMapper.class,
    ResourceMapper.class
  })
public interface UserGroupHasOperationMapper extends
  AAAMapper {

  /**
   * Maps a specified Entity to according DTO
   *
   * @param userGroupHasOperation the userGroupHasOperation object
   * @return the relative DTO
   */
  @Mapping(source = "userGroup", target = "userGroupDTO")
  @Mapping(source = "operation", target = "operationDTO")
  UserGroupHasOperationDTO mapToDTO(
    UserGroupHasOperation userGroupHasOperation);
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy