package com.eactive.eai.rms.onl.audit.adapter.map;

import org.mapstruct.Mapper;
import org.mapstruct.Mapping;

import com.eactive.eai.data.entity.onl.adapter.Adapter;
import com.eactive.eai.data.mapper.BaseMapperConfig;
import com.eactive.eai.rms.onl.audit.adapter.ui.AdapterAuditUI;

@Mapper(config = BaseMapperConfig.class)
public interface AdapterAuditUIMapperWithoutChild {

	@Mapping(source = "id.adptrbzwkgroupname", target = "adptrbzwkgroupname")
	@Mapping(source = "id.adptrbzwkname", target = "adptrbzwkname")
	@Mapping(source = "adapterPropGroup", target = "adapterPropGroup", ignore = true)
	public abstract AdapterAuditUI toVo(Adapter entity);

}
